Deleted Added
full compact
ncr.c (47374) ncr.c (47529)
1/**************************************************************************
2**
1/**************************************************************************
2**
3** $Id: ncr.c,v 1.146 1999/05/09 22:44:42 se Exp $
3** $Id: ncr.c,v 1.147 1999/05/21 22:02:02 ken 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
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)
278#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
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[] =
279#endif
280
281#ifdef NCR_IOMAPPED
282
283#define INB(r) inb (np->port + offsetof(struct ncr_reg, r))
284#define INW(r) inw (np->port + offsetof(struct ncr_reg, r))
285#define INL(r) inl (np->port + offsetof(struct ncr_reg, r))
286

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

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

--- 5834 unchanged lines hidden ---