nspvar.h (139749) | nspvar.h (240172) |
---|---|
1/* $FreeBSD: head/sys/dev/nsp/nspvar.h 139749 2005-01-06 01:43:34Z imp $ */ | 1/* $FreeBSD: head/sys/dev/nsp/nspvar.h 240172 2012-09-06 18:53:33Z jhb $ */ |
2/* $NecBSD: nspvar.h,v 1.7.14.5 2001/06/29 06:27:54 honda Exp $ */ 3/* $NetBSD$ */ 4 5/*- 6 * [NetBSD for NEC PC-98 series] 7 * Copyright (c) 1998, 1999, 2000, 2001 8 * NetBSD/pc98 porting staff. All rights reserved. 9 * --- 28 unchanged lines hidden (view full) --- 38#define _NSPVAR_H_ 39 40/***************************************************************** 41 * Host adapter structure 42 *****************************************************************/ 43struct nsp_softc { 44 struct scsi_low_softc sc_sclow; /* generic data */ 45 | 2/* $NecBSD: nspvar.h,v 1.7.14.5 2001/06/29 06:27:54 honda Exp $ */ 3/* $NetBSD$ */ 4 5/*- 6 * [NetBSD for NEC PC-98 series] 7 * Copyright (c) 1998, 1999, 2000, 2001 8 * NetBSD/pc98 porting staff. All rights reserved. 9 * --- 28 unchanged lines hidden (view full) --- 38#define _NSPVAR_H_ 39 40/***************************************************************** 41 * Host adapter structure 42 *****************************************************************/ 43struct nsp_softc { 44 struct scsi_low_softc sc_sclow; /* generic data */ 45 |
46#ifdef __NetBSD__ | |
47 bus_space_tag_t sc_iot; 48 bus_space_handle_t sc_ioh; 49 bus_space_tag_t sc_memt; 50 bus_space_handle_t sc_memh; 51 | 46 bus_space_tag_t sc_iot; 47 bus_space_handle_t sc_ioh; 48 bus_space_tag_t sc_memt; 49 bus_space_handle_t sc_memh; 50 |
52 void *sc_ih; 53#endif /* __NetBSD__ */ 54 55#ifdef __FreeBSD__ 56 bus_space_tag_t sc_iot; 57 bus_space_handle_t sc_ioh; 58 bus_space_tag_t sc_memt; 59 bus_space_handle_t sc_memh; 60 | |
61 int port_rid; 62 int irq_rid; 63 int mem_rid; 64 struct resource *port_res; 65 struct resource *irq_res; 66 struct resource *mem_res; 67 68 void *nsp_intrhand; | 51 int port_rid; 52 int irq_rid; 53 int mem_rid; 54 struct resource *port_res; 55 struct resource *irq_res; 56 struct resource *mem_res; 57 58 void *nsp_intrhand; |
69#endif /* __FreeBSD__ */ | |
70 71 int sc_tmaxcnt; /* timeout count */ 72 int sc_seltout; /* selection timeout counter */ 73 int sc_timer; /* timer start */ 74 75 int sc_suspendio; /* SMIT: data suspendio bytes */ 76 u_int8_t sc_xfermr; /* SMIT: fifo control reg */ 77 int sc_dataout_timeout; /* data out timeout counter */ --- 36 unchanged lines hidden --- | 59 60 int sc_tmaxcnt; /* timeout count */ 61 int sc_seltout; /* selection timeout counter */ 62 int sc_timer; /* timer start */ 63 64 int sc_suspendio; /* SMIT: data suspendio bytes */ 65 u_int8_t sc_xfermr; /* SMIT: fifo control reg */ 66 int sc_dataout_timeout; /* data out timeout counter */ --- 36 unchanged lines hidden --- |