NetBSD/sys/dev/ic
christos a9c3ad6f5c PR/31455: Robert Elz: ex (905[BC]) cards can hang in -current kernels
- fix bus_space_read_1 -> bus_space_read_2 since revision 1.27 changed
  the bit defines to assume 2 byte reads.
- Increment oerrors in case of collisions
- Clamp success counter to 100, instead of letting rotate freely.
2005-10-04 17:37:26 +00:00
..
Makefile Replace hd44780_subr.h to hd44780var.h and install to userland. 2005-01-11 00:57:56 +00:00
README.ncr5380sbc nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aac.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
aac_tables.h Identify Intel 80303 cpu variant. 2005-02-15 04:49:31 +00:00
aacreg.h * Remove aif_get_mailboxstatus() from the aac_interface structure. Replace 2005-03-01 03:31:45 +00:00
aacvar.h - add missing const 2005-05-30 04:43:46 +00:00
ac97.c Add SigmaTel STAC9752/53 codec ID. 2005-09-27 05:24:40 +00:00
ac97reg.h Add AC'97 1.x 'Modem Line Codec support' capability bit definition. 2005-04-08 15:27:19 +00:00
ac97var.h Add ac97_attach_type(), to allow the hw driver to skip probes for audio or 2005-04-11 18:26:48 +00:00
ad1848.c ansify and KNF 2005-01-15 15:19:51 +00:00
ad1848reg.h
ad1848var.h - sprinkle const. 2005-05-29 22:10:28 +00:00
adv.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adv.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
advlib.c avoid variable shadow. 2005-05-31 00:46:05 +00:00
advlib.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
advmcode.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
advmcode.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adw.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adw.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adwlib.c - add missing const 2005-05-30 04:43:46 +00:00
adwlib.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adwmcode.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
adwmcode.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aha.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ahareg.h Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name 2005-02-21 00:29:06 +00:00
ahavar.h Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
aic7xxx.c The length member in struct scsi_request_sense is uint8_t so 2005-09-10 19:15:44 +00:00
aic7xxx_cam.h
aic7xxx_inline.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic7xxx_osm.c Replace a magic number with proper macro. 2005-09-10 17:19:55 +00:00
aic7xxx_osm.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic7xxx_seeprom.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic7xxxvar.h Remove some extern decls for PCI-specific stuff that are private to 2005-06-28 00:32:27 +00:00
aic77xx.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic77xxreg.h
aic77xxvar.h de-__P 2005-02-04 02:10:35 +00:00
aic79xx.c - add missing const 2005-05-30 04:43:46 +00:00
aic79xx_inline.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic79xx_osm.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic79xx_osm.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic79xxvar.h Remove some extern decls for PCI-specific stuff that are private to 2005-06-28 00:32:27 +00:00
aic6360.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic6360reg.h Various typo fixes from Jonathon Gray via jmc@openbsd. 2003-11-17 11:16:10 +00:00
aic6360var.h Use "struct scsipi_command" in internal command structures so that 2004-12-07 22:23:45 +00:00
aic6915.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic6915reg.h Remove the __packed__ attribute from these structures. Everything is 2005-07-07 19:02:11 +00:00
aic6915var.h
al2210reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79c930.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79c930reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79c930var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am7930.c No 0x in front of %p... 2005-05-22 15:54:45 +00:00
am7930reg.h ansify and KNF 2005-01-15 15:19:51 +00:00
am7930var.h ansify and KNF 2005-01-15 15:19:51 +00:00
am7990.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am7990reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am7990var.h Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
am9513reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79900.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79900reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
am79900var.h Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
an.c Bring an_newstate up-to-date with net80211 conventions. Now an(4) 2005-07-10 19:04:00 +00:00
anreg.h Fix two bugs: frames were bogusly discarded with the complaint 2005-01-15 11:01:46 +00:00
anvar.h Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
apcdmareg.h
ath.c The entity passed to the HAL as a HAL_BUS_HANDLE needs to be an integral 2005-09-13 05:50:29 +00:00
ath_netbsd.c Export ath_sysctl_instance for the SampleRate rate-control module 2005-07-28 02:05:20 +00:00
ath_netbsd.h Export ath_sysctl_instance for the SampleRate rate-control module 2005-07-28 02:05:20 +00:00
athioctl.h Resolve conflicts. 2005-07-26 22:52:47 +00:00
athrate-amrr.c Resolve conflicts. 2005-07-26 22:52:47 +00:00
athrate-amrr.h Import FreeBSD's ath(4) of 2005-05-18 2005-06-21 20:37:47 +00:00
athrate-onoe.c Resolve conflicts. 2005-07-26 22:52:47 +00:00
athrate-onoe.h Import FreeBSD's ath(4) of 2005-05-18 2005-06-21 20:37:47 +00:00
athrate-sample.c Fix variable shadowing, sysctl attachment, ident(1) strings, 2005-07-28 02:08:04 +00:00
athrate-sample.h Import FreeBSD's ath(4) of 2005-05-18 2005-06-21 20:37:47 +00:00
athrate.h Import FreeBSD's ath(4) of 2005-05-18 2005-06-21 20:37:47 +00:00
athvar.h Resolve conflicts. 2005-07-26 22:52:47 +00:00
atppc.c a round of autoconf cleanup: 2004-09-13 12:55:47 +00:00
atppcreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
atppcvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
attimer.c Add attimer(4) driver, with ISA and ACPI attachments. 2005-03-25 23:06:19 +00:00
attimervar.h Add attimer(4) driver, with ISA and ACPI attachments. 2005-03-25 23:06:19 +00:00
atw.c Don't write WEP keys to the chip unless it is enabled. 2005-07-07 00:12:22 +00:00
atwreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
atwvar.h Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
awi.c Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
awireg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
awivar.h Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
ax88190.c Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
ax88190reg.h support for NE2000_TYPE_AX88790 from 2003-10-22 00:12:36 +00:00
ax88190var.h
bha.c No 0x in front of %p... 2005-05-22 15:54:45 +00:00
bhareg.h Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name 2005-02-21 00:29:06 +00:00
bhavar.h Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
bt8xx.h
bt431reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bt459reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bt463.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bt463reg.h
bt463var.h de-__P 2005-02-04 02:10:35 +00:00
bt485.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bt485reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
bt485var.h de-__P 2005-02-04 02:10:35 +00:00
cac.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
cacreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cacvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cd18xx.c Change the driver open function's conditional for overriding exclusive tty 2005-09-06 21:40:37 +00:00
cd18xxreg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
cd18xxvar.h
cd1190reg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
cd1400reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
clmpcc.c Change the driver open function's conditional for overriding exclusive tty 2005-09-06 21:36:54 +00:00
clmpccreg.h
clmpccvar.h de-__P 2005-02-04 02:10:35 +00:00
com.c Change the driver open function's conditional for overriding exclusive tty 2005-09-06 21:40:37 +00:00
com_cpcbus.c
com_upc.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
comreg.h
comvar.h de-__P 2005-02-04 02:10:35 +00:00
cpc700.c s/locdesc_t/int/g 2005-08-26 12:42:11 +00:00
cpc700reg.h Add some more defines. 2003-11-07 17:03:42 +00:00
cpc700uic.h
cpc700var.h
cs89x0.c - add missing const 2005-05-30 04:43:46 +00:00
cs89x0reg.h Add some EEPROM related defines. 2004-02-04 15:43:14 +00:00
cs89x0var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cs4215reg.h driver for the audio part of SUNW,DBRI ISDN/audio controllers 2005-07-16 18:58:49 +00:00
cs4215var.h driver for the audio part of SUNW,DBRI ISDN/audio controllers 2005-07-16 18:58:49 +00:00
cs4231.c ansify and KNF 2005-01-15 15:19:51 +00:00
cs4231reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cs4231var.h Remove junk code. 2004-07-09 02:07:01 +00:00
cs4237reg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
cy.c Change the driver open function's conditional for overriding exclusive tty 2005-09-06 21:40:37 +00:00
cyreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cyvar.h
daic.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
daicreg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
daicvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dc21040reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
decmonitors.c
depca.c
depcareg.h
depcavar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dl10019.c
dl10019reg.h
dl10019var.h
dp8390.c de-__P 2005-02-04 02:10:35 +00:00
dp8390reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dp8390var.h ASIX AX88796 is an NE2000 compatible ethernet chip, but doesn't seem to 2005-02-26 10:29:20 +00:00
dp83905.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dp83905reg.h
dp83905var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dp83932.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dp83932reg.h Spell address with two d's. Inspired by similar changes in OpenBSD, 2003-11-10 08:51:51 +00:00
dp83932var.h
dpt.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dptreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
dptvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ds.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ds1286reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ds1687reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
elink3.c - add missing const 2005-05-30 04:43:46 +00:00
elink3reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
elink3var.h de-__P 2005-02-04 02:10:35 +00:00
elinkxl.c PR/31455: Robert Elz: ex (905[BC]) cards can hang in -current kernels 2005-10-04 17:37:26 +00:00
elinkxlreg.h
elinkxlvar.h If the interface is up and running, only modify the receive filter 2005-02-06 03:15:14 +00:00
esiop.c Don't assume all LUNs are probed before scsipi sets the mode, and always check 2005-03-23 21:23:15 +00:00
esiopvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
fmv.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
fmvreg.h
fmvvar.h u_intNN_t -> uintNN_t 2005-01-02 12:22:18 +00:00
gem.c Pad small packets with a static buffer at the end of the S/G list. 2005-05-16 15:56:38 +00:00
gemreg.h Adjust/add a few comments, add a few bitmask_snprintf formats, and add 2005-02-18 01:39:18 +00:00
gemvar.h Pad small packets with a static buffer at the end of the S/G list. 2005-05-16 15:56:38 +00:00
hayespreg.h
hd44780_subr.c 4-line HD44780 LCD display support. Work needed for the NetBSD toaster port. 2005-08-14 02:56:06 +00:00
hd44780reg.h Change TIMEOUT_XXX to HD_TIMEOUT_XXX 2005-01-08 20:19:08 +00:00
hd44780var.h 4-line HD44780 LCD display support. Work needed for the NetBSD toaster port. 2005-08-14 02:56:06 +00:00
hd64570.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
hd64570reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
hd64570var.h
hme.c split IFCAP_CSUM_xxx to IFCAP_CSUM_xxx_Rx and IFCAP_CSUM_xxx_Tx. 2005-05-02 15:34:31 +00:00
hmereg.h Add register definitions for hardware checksums, comments, and formats for 2005-02-13 19:12:06 +00:00
hmevar.h Handle interface IFF_DEBUG flags sooner in hme_ioctl and cache a copy of 2005-02-18 00:22:11 +00:00
hscx.c quell cast-qual and shadow warnings 2005-06-01 18:07:04 +00:00
hscx.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i8042reg.h
i8237reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i8253reg.h
i8259reg.h
i82365.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
i82365reg.h Add Cirrus register definitions, per PR 6172. 2004-07-06 14:04:51 +00:00
i82365var.h - add missing const 2005-05-30 04:43:46 +00:00
i82557.c Make microcode loading work on big endian machines. 2005-08-12 01:07:16 +00:00
i82557reg.h - sprinkle const. 2005-05-29 22:10:28 +00:00
i82557var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82586.c - add missing const 2005-05-30 04:43:46 +00:00
i82586reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82586var.h - add missing const 2005-05-30 04:43:46 +00:00
i82595reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82596.c Fix typo. 2005-06-07 06:27:17 +00:00
i82596reg.h Import MI part of new Intel i82596 Ethernet driver. 2004-03-12 11:37:17 +00:00
i82596var.h const fallout. 2005-06-03 07:03:22 +00:00
i82801lpcreg.h add several definitions useful for ICH-based speedstep. 2004-07-31 17:28:36 +00:00
iavc.c make the isdn drivers compile again with -Wconst, -Wshadow 2005-07-09 02:05:09 +00:00
iavcreg.h
iavcvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ibm561.c de-__P 2005-02-04 02:10:35 +00:00
ibm561reg.h
ibm561var.h de-__P 2005-02-04 02:10:35 +00:00
icp.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
icp_ioctl.c - add missing const 2005-05-30 04:43:46 +00:00
icp_ioctl.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
icpreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
icpsp.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
icpvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ics2101reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
igsfb.c revert unnecessary geometry changes, add missing {} so turning off the 2005-10-01 01:10:50 +00:00
igsfb_subr.c Use standard uintN_t types instead of home-grown u_intN_t types. 2004-11-26 22:29:36 +00:00
igsfbreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
igsfbvar.h Use standard uintN_t types instead of home-grown u_intN_t types. 2004-11-26 22:29:36 +00:00
iha.c - add missing const 2005-05-30 04:43:46 +00:00
ihareg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
ihavar.h u_intNN_t -> uintNN_t 2005-01-02 12:22:18 +00:00
iic_cpcbus.c
ims332reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
intersil7170.c Fix the various todr_gettime() and todr_settime() fallouts from 2005-06-04 20:14:24 +00:00
intersil7170.h
interwave.c - add missing const 2005-05-30 04:43:46 +00:00
interwavereg.h ansify and KNF 2005-01-15 15:19:51 +00:00
interwavevar.h ansify and KNF 2005-01-15 15:19:51 +00:00
ipac.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isac.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isac.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isacsx.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isacsx.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isic.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isic_bchan.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isic_l1.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isic_l1.h Constify return string 2005-06-13 20:32:58 +00:00
isic_l1fsm.c quell cast-qual and shadow warnings 2005-06-01 18:07:04 +00:00
isp.c - add missing const 2005-05-30 04:43:46 +00:00
isp_inline.h - add missing const 2005-05-30 04:43:46 +00:00
isp_ioctl.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_netbsd.c - add missing const 2005-05-30 04:43:46 +00:00
isp_netbsd.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_target.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_target.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
isp_tpublic.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ispmbox.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ispreg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
ispvar.h - add missing const 2005-05-30 04:43:46 +00:00
joy.c implement device detach support 2004-08-03 18:35:21 +00:00
joyvar.h de-__P 2005-02-04 02:10:35 +00:00
lance.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lancereg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
lancevar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lcdkp_subr.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lcdkp_subr.h
ld_aac.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ld_cac.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ld_icp.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ld_mlx.c Use aprint_*() instead of printf() at attach time. 2005-02-08 05:16:17 +00:00
lemac.c - add missing const 2005-05-30 04:43:46 +00:00
lemacreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lemacvar.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
lm700x.c
lm700x.h
lpt.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lpt_upc.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lptreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lptvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lsi64854.c avoid variable shadow. 2005-05-31 00:46:05 +00:00
lsi64854reg.h
lsi64854var.h avoid variable shadow. 2005-05-31 00:46:05 +00:00
matrixkp_subr.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
matrixkpvar.h Matrix keypad wskbd(4) support. Matrix keypads are cheap/rugged user input 2005-01-31 06:03:40 +00:00
max2820reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mb86950.c white space cleanup, some KNF, long line wrapup 2005-04-03 11:36:32 +00:00
mb86950reg.h white space cleanup, some KNF, long line wrapup 2005-04-03 11:36:32 +00:00
mb86950var.h white space cleanup, some KNF, long line wrapup 2005-04-03 11:36:32 +00:00
mb86960.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mb86960reg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
mb86960var.h - use ANSI function decls 2005-01-02 12:41:03 +00:00
mb89352.c u_intNN_t -> uintNN_t 2005-01-02 12:22:18 +00:00
mb89352reg.h Move 2004-03-24 15:38:41 +00:00
mb89352var.h Use "struct scsipi_command" in internal command structures so that 2004-12-07 22:23:45 +00:00
mc6845reg.h remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:26:53 +00:00
mc6854reg.h
mc68450reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mc146818.c Fix the various todr_gettime() and todr_settime() fallouts from 2005-06-04 20:14:24 +00:00
mc146818reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mc146818var.h Handle BCD mode properly. 2003-11-24 06:20:40 +00:00
midway.c - add missing const 2005-05-30 04:43:46 +00:00
midwayreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
midwayvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mk48txx.c Fix the various todr_gettime() and todr_settime() fallouts from 2005-06-04 20:14:24 +00:00
mk48txxreg.h Since I've got the datasheets in front of me, add #defines for the missing 2004-12-30 12:36:29 +00:00
mk48txxvar.h Cleanup MI mk48txx(4) todclock driver: 2003-11-01 22:41:42 +00:00
mlx.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
mlxio.h
mlxreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mlxvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mm58167.c Fix the various todr_gettime() and todr_settime() fallouts from 2005-06-04 20:14:24 +00:00
mm58167var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
monitors.h
mpc105reg.h
mpt.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mpt.h - add missing const 2005-05-30 04:43:46 +00:00
mpt_debug.c - add missing const 2005-05-30 04:43:46 +00:00
mpt_mpilib.h
mpt_netbsd.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mpt_netbsd.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mpu.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mpuvar.h - sprinkle const. 2005-05-29 22:10:28 +00:00
msm6258.c Adapt to compiling with -Wcast-qual by adding const to some pointer casts. 2005-06-08 13:54:38 +00:00
msm6258var.h merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +00:00
mtd803.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mtd803reg.h
mtd803var.h de-__P 2005-02-04 02:10:35 +00:00
mx98905.c Adapt to the removal of NE2000_USE_WORD() macro, now replaced 2004-03-18 23:38:17 +00:00
mx98905var.h
ncr53c9x.c - add missing const 2005-05-30 04:43:46 +00:00
ncr53c9xreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ncr53c9xvar.h de-__P 2005-02-04 02:10:35 +00:00
ncr53c400reg.h
ncr5380.doc nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ncr5380reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ncr5380sbc.c Add a const. Fixes part of PR kern/30403. 2005-06-02 14:03:20 +00:00
ncr5380var.h de-__P 2005-02-04 02:10:35 +00:00
ne2000.c ASIX AX88796 is an NE2000 compatible ethernet chip, but doesn't seem to 2005-02-26 10:29:20 +00:00
ne2000reg.h
ne2000var.h de-__P 2005-02-04 02:10:35 +00:00
nec765reg.h
nec7210reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
ninjascsi32.c - add missing const 2005-05-30 04:43:46 +00:00
ninjascsi32reg.h Workbit NinjaSCSI-32 PCI/CardBus SCSI driver (njs) 2004-08-26 14:13:46 +00:00
ninjascsi32var.h Use ANSI function decls, more static. 2004-08-26 18:38:19 +00:00
ns8477reg.h
ns16450reg.h
ns16550reg.h
nslm7x.c Identify correctly ITE Super I/O chipsets by checking the core ID 2005-04-29 02:02:52 +00:00
nslm7xvar.h Identify correctly ITE Super I/O chipsets by checking the core ID 2005-04-29 02:02:52 +00:00
oosiop.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
oosiopreg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
oosiopvar.h u_intNN_t -> uintNN_t 2005-01-02 12:22:18 +00:00
opl.c de-__P 2005-02-04 02:10:35 +00:00
opl3sa3reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
oplinstrs.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
oplreg.h netbsd.org -> NetBSD.org 2003-12-04 13:57:30 +00:00
oplvar.h de-__P 2005-02-04 02:10:35 +00:00
osiop.c Avoid NULL pointer dereference on unexpected error cases. (from OpenBSD) 2005-04-30 02:18:43 +00:00
osiopreg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
osiopvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pcdisplay.h
pcdisplay_chars.c remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 17:26:53 +00:00
pcdisplay_subr.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pcdisplayvar.h Implement support to dynamically change wscons console and kernel colors. 2004-07-28 12:34:02 +00:00
pckbc.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pckbcvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pdq.c Yes, it was a cool trick >20 years ago to use "0123456789abcdef"[a] to 2005-05-17 04:14:57 +00:00
pdq_ifsubr.c - add missing const 2005-05-30 04:43:46 +00:00
pdqreg.h remove volatile that was being cast-away in all its references. 2005-05-30 04:41:57 +00:00
pdqvar.h - add missing const 2005-05-30 04:43:46 +00:00
ral.c PR/31000: FUKAUMI Naoki: 2 bugs in ral driver: 2005-08-16 17:02:34 +00:00
ralreg.h add drivers for Ralink RT2500-based wireless adapters, written by 2005-07-01 20:06:56 +00:00
ralvar.h update PCI/Cardbus ral wlan driver, and adapt to new FreeBSD/NetBSD 2005-07-04 17:50:09 +00:00
ramdac.h add "const" where needed 2005-06-01 18:18:52 +00:00
rf3000reg.h Flesh out the register definitions. 2004-07-21 04:25:22 +00:00
rrunner.c - add missing const 2005-05-30 04:43:46 +00:00
rrunnerreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rrunnervar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rtl80x9.c Kill another bogus initializer. 2003-10-28 22:22:28 +00:00
rtl80x9reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rtl80x9var.h de-__P 2005-02-04 02:10:35 +00:00
rtl81x9.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rtl81x9reg.h - restructure tx descriptor handling code to decouple 2005-03-23 20:23:08 +00:00
rtl81x9var.h - add missing const 2005-05-30 04:43:46 +00:00
rtl8169.c specify dma direction hints for bus_dmamap_load_mbuf. 2005-07-11 21:42:58 +00:00
rtl8169var.h - Move re_diag() from bus independend code to PCI attachment code. 2005-01-13 14:24:24 +00:00
rtw.c Make arg of IFQ_SET_READY be &ifp->if_snd, to match all other drivers 2005-09-22 16:15:20 +00:00
rtwphy.c Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
rtwphy.h Cosmetic: change u_int{8,16,32,64}_t to C99-style uint{8,16,32,64}_t, 2005-01-02 04:23:03 +00:00
rtwphyio.c Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
rtwphyio.h Cosmetic: change u_int{8,16,32,64}_t to C99-style uint{8,16,32,64}_t, 2005-01-02 04:23:03 +00:00
rtwreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rtwvar.h rtw: Try to get hardware WEP to work. It seems to work in 2005-06-27 05:49:13 +00:00
sa2400reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
seeq8003reg.h
seeq8005.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
seeq8005reg.h
seeq8005var.h
sgec.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
sgecreg.h
sgecvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
si4136reg.h Move the RF Microdevices RF3000 & Silicon Laboratories SI4126/SI4136 2004-02-17 21:20:55 +00:00
siop.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
siop_common.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
siopreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
siopvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
siopvar_common.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
sl811hs.c const fall-out, from Patrick Welche 2005-06-01 19:40:58 +00:00
sl811hsreg.h
sl811hsvar.h
smc83c170.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
smc83c170reg.h Define all members in TX/RX DMA descriptors as u_int32_t and use proper shift 2003-11-08 16:08:13 +00:00
smc83c170var.h de-__P 2005-02-04 02:10:35 +00:00
smc90cx6.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
smc90cx6reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
smc90cx6var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
smc91cxx.c Instead of writing the packet length in two 8bit pieces, use one 2005-06-06 20:20:09 +00:00
smc91cxxreg.h
smc91cxxvar.h de-__P 2005-02-04 02:10:35 +00:00
smc93cx6.c Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
smc93cx6var.h Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9) 2005-06-22 06:14:51 +00:00
spic.c
spicvar.h
st16650reg.h
sti.c merge yamt-km branch. 2005-04-01 11:59:21 +00:00
stireg.h Import STI wscons(4) driver from OpenBSD and add new driver for PS/2 2004-08-26 16:48:06 +00:00
stivar.h Import STI wscons(4) driver from OpenBSD and add new driver for PS/2 2004-08-26 16:48:06 +00:00
sunscpal.c Constify. 2005-06-03 21:20:51 +00:00
sunscpalreg.h
sunscpalvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tcic2.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
tcic2reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tcic2var.h - add missing const 2005-05-30 04:43:46 +00:00
tea5757.c simplify weird tests. 2005-06-02 14:32:12 +00:00
tea5757.h
timer_cpcbus.c
tms320av110.c ansify and KNF 2005-01-15 15:19:51 +00:00
tms320av110reg.h
tms320av110var.h ansify and KNF 2005-01-15 15:19:51 +00:00
tms9914reg.h
tropic.c - add missing const 2005-05-30 04:43:46 +00:00
tropicreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tropicvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tulip.c Make tlp_idle() not be static, so that the newsmips version of the 2005-07-17 18:11:36 +00:00
tulipreg.h Add support for ASIX AX88140A/AX88141 chipsets using only 2005-06-23 23:51:41 +00:00
tulipvar.h Make tlp_idle() not be static, so that the newsmips version of the 2005-07-17 18:11:36 +00:00
uha.c Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name 2005-02-21 00:29:06 +00:00
uhareg.h Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name 2005-02-21 00:29:06 +00:00
uhavar.h de-__P 2005-02-04 02:10:35 +00:00
universereg.h
upc.c kill a number of autoconf submatch functions which follow the 2005-08-25 22:33:18 +00:00
upcreg.h
upcvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
vga.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
vga_common.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
vga_raster.c add a missing const. 2005-07-07 12:57:03 +00:00
vga_subr.c Fix typo in comment. 2004-12-27 14:20:43 +00:00
vgareg.h Implement border color customization in wscons(4), only available for vga(4) 2004-07-29 22:29:35 +00:00
vgavar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
videomode.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
wdc.c In __wdccommand_start(), don't cann wdcwait() with ata_c->flags, as this gives 2005-08-29 19:30:07 +00:00
wdc_upc.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
wdcreg.h Add the notion of "shadow registers" to the wdc driver. These shadow 2004-05-25 20:42:40 +00:00
wdcvar.h Add an optionnal controller callback for channel reset. If the callback 2005-08-06 22:07:24 +00:00
we.c Make it possible for attachment to specify that the 16bit access shouldn't 2005-04-03 10:56:59 +00:00
wereg.h
wevar.h Make it possible for attachment to specify that the 16bit access shouldn't 2005-04-03 10:56:59 +00:00
wi.c Allow setting the MAC address via wiconfig -m (Lord Isildur) 2005-08-10 13:20:42 +00:00
wi_ieee.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
wireg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
wivar.h Bug fix: fix WEP by managing keys & crypto in the style of the new 2005-06-25 03:56:53 +00:00
z8530reg.h Fix some typos. From Tom Cosgrove via jmc@openbsd. 2003-11-02 11:07:44 +00:00
z8530sc.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
z8530sc.h de-__P 2005-02-04 02:10:35 +00:00
z8530tty.c Change the driver open function's conditional for overriding exclusive tty 2005-09-06 21:40:37 +00:00

