]> err.no Git - linux-2.6/blobdiff - drivers/net/dl2k.h
virtio: fix net driver loop case where we fail to restart
[linux-2.6] / drivers / net / dl2k.h
index 53449207e53b167f17c36567bd8de48ea03f580c..5b801775f42dea3806b814a3424ae9880015a8a7 100644 (file)
@@ -1,5 +1,5 @@
 /*  D-Link DL2000-based Gigabit Ethernet Adapter Linux driver */
-/*  
+/*
     Copyright (c) 2001, 2002 by D-Link Corporation
     Written by Edward Peng.<edward_peng@dlink.com.tw>
     Created 03-May-2001, base on Linux' sundance.c.
@@ -216,7 +216,7 @@ enum MACCtrl_bits {
 enum ASICCtrl_LoWord_bits {
        PhyMedia = 0x0080,
 };
-       
+
 enum ASICCtrl_HiWord_bits {
        GlobalReset = 0x0001,
        RxReset = 0x0002,
@@ -596,7 +596,7 @@ typedef union t_PCS_ANLPAR {
 } ANLPAR_PCS_t, *PANLPAR_PCS_t;
 
 enum _pcs_anlpar {
-       PCS_ANLPAR_NEXT_PAGE = PCS_ANAR_NEXT_PAGE, 
+       PCS_ANLPAR_NEXT_PAGE = PCS_ANAR_NEXT_PAGE,
        PCS_ANLPAR_REMOTE_FAULT = PCS_ANAR_REMOTE_FAULT,
        PCS_ANLPAR_ASYMMETRIC = PCS_ANAR_ASYMMETRIC,
        PCS_ANLPAR_PAUSE = PCS_ANAR_PAUSE,
@@ -668,7 +668,6 @@ struct netdev_private {
        unsigned int rx_flow:1;         /* Rx flow control enable */
        unsigned int phy_media:1;       /* 1: fiber, 0: copper */
        unsigned int link_status:1;     /* Current link status */
-       unsigned char pci_rev_id;       /* PCI revision ID */
        struct netdev_desc *last_tx;    /* Last Tx descriptor used. */
        unsigned long cur_rx, old_rx;   /* Producer/consumer ring indices */
        unsigned long cur_tx, old_tx;
@@ -693,6 +692,7 @@ struct netdev_private {
 
 static const struct pci_device_id rio_pci_tbl[] = {
        {0x1186, 0x4000, PCI_ANY_ID, PCI_ANY_ID, },
+       {0x13f0, 0x1021, PCI_ANY_ID, PCI_ANY_ID, },
        { }
 };
 MODULE_DEVICE_TABLE (pci, rio_pci_tbl);