Deleted Added
full compact
si_vme.c (1.5) si_vme.c (1.6)
1/* $NetBSD: si_vme.c,v 1.5 1996/10/30 00:24:40 gwr Exp $ */
1/* $NetBSD: si_vme.c,v 1.6 1996/10/30 00:31:40 gwr Exp $ */
2
3/*
4 * Copyright (c) 1995 David Jones, Gordon W. Ross
5 * Copyright (c) 1994 Adam Glass
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 174 unchanged lines hidden (view full) ---

184 void *args;
185{
186 struct si_softc *sc = (struct si_softc *) self;
187 struct ncr5380_softc *ncr_sc = &sc->ncr_sc;
188 struct cfdata *cf = self->dv_cfdata;
189 struct confargs *ca = args;
190
191 /* Get options from config flags... */
2
3/*
4 * Copyright (c) 1995 David Jones, Gordon W. Ross
5 * Copyright (c) 1994 Adam Glass
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

--- 174 unchanged lines hidden (view full) ---

184 void *args;
185{
186 struct si_softc *sc = (struct si_softc *) self;
187 struct ncr5380_softc *ncr_sc = &sc->ncr_sc;
188 struct cfdata *cf = self->dv_cfdata;
189 struct confargs *ca = args;
190
191 /* Get options from config flags... */
192 sc->sc_options = si_vme_options;
192 sc->sc_options = cf->cf_flags | si_vme_options;
193 printf(": options=%d\n", sc->sc_options);
194
195 sc->sc_adapter_type = ca->ca_bustype;
196 sc->sc_regs = (struct si_regs *)
197 bus_mapin(ca->ca_bustype, ca->ca_paddr,
198 sizeof(struct si_regs));
199 sc->sc_adapter_iv_am =
200 VME_SUPV_DATA_24 | (ca->ca_intvec & 0xFF);

--- 331 unchanged lines hidden ---
193 printf(": options=%d\n", sc->sc_options);
194
195 sc->sc_adapter_type = ca->ca_bustype;
196 sc->sc_regs = (struct si_regs *)
197 bus_mapin(ca->ca_bustype, ca->ca_paddr,
198 sizeof(struct si_regs));
199 sc->sc_adapter_iv_am =
200 VME_SUPV_DATA_24 | (ca->ca_intvec & 0xFF);

--- 331 unchanged lines hidden ---