M. Warner Losh imp at bsdimp.com
Tue Apr 13 22:23:24 PDT 2004

OK.  I've recreated 'a' fdc problem here.  My fdc doesn't normally
attach anyway, so I'm not sure what the problem really is.  I'd not
expect a failure mode like this, but I'll look into it.

Hmmm, I wonder if it is due to the fact that we really are allocating
0x3f4 to 0x3ff non-sharable and the floppy wants to be at
0x3f0-0x3f5,0x3f7.  I'll bet that it is the problem...  The 1 port (is
likely 0x3f7) is in the ata range now allocated as is the 6 port

Yes.  now that I think about it more, the more I'm sure that's what's
going on.  The old ata code tried to allocate just one byte.  If you
are feeling brave (my brain is not engaged and I'm getting ready for
bed), you could make the allocation of the ALTADDR rid in ata
RF_SHAREABLE, as well as the resource allocation in the fdc driver...

Hmmm, I'm not sure that would even work because the pci bus is the one
doing the allocation with the rman, but it is worth a shot.


More information about the freebsd-current mailing list