opnsense-src/sys/dev/pccbb
Warner Losh 1b146a73ee After some intial testing, there are even slower cards than the ones
that I have.  Wait up to 1.1s for the card to become ready.  Document
what the standards say, and use that to justify the behavior in the
code: PCI standard says that a card must respond to configuration
cycles within 2^25 cycles after reset goes high, which is
approximately 1s.  Therefore, give cards a little break and wait for
up to 1.1s for VENDOR to become valid.  Only look at the vendor part
of the ID, since only it can't be 0xffff (although in practice
vendor/device will always be != 0xfffffffff).  Include detailed
pointers to standards so epople understand why we're doing what we're
doing and why it just might be OK.  Make it clear in the timeout
message that it is just a warning, sinc we try to soldier on as best
we can anyway.

This should eliminate an error message that r181453 produced on
certain Atheros cards.
2008-08-09 07:41:18 +00:00
..
pccbb.c After some intial testing, there are even slower cards than the ones 2008-08-09 07:41:18 +00:00
pccbb_isa.c We don't have a ISA specific shutdown routine at this time, so remove 2006-06-03 21:10:50 +00:00
pccbb_pci.c Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
pccbbdevid.h Mollify the whitespace police 2005-11-08 15:42:12 +00:00
pccbbreg.h Batch of changes: 2006-08-12 09:06:55 +00:00
pccbbvar.h Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00