Subject: NCR driver upgrade in -current
To: None <port-alpha@NetBSD.ORG, port-i386@NetBSD.ORG, current-users@NetBSD.ORG>
From: Perry E. Metzger <>
List: port-alpha
Date: 01/10/1997 00:57:41
I have committed the latest fixes/upgrades to NCR SCSI driver from
FreeBSD (and ported to NetBSD by Dave Huang <>)

This was tested on alpha by cgd, and tested on several i386 boxes. I
stressed it hard on my machine and it still lived. This patch almost
certainly causes no overall harm to the goddamned mess, but the NCR
driver only works when you perform voodoo rituals on it anyway.

This is what Dave said (in email) has been added to the driver:

  This seems to be the most significant change:
  General cleanup and new features for 53c875 based cards, especially the
  Tekram DC390W/U/F, whose config EEPROM can now be dumped, if the kernel
  is built with option NCR_TEKRAM_EEPROM.

  Other changes:

  - add brackets to expansion of OUTB/W/L macro arguments.
  - remove unused NCB structure element ns_async
  - support sync. SCSI offset of 16 (instead of only 8) on 825A and 875
  - correctly identify 53c810A and 53c825A chips
  - preserve SCSI BIOS settings of PCI performance options
  - remove (already disabled) support for NCR reset because of command timeout
  - reverse order of reading of SCSI and DMA specific interrupt cause registers
  - add definition of Tekram config EEPROM contents (not currently used)