dino.c (bdad1f836ab1ca2b18a625222f63f630cfd14e41) | dino.c (53f01bba49938f115237fe43a261c31ac13ae5c6) |
---|---|
1/* 2** DINO manager 3** 4** (c) Copyright 1999 Red Hat Software 5** (c) Copyright 1999 SuSE GmbH 6** (c) Copyright 1999,2000 Hewlett-Packard Company 7** (c) Copyright 2000 Grant Grundler 8** --- 888 unchanged lines hidden (view full) --- 897 898void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp); 899 900/* 901** Determine if dino should claim this chip (return 0) or not (return 1). 902** If so, initialize the chip appropriately (card-mode vs bridge mode). 903** Much of the initialization is common though. 904*/ | 1/* 2** DINO manager 3** 4** (c) Copyright 1999 Red Hat Software 5** (c) Copyright 1999 SuSE GmbH 6** (c) Copyright 1999,2000 Hewlett-Packard Company 7** (c) Copyright 2000 Grant Grundler 8** --- 888 unchanged lines hidden (view full) --- 897 898void ccio_cujo20_fixup(struct parisc_device *dev, u32 iovp); 899 900/* 901** Determine if dino should claim this chip (return 0) or not (return 1). 902** If so, initialize the chip appropriately (card-mode vs bridge mode). 903** Much of the initialization is common though. 904*/ |
905static int __init 906dino_driver_callback(struct parisc_device *dev) | 905static int __init dino_probe(struct parisc_device *dev) |
907{ 908 struct dino_device *dino_dev; // Dino specific control struct 909 const char *version = "unknown"; 910 char *name; 911 int is_cujo = 0; 912 struct pci_bus *bus; | 906{ 907 struct dino_device *dino_dev; // Dino specific control struct 908 const char *version = "unknown"; 909 char *name; 910 int is_cujo = 0; 911 struct pci_bus *bus; |
913 | 912 unsigned long hpa = dev->hpa.start; 913 |
914 name = "Dino"; 915 if (is_card_dino(&dev->id)) { 916 version = "3.x (card mode)"; 917 } else { 918 if(dev->id.hversion == 0x680) { 919 if (dev->id.hversion_rev < 4) { 920 version = dino_vers[dev->id.hversion_rev]; 921 } --- 124 unchanged lines hidden --- | 914 name = "Dino"; 915 if (is_card_dino(&dev->id)) { 916 version = "3.x (card mode)"; 917 } else { 918 if(dev->id.hversion == 0x680) { 919 if (dev->id.hversion_rev < 4) { 920 version = dino_vers[dev->id.hversion_rev]; 921 } --- 124 unchanged lines hidden --- |