README.ncr5380sbc

NCR 53C80/53C400 driver

BACKGROUND
----------
The NCR 53C80 SCSI Bus Controller (SBC) is an early single-chip solution
which formed the basis of many early SCSI host adapters for both the
i386 and m68k platforms. The NCR 53C400 is a slightly more advanced
chip which retains backward compatibility with the 53C80.

On the PC, the NCR 53C80 was most commonly used to implement simple, cheap
SCSI host adapters that were bundled with tape and CD-ROM drives. Since
these controllers were not bus-mastering (and in some cases were not even
interrupt-driven), they (like IDE adapters) required the CPU to perform
much of the actual processing. These days, these controllers are cheap
and plentiful since many are not supported by Windows 95.

Similarly, NetBSD, although it has had an MI 53C80 driver (used by the
Sun3 and Mac68k ports) for some time, has not had a i386 driver.

Until now, that is...

OVERVIEW
--------
The NCR 53C80/53C400 driver (the 'nca' device) consists of two pieces:

	1) Patches for the 53C80 MI driver to make it use bus_space()
	   functions. (This requires an optional define. By default,
	   the driver will compile in "legacy" memory-mapped mode.

	2) A machine-dependent driver (nca) containing probe and
	   attachment routines.

This driver has bene tested with the following adapters:

	NCS-250 (Chinon)	53C80, port-mapped, polled-mode
				(This is used in my primary development
				box to drive an external Zip drive.)
	Sumo SCSI-AT		53C80, port-mapped, interrupt driven
				(Note: This is an odd card in that its
				own firmware seems to have trouble detecting
				attached drives. Under NetBSD, however,
				it operates with no problems.)
	Trantor T-160		53C400, port-mapped, interrupt driven
				This card was often bundled with NEC
				CD-ROM drives. (My standalone test box
				is using this as its primary adapter.)
	DTC 3150V		53C400, memory-mapped, interrupt driven
				This a simple card designed to drive
				a CD-ROM.

