[Soekris] net4801 and linux

Michael Schulze fry26 at genion.de
Fri Aug 1 16:59:39 UTC 2003

> When enumerating pci bus, you must read the header at offset 0x0e,
> which contains the header type.  If you don't know what it is, skip
> it.  In FreeBSD, we only grok 0, 1 and 2 header types, so we ignore
> all devices that don't have these types.
> Accorrding to the standards docs that I've been pointed at, the header
> byte is the only byte that's guarnateed to be readable.  Not even the
> vendor word is guaranteed, or so some people read the standard.

That seems to work - thanks a lot.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: sc1100_pcifix.patch
Type: text/x-diff
Size: 518 bytes
Desc: not available
Url : http://lists.soekris.com/pipermail/soekris-tech/attachments/20030801/c5234511/sc1100_pcifix.bin

More information about the Soekris-tech mailing list