Hi, As you can see in the bug report, currently the ata driver lacks support for changing the APM configuration of its attached devices. This is problem for many laptop harddisks, making them park its heads everytime they come idle.
I've made a quick hack for my laptop implemeting this ioctl in ata_disk.c: case DCMD_APM_DISABLE: rc = ata_set_feature(ata_ctlp, ata_drvp, 0x85, 0); break; This makes me able to disable the APM at my desire, just as you can do in linux with "hdparm -B 255". I'd like to implement a complete APM interface for this the ata driver, but first I think that I need your aproval and some guidelines about the clean/proper/aproved way to implement a new ioctl and add some defines to ata_*.h Thanks! _______________________________________________ opensolaris-code mailing list opensolaris-code@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/opensolaris-code