diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-11-04 17:01:36 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1998-11-04 17:01:36 +0000 |
commit | 923bf36b45e5b08000adebe5dca135acf8287844 (patch) | |
tree | 76c39f66489c6da92c3fa56e2fc1ffe147c6ce3a /sys/arch/hppa | |
parent | c589bac06a2506c8ab5f878d7605d2b22bbbc8dc (diff) |
call it siop to be consistant w/ the other ports
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r-- | sys/arch/hppa/gsc/siop_gsc.c (renamed from sys/arch/hppa/gsc/ncr53c7xx_gsc.c) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/hppa/gsc/ncr53c7xx_gsc.c b/sys/arch/hppa/gsc/siop_gsc.c index 209541dfbb6..d2843111938 100644 --- a/sys/arch/hppa/gsc/ncr53c7xx_gsc.c +++ b/sys/arch/hppa/gsc/siop_gsc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c7xx_gsc.c,v 1.1 1998/10/01 05:07:32 mickey Exp $ */ +/* $OpenBSD: siop_gsc.c,v 1.1 1998/11/04 17:01:35 mickey Exp $ */ /* * Copyright (c) 1998 Michael Shalayeff @@ -80,6 +80,7 @@ ncr53c7xx_gsc_probe(parent, match, aux) void *match, *aux; { register struct confargs *ca = aux; + register bus_space_tag_t iot; bus_space_handle_t ioh; int rv = 1; @@ -90,6 +91,7 @@ ncr53c7xx_gsc_probe(parent, match, aux) ca->ca_type.iodc_sv_model != HPPA_ADMA_FWSCSI) return 0; + iot = HPPA_BUS_TAG_SET_BYTE(ca->ca_iot); if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) return 0; ioh |= IOMOD_DEVOFFSET; @@ -109,7 +111,7 @@ ncr53c7xx_gsc_attach(parent, self, aux) register struct ncr53c7xx_softc *sc = (void *)self; register struct confargs *ca = aux; - sc->sc_iot = ca->ca_iot; + sc->sc_iot = HPPA_BUS_TAG_SET_BYTE(ca->ca_iot); if (bus_space_map(sc->sc_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &sc->sc_ioh)) panic("ncr53c7xx_gsc_attach: couldn't map I/O ports"); |