aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/dino.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 45a1a494c1cc..216d1d859326 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -83,7 +83,8 @@
83** bus number for each dino. 83** bus number for each dino.
84*/ 84*/
85 85
86#define is_card_dino(id) ((id)->hw_type == HPHW_A_DMA) 86#define is_card_dino(id) ((id)->hw_type == HPHW_A_DMA)
87#define is_cujo(id) ((id)->hversion == 0x682)
87 88
88#define DINO_IAR0 0x004 89#define DINO_IAR0 0x004
89#define DINO_IODC_ADDR 0x008 90#define DINO_IODC_ADDR 0x008
@@ -682,7 +683,6 @@ dino_fixup_bus(struct pci_bus *bus)
682 printk(KERN_WARNING "Device %s has unassigned IRQ\n", pci_name(dev)); 683 printk(KERN_WARNING "Device %s has unassigned IRQ\n", pci_name(dev));
683#endif 684#endif
684 } else { 685 } else {
685
686 /* Adjust INT_LINE for that busses region */ 686 /* Adjust INT_LINE for that busses region */
687 dino_assign_irq(dino_dev, dev->irq, &dev->irq); 687 dino_assign_irq(dino_dev, dev->irq, &dev->irq);
688 } 688 }
@@ -888,7 +888,7 @@ static int __init dino_common_init(struct parisc_device *dev,
888 888
889 /* allocate I/O Port resource region */ 889 /* allocate I/O Port resource region */
890 res = &dino_dev->hba.io_space; 890 res = &dino_dev->hba.io_space;
891 if (dev->id.hversion == 0x680 || is_card_dino(&dev->id)) { 891 if (!is_cujo(&dev->id)) {
892 res->name = "Dino I/O Port"; 892 res->name = "Dino I/O Port";
893 } else { 893 } else {
894 res->name = "Cujo I/O Port"; 894 res->name = "Cujo I/O Port";
@@ -943,7 +943,7 @@ static int __init dino_probe(struct parisc_device *dev)
943 if (is_card_dino(&dev->id)) { 943 if (is_card_dino(&dev->id)) {
944 version = "3.x (card mode)"; 944 version = "3.x (card mode)";
945 } else { 945 } else {
946 if(dev->id.hversion == 0x680) { 946 if (!is_cujo(&dev->id)) {
947 if (dev->id.hversion_rev < 4) { 947 if (dev->id.hversion_rev < 4) {
948 version = dino_vers[dev->id.hversion_rev]; 948 version = dino_vers[dev->id.hversion_rev];
949 } 949 }