cvs commit: src/sys/dev/pci pci.c

Scott Long scottl at freebsd.org
Fri May 21 00:26:17 PDT 2004


Warner Losh wrote:
> imp         2004/05/20 23:36:36 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/dev/pci          pci.c 
>   Log:
>   MFp4: o save/restore subvendor, subdevice, vendor, device, baseclass,
>           subclass, progif and revid.  While these are typically read
>           only fields, they aren't always read-only.  progif is writable
>           for ata devices, for example.  It does no harm when they are
>           read only, and helps when they aren't.
>   
>   Revision  Changes    Path
>   1.252     +16 -0     src/sys/dev/pci/pci.c

Shouldn't it be left up to the device drivers to decide if a buggy piece
of silicon needs to be touched like this?  I really don't like the bus
unilaterally enforcing this on everything.

Scott


More information about the cvs-all mailing list