linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / net / hamachi.c
index 409c6aa..bc9a3bf 100644 (file)
 
        Support and updates available at
        http://www.scyld.com/network/hamachi.html
-       [link no longer provides useful info -jgarzik]
        or
        http://www.parl.clemson.edu/~keithu/hamachi.html
 
+
+
+       Linux kernel changelog:
+
+       LK1.0.1:
+       - fix lack of pci_dev<->dev association
+       - ethtool support (jgarzik)
+
 */
 
 #define DRV_NAME       "hamachi"
-#define DRV_VERSION    "2.0"
-#define DRV_RELDATE    "June 27, 2006"
+#define DRV_VERSION    "1.01+LK1.0.1"
+#define DRV_RELDATE    "5/18/2001"
 
 
 /* A few user-configurable values. */
@@ -420,7 +427,7 @@ that case.
 static void hamachi_timer(unsigned long data);
 
 enum capability_flags {CanHaveMII=1, };
-static const struct chip_info {
+static struct chip_info {
        u16     vendor_id, device_id, device_id_mask, pad;
        const char *name;
        void (*media_timer)(unsigned long data);
@@ -601,8 +608,7 @@ static int __devinit hamachi_init_one (struct pci_dev *pdev,
        pci_set_master(pdev);
 
        i = pci_request_regions(pdev, DRV_NAME);
-       if (i)
-               return i;
+       if (i) return i;
 
        irq = pdev->irq;
        ioaddr = ioremap(base, 0x400);
@@ -865,7 +871,7 @@ static int hamachi_open(struct net_device *dev)
        u32 rx_int_var, tx_int_var;
        u16 fifo_info;
 
-       i = request_irq(dev->irq, &hamachi_interrupt, IRQF_SHARED, dev->name, dev);
+       i = request_irq(dev->irq, &hamachi_interrupt, SA_SHIRQ, dev->name, dev);
        if (i)
                return i;