diff options
author | marius <marius@FreeBSD.org> | 2006-11-07 19:44:41 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2006-11-07 19:44:41 +0000 |
commit | ad2fcce00ec5b81c277a2a28549fe3bc4f0a199f (patch) | |
tree | 403e9a99362d570392d8455f3cfcd4d2ef3e2435 /sys/pci/if_pcnreg.h | |
parent | 1e65ce591f8a8716142afedc78ae40258a205529 (diff) | |
download | FreeBSD-src-ad2fcce00ec5b81c277a2a28549fe3bc4f0a199f.zip FreeBSD-src-ad2fcce00ec5b81c277a2a28549fe3bc4f0a199f.tar.gz |
- Don't bother to include IDs of PCnet chips which are not supported
by this driver and largely are not even PCI devices in pcn_chipid.
- Use device_printf(9)/if_printf(9) rather than implementing their
functionality with printf(9).
- Sprinkle some const.
Diffstat (limited to 'sys/pci/if_pcnreg.h')
-rw-r--r-- | sys/pci/if_pcnreg.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/pci/if_pcnreg.h b/sys/pci/if_pcnreg.h index 0b27b18..da7e567 100644 --- a/sys/pci/if_pcnreg.h +++ b/sys/pci/if_pcnreg.h @@ -218,12 +218,6 @@ /* CSR88-89: Chip ID masks */ #define AMD_MASK 0x003 #define PART_MASK 0xffff -#define Am79C960 0x0003 -#define Am79C961 0x2260 -#define Am79C961A 0x2261 -#define Am79C965 0x2430 -#define Am79C970 0x0242 -#define Am79C970A 0x2621 #define Am79C971 0x2623 #define Am79C972 0x2624 #define Am79C973 0x2625 @@ -447,7 +441,7 @@ struct pcn_ring_data { struct pcn_type { u_int16_t pcn_vid; u_int16_t pcn_did; - char *pcn_name; + const char *pcn_name; }; struct pcn_softc { @@ -458,7 +452,6 @@ struct pcn_softc { struct resource *pcn_irq; void *pcn_intrhand; device_t pcn_miibus; - u_int8_t pcn_unit; u_int8_t pcn_link; u_int8_t pcn_phyaddr; int pcn_if_flags; |