Browse Source

Kill off the now-obsolete *_fill_nic() functions.

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
bea8787a03
1 changed files with 0 additions and 31 deletions
  1. 0
    31
      src/include/nic.h

+ 0
- 31
src/include/nic.h View File

269
 				       _name ## _disable );		  \
269
 				       _name ## _disable );		  \
270
 	}
270
 	}
271
 
271
 
272
-static inline void pci_fill_nic ( struct nic *nic, struct pci_device *pci ) {
273
-	nic->ioaddr = pci->ioaddr;
274
-	nic->irqno = pci->irq;
275
-}
276
-
277
-static inline void isapnp_fill_nic ( struct nic *nic,
278
-				     struct isapnp_device *isapnp ) {
279
-	nic->ioaddr = isapnp->ioaddr;
280
-	nic->irqno = isapnp->irqno;
281
-}
282
-
283
-static inline void eisa_fill_nic ( struct nic *nic,
284
-				   struct eisa_device *eisa ) {
285
-	nic->ioaddr = eisa->ioaddr;
286
-	nic->irqno = 0;
287
-}
288
-
289
-static inline void mca_fill_nic ( struct nic *nic,
290
-				  struct mca_device *mca __unused ) {
291
-	/* ioaddr and irqno must be read in a device-dependent way
292
-	 * from the POS registers
293
-	 */
294
-	nic->ioaddr = 0;
295
-	nic->irqno = 0;
296
-}
297
-
298
-static inline void isa_fill_nic ( struct nic *nic, struct isa_device *isa ) {
299
-	nic->ioaddr = isa->ioaddr;
300
-	nic->irqno = 0;
301
-}
302
-
303
 #endif	/* NIC_H */
272
 #endif	/* NIC_H */

Loading…
Cancel
Save