diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/sgiwd93.c | 6 | ||||
-rw-r--r-- | drivers/scsi/wd33c93.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/sgiwd93.c b/drivers/scsi/sgiwd93.c index a1ab378cd..5a475aa9a 100644 --- a/drivers/scsi/sgiwd93.c +++ b/drivers/scsi/sgiwd93.c @@ -234,7 +234,7 @@ static void dma_stop(struct Scsi_Host *instance, Scsi_Cmnd *SCpnt, #endif } -void sgiwd93_reset(uchar *base) +void sgiwd93_reset(unsigned long base) { struct hpc3_scsiregs *hregs = (struct hpc3_scsiregs *) base; @@ -275,7 +275,7 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows) SGIblows->proc_name = "SGIWD93"; sgiwd93_host = scsi_register(SGIblows, sizeof(struct WD33C93_hostdata)); - sgiwd93_host->base = (unsigned char *) hregs; + sgiwd93_host->base = (unsigned long) hregs; sgiwd93_host->irq = SGI_WD93_0_IRQ; buf = (uchar *) get_free_page(GFP_KERNEL); @@ -294,7 +294,7 @@ int __init sgiwd93_detect(Scsi_Host_Template *SGIblows) /* set up second controller on the Indigo2 */ if(!sgi_guiness) { sgiwd93_host1 = scsi_register(SGIblows, sizeof(struct WD33C93_hostdata)); - sgiwd93_host1->base = (unsigned char *) hregs1; + sgiwd93_host1->base = (unsigned long) hregs1; sgiwd93_host1->irq = SGI_WD93_1_IRQ; buf = (uchar *) get_free_page(GFP_KERNEL); diff --git a/drivers/scsi/wd33c93.c b/drivers/scsi/wd33c93.c index 4f351e7aa..9d6d45e03 100644 --- a/drivers/scsi/wd33c93.c +++ b/drivers/scsi/wd33c93.c @@ -1367,7 +1367,7 @@ uchar sr; #ifdef CONFIG_SGI_IP22 { int busycount = 0; -extern void sgiwd93_reset(uchar*); +extern void sgiwd93_reset(unsigned long); /* wait 'til the chip gets some time for us */ while (READ_AUX_STAT() & ASR_BSY && busycount++ < 100) |