Deleted Added
sdiff udiff text old ( 47374 ) new ( 47529 )
full compact
1/**************************************************************************
2**
3** $Id: ncr.c,v 1.146 1999/05/09 22:44:42 se Exp $
4**
5** Device driver for the NCR 53C8XX PCI-SCSI-Controller Family.
6**
7**-------------------------------------------------------------------------
8**
9** Written for 386bsd and FreeBSD by
10** Wolfgang Stanglmeier <wolf@cologne.de>
11** Stefan Esser <se@mi.Uni-Koeln.de>

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

270** Access to the controller chip.
271**
272**==========================================================
273*/
274
275#ifdef __alpha__
276/* XXX */
277#undef vtophys
278#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \
279 + 1*1024*1024*1024)
280#endif
281
282#ifdef NCR_IOMAPPED
283
284#define INB(r) inb (np->port + offsetof(struct ncr_reg, r))
285#define INW(r) inw (np->port + offsetof(struct ncr_reg, r))
286#define INL(r) inl (np->port + offsetof(struct ncr_reg, r))
287

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

1356**
1357**
1358**==========================================================
1359*/
1360
1361
1362#if !defined(lint)
1363static const char ident[] =
1364 "\n$Id: ncr.c,v 1.146 1999/05/09 22:44:42 se Exp $\n";
1365#endif
1366
1367static const u_long ncr_version = NCR_VERSION * 11
1368 + (u_long) sizeof (struct ncb) * 7
1369 + (u_long) sizeof (struct nccb) * 5
1370 + (u_long) sizeof (struct lcb) * 3
1371 + (u_long) sizeof (struct tcb) * 2;
1372

--- 5834 unchanged lines hidden ---