CONFIGURATION
-------------
To setup the nca driver, the configuration file must contain the following:

	options	NCR5380_USE_BUS_SPACE

This line is required to add bus_space() compatibility to the MI driver.

Next you need to add one or more configuration lines for the nca devices:

	nca0	at isa? port 0x360 irq 15
	nca1	at isa? iomem 0xd8000 irq 5

The first is for a port-mapped controller at 0x360, IRQ 15. The second line
is for a memory-mapped controller (Trantor T128 or equivalent) at
0xd800-0xdff, IRQ 5.

You can also set up the driver in "polled" mode (i.e., no interrupts) by
leaving off the "irq" portion of the line:

	nca0	at isa? port 0x360
	nca1	at isa? iomem 0xd8000

Lastly, you need to add a scsibus attachment line for the nca device:

	scsibus* at nca?

The following is the probe output from my test system:

	Copyright (c) 1996, 1997, 1998
	    The NetBSD Foundation, Inc.  All rights reserved.
	Copyright (c) 1982, 1986, 1989, 1991, 1993
	    The Regents of the University of California.  All rights reserved.

	NetBSD 1.3.2 (GENERIC) #2: Sun Oct  4 17:11:43 EDT 1998
	    root@hefalump:/usr/src/sys/arch/i386/compile/GENERIC
	cpu0: Intel 486DX (486-class)
	real mem  = 7995392
	avail mem = 5349376
	using 123 buffers containing 503808 bytes of memory
	mainbus0 (root)
	isa0 at mainbus0
	com1 at isa0 port 0x2f8-0x2ff irq 3: ns8250 or ns16450, no fifo
	com2 at isa0 port 0x3e8-0x3ef irq 5: ns8250 or ns16450, no fifo
	lpt0 at isa0 port 0x378-0x37b irq 7
	nca0 at isa0 port 0x360-0x36f irq 15
	nca0: NCR 53C400 detected
	scsibus0 at nca0: 8 targets
	sd0 at scsibus0 targ 0 lun 0: <HP, C2235, 0B11> SCSI2 0/direct fixed
	sd0: 402MB, 1574 cyl, 9 head, 58 sec, 512 bytes/sect x 825012 sectors
	cd0 at scsibus0 targ 6 lun 0: <CHINON, CD-ROM CDS-535, Q20> SCSI2 5/cdrom removable
	nca1 at isa0 iomem 0xdb878-0xdb887 irq 5
	nca1: NCR 53C400 detected
	scsibus1 at nca1: 8 targets
	sd1 at scsibus1 targ 5 lun 0: <IOMEGA, ZIP 100, J.02> SCSI2 0/direct removable
	sd1: 96MB, 96 cyl, 64 head, 32 sec, 512 bytes/sect x 196608 sectors
	npx0 at isa0 port 0xf0-0xff: using exception 16
	pc0 at isa0 port 0x60-0x6f irq 1: color
	pc0: console
	fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
	fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
	biomask 8060 netmask 8460 ttymask 84e2
	boot device: sd0
	root on sd0a dumps on sd0b
	root file system type: ffs

