浏览代码

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

tags/v0.9.3
Michael Brown 17 年前
父节点
当前提交
bea8787a03
共有 1 个文件被更改,包括 0 次插入31 次删除
  1. 0
    31
      src/include/nic.h

+ 0
- 31
src/include/nic.h 查看文件

@@ -269,35 +269,4 @@ static inline void * legacy_isa_get_drvdata ( void *hwdev ) {
269 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 272
 #endif	/* NIC_H */

正在加载...
取消
保存