Re: [PROPOSED] ata: Report 16/32bit PIO as best we can

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> But.. these do look rather suspiciously like sysfs attrs to me.

I'd rather any future sysfs interface actually exposed something more
meaningful. This is a legacy fixup 8)

> 
> We didn't have a sysfs in the IDE days (so Gadi added the klunky
> procfs "settings" thing for there), but we do now.
> 
> I'm happy to update hdparm to check sysfs if that's where this
> ends up, or to do almost nothing for it if we stick with the ioctls.

I'm not sure sysfs helps much anyway - you have to open the device file
and keep it open while accessing the sysfs nodes anyway (something huge
numbers of apps hopelessly fail to do so)

If you don't you have no guarantee the pci device won't be
removed/replaced and you code will go off and adjust some other
unfortunate bit of hardware.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux