NetBSD/sys/dev/ic
jmcneill 212a4fdeb4 * Reduce timeout for codec powerup
* Return ENXIO from ac97_attach_type if the modem codec fails to power-on.
  This will prevent broken AC97 modems *cough*Conexant*cough* from giving
  the impression that they will actually work.
2005-04-12 21:11:43 +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 Add to XXX comment for future reference. 2005-03-12 10:35:29 +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 * Remove aif_get_mailboxstatus() from the aac_interface structure. Replace 2005-03-01 03:31:45 +00:00
ac97.c * Reduce timeout for codec powerup 2005-04-12 21:11:43 +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 ansify and KNF 2005-01-15 15:19:51 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic7xxx_cam.h
aic7xxx_inline.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
aic7xxx_osm.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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
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 ansify and KNF 2005-01-15 15:19:51 +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 Fix two bugs: frames were bogusly discarded with the complaint 2005-01-15 11:01:46 +00:00
anreg.h Fix two bugs: frames were bogusly discarded with the complaint 2005-01-15 11:01:46 +00:00
anvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
apcdmareg.h
ath.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
athcompat.c
athcompat.h Synchronize with FreeBSD: 2003-12-16 06:48:08 +00:00
athioctl.h Finalize import of the Atheros HAL 0.9.9.13, bringing ath(4) 2004-07-28 08:57:40 +00:00
athvar.h IBSS fixes: get IBSS beacon generation right. Merge with a same-SSID, 2004-08-10 01:03:52 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
atwreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
atwvar.h Remove from atw(4) all of the 802.11 duration #defines that I just 2004-12-19 08:09:23 +00:00
awi.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
awireg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
awivar.h Fix: panic when rate is specified but chan is left unspecified. 2004-01-15 09:39:15 +00:00
ax88190.c Use ANSI function decls and more use of static. 2004-08-24 00:53:28 +00:00
ax88190reg.h
ax88190var.h
bha.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
clmpccreg.h
clmpccvar.h de-__P 2005-02-04 02:10:35 +00:00
com.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
cpc700reg.h Add some more defines. 2003-11-07 17:03:42 +00:00
cpc700uic.h
cpc700var.h
cs89x0.c nuke trailing whitespace 2005-02-27 00:26:58 +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
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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 Perform a s/w checksum for packets that are not the same length as the length 2005-03-05 18:32:59 +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 de-__P 2005-02-04 02:10:35 +00:00
hayespreg.h
hd44780_subr.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
hd44780reg.h Change TIMEOUT_XXX to HD_TIMEOUT_XXX 2005-01-08 20:19:08 +00:00
hd44780var.h Support wsdisplay(4) attachments of hd44780 LCD controllers 2005-02-04 05:58:44 +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 Fix typo in HW checksum code -- check for TCP & UDP HW checksumming being 2005-03-17 15:51:28 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82365reg.h Add Cirrus register definitions, per PR 6172. 2004-07-06 14:04:51 +00:00
i82365var.h de-__P 2005-02-04 02:10:35 +00:00
i82557.c Use log() instead of printf(). 2004-11-23 21:41:57 +00:00
i82557reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82557var.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82586.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82586reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82586var.h de-__P 2005-02-04 02:10:35 +00:00
i82595reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82596.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
i82596reg.h Import MI part of new Intel i82596 Ethernet driver. 2004-03-12 11:37:17 +00:00
i82596var.h u_intNN_t -> uintNN_t 2005-02-18 22:39:31 +00:00
i82801lpcreg.h add several definitions useful for ICH-based speedstep. 2004-07-31 17:28:36 +00:00
iavc.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
icp_ioctl.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name 2005-02-21 00:29:06 +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 settime: round, instead of truncate, to the nearest second. 2004-07-05 09:24:31 +00:00
intersil7170.h
interwave.c ansify and KNF 2005-01-15 15:19:51 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isic_l1fsm.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_inline.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_ioctl.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
isp_netbsd.c nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
lsi64854reg.h
lsi64854var.h de-__P 2005-02-04 02:10:35 +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 Use ANSI function decls. 2004-09-25 09:46:17 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 If clock_ymdhms_to_secs() fails, return ERANGE. This gets my ELC with 2004-12-29 21:33:42 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
mpt_debug.c
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 de-__P 2005-02-04 02:10:35 +00:00
msm6258.c merge kent-audio1 branch, which introduces audio filter pipeline to the MI 2005-01-10 22:01:36 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 Use ANSI function decls, more static. 2004-08-26 18:38:19 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
nslm7xvar.h nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pdq_ifsubr.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pdqreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
pdqvar.h
ramdac.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
rf3000reg.h Flesh out the register definitions. 2004-07-21 04:25:22 +00:00
rrunner.c nuke trailing whitespace 2005-02-27 00:26:58 +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
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 - restructure tx descriptor handling code to decouple 2005-03-23 20:23:08 +00:00
rtl8169.c - use IFQ_POLL/DEQUEUE rather than IF_DEQUEUE/PREPEND. 2005-03-30 11:38:06 +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 Misc. changes to improve ad hoc mode and to enable hostap mode: 2005-03-02 05:20:43 +00:00
rtwphy.c nuke trailing whitespace 2005-02-27 00:26:58 +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 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.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 Misc. changes to improve ad hoc mode and to enable hostap mode: 2005-03-02 05:20:43 +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 nuke trailing whitespace 2005-02-27 00:26: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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
smc91cxxreg.h
smc91cxxvar.h de-__P 2005-02-04 02:10:35 +00:00
smc93cx6.c
smc93cx6var.h
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 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
sunscpalreg.h
sunscpalvar.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tcic2.c nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tcic2reg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tcic2var.h de-__P 2005-02-04 02:10:35 +00:00
tea5757.c
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 nuke trailing whitespace 2005-02-27 00:26:58 +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 Remove duplicate word in comment. From Rui Paulo in PR 29767. 2005-03-23 13:24:47 +00:00
tulipreg.h nuke trailing whitespace 2005-02-27 00:26:58 +00:00
tulipvar.h nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 Reverse the cyl_lo and cyl_hi reads for the AT_READREG case; previously, 2005-03-28 22:08:51 +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 Copyright maintenance. 2005-03-02 12:25:27 +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 correct logic so we recognize timeout on alloc 2005-03-27 00:49:14 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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 nuke trailing whitespace 2005-02-27 00:26:58 +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