>>>>> "Andrew" == Andrew Morton <akpm@osdl.org> writes: Andrew> Cripes, I've forgotten how this driver works. Why the 4b->40 Andrew> here? I had to look at what NetBSD has : /* * RESET_OPTIONS (Window 3, on Demon/Vortex/Bomerang only) * also mapped to PCI configuration space on PCI adaptors. * * (same register as Vortex ELINK_W3_RESET_OPTIONS, mapped to pci-config space) */ #define ELINK_PCI_100BASE_T4 (1<<0) #define ELINK_PCI_100BASE_TX (1<<1) #define ELINK_PCI_100BASE_FX (1<<2) #define ELINK_PCI_10BASE_T (1<<3) #define ELINK_PCI_BNC (1<<4) #define ELINK_PCI_AUI (1<<5) #define ELINK_PCI_100BASE_MII (1<<6) #define ELINK_PCI_INTERNAL_VCO (1<<8) 0x40 is ELINK_PCI_100BASE_MII, thus indicating the card is MII capable. 0x4b looks like a strange MII+10BaseT+100BaseTX+100BaseT4 combinaison. Since this code is only trying MII, it makes sense to only look at the MII bit, not other media types. M. -- Places change, faces change. Life is so very strange. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html