aboutsummaryrefslogtreecommitdiff
path: root/src/include/nic.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2007-12-15 19:40:55 +0000
committerMichael Brown <mcb30@etherboot.org>2007-12-15 19:40:55 +0000
commitbea8787a03fb24ca7367595766bcde46439ba1d3 (patch)
treea48f1483d938adcfb0d8ffa0fa950002b36d8ff4 /src/include/nic.h
parent7e8624a26fbf1d29264f73326f9ffadb8ed2876a (diff)
downloadipxe-bea8787a03fb24ca7367595766bcde46439ba1d3.zip
ipxe-bea8787a03fb24ca7367595766bcde46439ba1d3.tar.gz
ipxe-bea8787a03fb24ca7367595766bcde46439ba1d3.tar.bz2
Kill off the now-obsolete *_fill_nic() functions.
Diffstat (limited to 'src/include/nic.h')
-rw-r--r--src/include/nic.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/include/nic.h b/src/include/nic.h
index 9d8efd8..65e4be7 100644
--- a/src/include/nic.h
+++ b/src/include/nic.h
@@ -269,35 +269,4 @@ static inline void * legacy_isa_get_drvdata ( void *hwdev ) {
_name ## _disable ); \
}
-static inline void pci_fill_nic ( struct nic *nic, struct pci_device *pci ) {
- nic->ioaddr = pci->ioaddr;
- nic->irqno = pci->irq;
-}
-
-static inline void isapnp_fill_nic ( struct nic *nic,
- struct isapnp_device *isapnp ) {
- nic->ioaddr = isapnp->ioaddr;
- nic->irqno = isapnp->irqno;
-}
-
-static inline void eisa_fill_nic ( struct nic *nic,
- struct eisa_device *eisa ) {
- nic->ioaddr = eisa->ioaddr;
- nic->irqno = 0;
-}
-
-static inline void mca_fill_nic ( struct nic *nic,
- struct mca_device *mca __unused ) {
- /* ioaddr and irqno must be read in a device-dependent way
- * from the POS registers
- */
- nic->ioaddr = 0;
- nic->irqno = 0;
-}
-
-static inline void isa_fill_nic ( struct nic *nic, struct isa_device *isa ) {
- nic->ioaddr = isa->ioaddr;
- nic->irqno = 0;
-}
-
#endif /* NIC_H */