Browse Source

Merge from Etherboot 5.4

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
4ee0e0f85e
1 changed files with 19 additions and 0 deletions
  1. 19
    0
      src/drivers/net/e1000.c

+ 19
- 0
src/drivers/net/e1000.c View File

@@ -3385,6 +3385,25 @@ e1000_sw_init(struct pci_device *pdev, struct e1000_hw *hw)
3385 3385
 }
3386 3386
 
3387 3387
 
3388
+/******************************************************************************
3389
+ * Functions not present in the linux driver
3390
+ ******************************************************************************/
3391
+
3392
+#if 0
3393
+static uint32_t
3394
+e1000_io_read(struct e1000_hw *hw __unused, uint32_t port)
3395
+{
3396
+        return inl(port);
3397
+}
3398
+#endif
3399
+
3400
+static void
3401
+e1000_io_write(struct e1000_hw *hw __unused, uint32_t port, uint32_t value)
3402
+{
3403
+        outl(value, port);
3404
+}
3405
+
3406
+
3388 3407
 /******************************************************************************
3389 3408
  * Functions not present in the linux driver
3390 3409
  ******************************************************************************/

Loading…
Cancel
Save