diff options
author | dg <dg@FreeBSD.org> | 2000-03-28 04:41:42 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 2000-03-28 04:41:42 +0000 |
commit | cc7dea2aa9f734b58bd9e4e4114e22237d2dc3c9 (patch) | |
tree | 87dd06c1153c88e9cb8aa69fa088a4d870a0d4b5 /sys/pci/if_fxpvar.h | |
parent | b387f628ec8cc78ce2d3808fbe1e462990932f2e (diff) | |
download | FreeBSD-src-cc7dea2aa9f734b58bd9e4e4114e22237d2dc3c9.zip FreeBSD-src-cc7dea2aa9f734b58bd9e4e4114e22237d2dc3c9.tar.gz |
Added support for cards and on-motherboard NICs that use an SEEPROM
address size that is different than the standard 6bits. This fixes
support for the Compaq NC3121 card, certain newer Intel Pro/100+
cards, and should also fix integrated NICs on SuperMicro and Compaq
motherboards.
The auto-sizing algorithm was taken from NetBSD (thanks!), which I
think got it from Linux originally.
Thanks also to Andrew Sparrow <spadger@best.com> and Joe Moore
<jomor@ahpcns.com> for supplying me with unworking Compaq and Intel
cards to develop and test the fixes with.
Diffstat (limited to 'sys/pci/if_fxpvar.h')
-rw-r--r-- | sys/pci/if_fxpvar.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_fxpvar.h b/sys/pci/if_fxpvar.h index 97c2b40..7ef7149 100644 --- a/sys/pci/if_fxpvar.h +++ b/sys/pci/if_fxpvar.h @@ -67,6 +67,7 @@ struct fxp_softc { int phy_primary_addr; /* address of primary PHY */ int phy_primary_device; /* device type of primary PHY */ int phy_10Mbps_only; /* PHY is 10Mbps-only device */ + int eeprom_size; /* size of serial EEPROM */ }; /* Macros to ease CSR access. */ |