In this output, nca0 is a Trantor T-160 and nca1 is a DTC 3150V. Both happen
to be 53C400-based controllers.

LIMITATIONS
-----------
As of this writing, the nca driver has two known limitations:

1) No DMA or pseudo-DMA support

This is unfortunate, but may be remedied in a later release. I would welcome
any help by someone more familiar with DMA, particularly in relation to
bus_space().

As it is, however, performance of the nca driver is acceptable, though some
of that may depend on one's definition of "acceptable". Remember that these
were not high speed controller under the best conditions, so much of it is
really the nature of the beast. It should be adequate for tapes, CD-ROMS,
and low-usage disk devices (e.g., Zip drives). If you want to drive a CD-R
drive, then invest in an Adaptec 154X or a PCI controller.

2) No support for the SCSI port of the Pro AudioStudio 16.

This is also unfortunate and may not be able to be remedied withing the
current framework of the bus_space() functions and the nca driver.

The problem is this: In most adapters, the eight 53C80 registers are mapped
to eight sequential locations, either ports or memory addresses. On the
PAS-16, however, the registers are mapped to two sets of ports- four
sequential ports at the base address and four sequential ports located
0x2000 higher. As I currently understand it, this is not supportable by
the current bus_space() implementation nor is it possible for the driver
to allocate a second bus_space_tag and _handle itself to accomodate the
second set of ports. Without either, it is very difficult to imagine how
a portable linkage to the MI driver could be made.

Again, I welcome suggestions.

HISTORY
-------
An nca driver first appeared in FreeBSD.

This particular one borrows a little code from it and some from the i386
'esp' and sun3 'si' drivers. It, like many things in the free unix world,
was written because it solved a problem- mine! In my case, it was a need
of a SCSI card and a lack of IRQs. The good news was that I had one
(NCS-250); the bad news was that it was not supported under NetBSD. The
rest is history.

DISCLAIMER
----------
Like most things, you should take this code with a grain of salt. I have
tried to test it sufficiently, but it is always possible that it is not
compatible with some aspect of your system. If you end up suffering
massive data loss and destruction, you have my sympathies, but I do not
and will not allow myself to be held responsible.

CREDITS
-------
My thanks to Jason Thorpe and the rest of the NetBSD team for making it
so easy to write this driver. My thanks also to the authors of the
FreeBSD nca driver for inspiration and 53C400 support.

In the end, I hope that someone else can find this driver as useful as I
have. If so, please drop me a line at jruschme@exit109.com and let me
know about it.

Share and enjoy

John Ruschmeyer (jruschme@exit109.com)
11 October 1998