aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aic7xxx/aic7770_osm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aic7xxx/aic7770_osm.c')
-rw-r--r--drivers/scsi/aic7xxx/aic7770_osm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aic7xxx/aic7770_osm.c b/drivers/scsi/aic7xxx/aic7770_osm.c
index 1ac119733bac..f220e5e436ab 100644
--- a/drivers/scsi/aic7xxx/aic7770_osm.c
+++ b/drivers/scsi/aic7xxx/aic7770_osm.c
@@ -50,7 +50,7 @@ aic7770_map_registers(struct ahc_softc *ahc, u_int port)
50 /* 50 /*
51 * Lock out other contenders for our i/o space. 51 * Lock out other contenders for our i/o space.
52 */ 52 */
53 if (request_region(port, AHC_EISA_IOSIZE, "aic7xxx") == 0) 53 if (!request_region(port, AHC_EISA_IOSIZE, "aic7xxx"))
54 return (ENOMEM); 54 return (ENOMEM);
55 ahc->tag = BUS_SPACE_PIO; 55 ahc->tag = BUS_SPACE_PIO;
56 ahc->bsh.ioport = port; 56 ahc->bsh.ioport = port;