cvs commit: src/sys/dev/fxp if_fxp.c
    Matthew N. Dodd 
    mdodd at FreeBSD.ORG
       
    Mon Apr 14 09:41:00 PDT 2003
    
    
  
On Mon, 14 Apr 2003, M. Warner Losh wrote:
> In message: <200304140945.h3E9jPCe005099 at repoman.freebsd.org>
>             Maxim Sobolev <sobomax at FreeBSD.org> writes:
> :   Before attaching device set PCIM_CMD_PORTEN in addition to
> :   PCIM_CMD_MEMEN and PCIM_CMD_BUSMASTEREN, becaise some braindead
> :   BIOSes (such as one found in my vprmatrix notebook) forget
> :   to initialize it properly resulting in attachment failure.
>
> Actually, code like this should be the pci bus, since all driver have
> this issue...
Likely this could be added to the bus_alloc_resource() path...  Doing a
sanity check on requests and then enabling the resource seems like the
correct solution.
-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter at jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |
    
    
More information about the cvs-all
mailing list