Commit Graph

1102 Commits

Author SHA1 Message Date
augustss
62058f9f6b Add the SBLive! joystick device. 1999-11-17 00:09:17 +00:00
jun
a525b9a12a Commit patch kern/8778
Subject: NEC PCI modem support
1999-11-16 03:15:17 +00:00
enami
7463c844a0 Make this file compile again; terminate the continuation line with backslash. 1999-11-16 02:13:02 +00:00
thorpej
a49d3ecb33 Add a macro to generate a class code given class, subclass, and interface.
From UCHIYAMA Yasushi's PCI BIOS patches.
1999-11-15 23:41:10 +00:00
joda
5527afff97 (pccbb_pci_callback): no point in reading the bus number register
twice
1999-11-15 16:19:03 +00:00
soren
748b241afb Export softc. 1999-11-13 13:40:28 +00:00
thorpej
4bdf6bd731 Call mii_down() as appropriate. 1999-11-12 18:14:17 +00:00
is
1c37111492 Identification of DOMEX PCI-SCSI board, by Thilo Manske, PR 8772. 1999-11-12 12:03:32 +00:00
cgd
b4560adaf2 regen 1999-11-07 07:03:08 +00:00
cgd
7867af6cfb back out rev 1.166:
(1) the list added isnt' complete and i'd call it incorrect.  (There are
    other devices with these names, where were omitted.  I've never seen
    the devices with these IDs, I _have_ seen the other devices that go
    by these names.)
(2) the PR (8754) had not been updated to note that the problem was
    fixed, and i'd preiously asked the submitter for more information and/or
    a corrected list.
1999-11-07 06:59:46 +00:00
rh
b2a56ee1b9 regen. 1999-11-06 13:50:02 +00:00
rh
080ff79d14 Add vendor/product entry for Auravision VxP524 PCI Video Processor. 1999-11-06 13:48:29 +00:00
augustss
34e97b4c65 Regen. 1999-11-06 11:18:00 +00:00
augustss
3514a2e115 Add SIIG devices. Closes PR kern/8754 from Andreas Wrede <andreas@planix.com> 1999-11-06 11:17:30 +00:00
thorpej
4a09180976 Don't pass rd/mult capability though a PCI-PCI bridge. The bridge would
have to break it up into mutliple rd/line's anyhow, so why bother letting
the device issue it in the first place.
1999-11-04 19:04:04 +00:00
thorpej
110ac27449 Make sure devices are told they can use rd/line, rd/mult, and wr/inval. 1999-11-04 19:03:00 +00:00
tsarna
c0b20561f7 regen 1999-11-04 16:18:41 +00:00
tsarna
9df6f09e30 Add Aureal AU8820 1999-11-04 16:02:20 +00:00
augustss
fb580e3f6e Regen. 1999-11-04 10:34:40 +00:00
augustss
1289659618 Add SBLive! 1999-11-04 10:34:03 +00:00
joda
c8532c3ebe regen 1999-11-04 09:39:17 +00:00
joda
dbfcb792e1 add Xircom X3201-3 Fast Ethernet Controller 1999-11-04 09:38:38 +00:00
thorpej
e3f20e8ff1 Use Memory Read Line and Memory Read Multiple on the 21140, 21140A,
21142, and 21143, if the PCI bus says its okay.
1999-11-04 01:20:55 +00:00
thorpej
a4e1bde0b3 Print out if the read {line,multiple} and write/invalidate commands are
okay to use.
1999-11-04 01:03:34 +00:00
thorpej
ca9b9a3b2e Adapt to mii_phy_probe() change. 1999-11-04 00:24:00 +00:00
mycroft
4f1f2c6398 Fix silly error that caused the secondary channel to be ignored if the primary
channel was disabled.
1999-11-03 14:54:07 +00:00
augustss
361b083d4c Shorten some delay()s. From WITEK Wnuk <witek@atari.org> 1999-11-02 17:48:01 +00:00
kleink
b536890c88 Add a mixer control for the Master Volume Mute knob. 1999-11-02 12:11:42 +00:00
augustss
72a864f78c Add the midibus attribute to the fms driver. 1999-11-02 11:58:06 +00:00
soren
09c41837ce Fix crash when both 1370 and 1371/1373 devices are configured.
Update documentation links.
XXX The initial volume of the 1371 mixers is set to 255. Should be ~200.
1999-11-02 05:40:59 +00:00
thorpej
c8852145bc Get fms MPU and OPL module inclusion right. 1999-11-02 00:29:20 +00:00
augustss
3c40153ea9 Fold some long lines and make it compile with the new auconv functions. 1999-11-01 23:26:58 +00:00
augustss
7c8206c662 Add a missing file for the fms driver. 1999-11-01 21:54:12 +00:00
augustss
8cd393778b Regen. 1999-11-01 20:43:51 +00:00
augustss
684aa0605c Add FM801 audio device driver. From Witold J. Wnuk ww181302@zodiac.mimuw.edu.pl
Closes PR kern/8729.
1999-11-01 20:43:12 +00:00
augustss
860ebb7a92 Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.
1999-11-01 18:12:19 +00:00
haya
8553661a5e Maintainance the name of Ricoh PCI-CardBus bridges. 1999-11-01 08:58:45 +00:00
augustss
6346873ea6 Use the right attribute for attaching USB controllers.
From MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-10-30 17:03:30 +00:00
sommerfeld
db05febdfa Add enable/disable support and EEPROM size selection, prerequisites
for getting the cardbus fxp attachment to work.

Tested on the built-in 82559 in a VAIO Z505S.

From Johan Danielsson / PR8631; changed slightly to KNF.
1999-10-30 16:07:58 +00:00
augustss
3d0e8ae9dd Make this file compile again by using the same names as in pcidevs. 1999-10-30 16:02:28 +00:00
augustss
a498fbea5f Add midibus attribute for eap. 1999-10-30 14:11:16 +00:00
augustss
613db45d20 Add MIDI support.
Closes PR 8578.
1999-10-29 23:03:18 +00:00
matt
471ab17680 Regen. 1999-10-29 21:31:30 +00:00
matt
c707186f57 Add AHA-1480 (adaptec cardbus scsi) 1999-10-29 21:30:19 +00:00
haya
65c3b4c4c7 Maintainance the name of Ricoh PCI-CardBus bridges. 1999-10-29 07:57:38 +00:00
thorpej
9d820e6fab Add some 21142/21143 goo. 1999-10-28 23:32:37 +00:00
mjacob
44c603dd7b Remove reference to loadable f/w. 1999-10-28 16:11:19 +00:00
leo
38cae5303b Remove htopci(). bus_space_write_4() takes care of necessary endian conversions. 1999-10-28 13:49:19 +00:00
augustss
8ecf3c7c3e Add support for ES1371. From OpenBSD and Ezra Story <ezy@panix.com>. 1999-10-27 13:20:34 +00:00
haya
0263d8db3d Do not stop no matter when pci_mapreg_map fails to map bridge socket
registers.  When it fails, reset Socket Base Address register and map
registers using rbus.
1999-10-27 00:48:36 +00:00
bouyer
0021900156 Add a missing '\n' in the cmd0640 attach printfs. 1999-10-25 14:13:12 +00:00
haya
5aa225ed2e Disable legacy io port before the bridge is probed as a pcic on isa.
Comments ware changed to comply the KNF.
Add PCCBB_PCMCIA_16BITONLY to support TI PCI103X series.
1999-10-19 09:29:46 +00:00
mjacob
cdad48e3b7 Oops- missed a MAXISPREQUEST sized thing- these are all gone now. It's amazing
this didn't eat me.
1999-10-17 02:40:26 +00:00
mjacob
2b4cd26aa4 stylistic cleanups 1999-10-17 01:22:08 +00:00
augustss
c175d023d0 Comment out some debug settings.
Change attach printing so it looks more standard.
1999-10-15 10:59:56 +00:00
haya
e5cc414836 add NetBSD ID tag. 1999-10-15 06:42:21 +00:00
haya
4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
mjacob
83bb47c85a F/W version no longer relevant. Only do WWN seed for FC cards.
Now we malloc xflist and dma maps in mailbox setup routines.
We also do the appropriate endian swizzling at the end of a dma
map routine.
1999-10-14 02:14:35 +00:00
thorpej
358756a995 Add declaration for the Adaptec AIC-6915 64-bit 10/100 Ethernet interface.
Note: this is a placeholder right now; the driver should be ready in the
next few days.
1999-10-13 18:37:12 +00:00
augustss
b14b78dfc9 Deallocate resources (bus space and interrupts) when detaching from
the bus.
1999-10-12 11:21:24 +00:00
hannken
9d12a71473 Add support for `Adaptec AHA 2940UW Pro'.
Behaves like the `Adaptec AHA 2940UW'.

Device info: product id = 0x8778, Chip = AIC7880P.
1999-10-12 08:41:55 +00:00
hannken
2f3b72ae59 Regen. 1999-10-11 17:33:51 +00:00
hannken
5e63221d99 Add an entry for the Adaptec 2940UW Pro Scsi adapter. 1999-10-11 17:31:52 +00:00
cgd
c3703ecfdd don't print using string pointer one off the end of the eso_rev2model
array.  pointed out by Kouichi Hashikawa in PR#8601.
1999-10-10 18:52:03 +00:00
cgd
c3d5267629 Don't burst into flame when a QUEUE FULL message is received. Also,
do a gross hack which allows seemingly-broken quantum drives to function
with this driver.  The gross hack is to disable tagged queueing completely
when QUEUE FULL is received.  That costs performance on drives which
do tagged queueing properly and which return QUEUE FULL, but given the way
this driver works it's seems to be the only thing short of significant
recoding which will make it function with the quantum drives in question.
1999-10-08 20:43:45 +00:00
drochner
0b5c897fd0 1. include headers for NS support
2. pull in a fix from FreeBSD:
revision 1.18
date: 1999/09/17 18:04:14;  author: wpaul;  state: Exp;  lines: +3 -3
Remember to account for ETHER_ALIGN when setting the maxmimum packet
length for mini receive ring. The max length was MHLEN, however the mbufs
are actually shortened to MHLEN - ETHER_ALIGN to force payload alignment.
1999-10-06 11:23:33 +00:00
thorpej
a339b2839b Have I mentioned how much I love this driver? Fix the code in the tagged
queueing support that decreases the number of openings on a device; it
previously assumed that a scsipi_link's `openings' were descreased as
commands were issued, which is not longer the case (`active' is increased).
1999-10-05 17:45:57 +00:00
thorpej
120e8cac48 Fix a botch when updating for the SCSIPI changes. 1999-10-05 00:29:41 +00:00
thorpej
63b8530b4e Update for SCSPI changes. 1999-09-30 23:04:39 +00:00
thorpej
30e63d853c Define flags in pci_attach_args which indicate it's okay to use the
Memory Read Line, Memory Read Multiple, and Memory Write and Invalidate
PCI commands.
1999-09-30 20:30:06 +00:00
thorpej
2492ffef4c Changes to get the Lite-On/Macronix 82C115 working:
- 82C115 has a 128-bit multicast hash table, not 512-bit.
- Correct the way the MAC address is read from the SROM, after re-reading
  the MX98715A Application Note.

Other semi-related changes:
- Differentiate between MX98715 and MX98715A.
- Improve the Macronix link-up/link-down detection.
1999-09-30 17:48:24 +00:00
thorpej
e3398d3647 - Get a little closer on the Macronix chips. Still some more work to do.
- Add some basic support for the ADMtek AL981 clone (which, unfortunately,
  I can't test until my sample boards arrive).
1999-09-29 18:52:19 +00:00
ad
f6e42db75a - Move initial reset code into dpt_readcfg()
- Bus specific front-end is now responsible for reading EATA configuration
- EATA configuration data is now saved in the softc
- Make synchronous writes work properly
- Don't ignore HBA timeouts in dpt_cmd()
- Prefix eata_cfg's members with `ec_', not `dc_'
1999-09-29 17:33:02 +00:00
thorpej
1cb047331b Regen. 1999-09-29 00:20:25 +00:00
thorpej
33f02f24b7 - Add Sundance Technolgy vendor ID.
- Add Sundance Technolgy ST201 10/100 Ethernet product ID.
- Add D-Link DFE-550TX product ID (uses ST201 chip).
1999-09-29 00:19:51 +00:00
thorpej
e2504d1efc Regen. 1999-09-29 00:07:51 +00:00
thorpej
8f22cca8ea Add adaptec AIC-6915 10/100 Ethernet. 1999-09-29 00:07:15 +00:00
thorpej
df12499646 Add code to take a device out of Power-Down state if it's in such a state,
and attempt to attach Macronix chips.
1999-09-28 23:12:23 +00:00
kleink
bb54953b63 Since the Audio 1 DMA controller implements the 24 low address bits only,
add the gross hack originally implemented by Charles Hannum in the SonicVibes
driver to force allocation of DMA memory for that channel through the Scatter-
Gather Map to get an address range that fits in.

The eso driver now works on Alphas except for DWLPX-based systems, whose owners
are not likely to desire audio or likely can afford slightly less cheap audio
hardware.  :-)
1999-09-28 13:57:45 +00:00
ad
f653cce944 Regen. 1999-09-27 23:46:56 +00:00
ad
94367db635 s@SmartCache/Raid@SmartCache/SmartRAID@ 1999-09-27 23:45:57 +00:00
ad
a289fc5023 Add glue for 'dpt' driver. 1999-09-27 23:44:27 +00:00
ad
48a0b6237a A driver for DPT EATA SCSI adapters. dpt.c contains a brief TODO list. 1999-09-27 23:41:47 +00:00
cgd
6146ed7db8 add classes/subclasses new in PCI 2.2. Needs a bit of cleanup, but then,
so does everything involving configuration space headers and if i don't
get this out of my source tree i'll go insane.
1999-09-27 03:20:47 +00:00
thorpej
2bc8340297 Add a quirk entry for the Asante 21140[A] boards that don't use the
ISV SROM format.  For these boards, we provide the GPIO pin direction
info, a separate reset hook, and hard-wire them to MII-on-SIO.

Based on a patch submitted by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 05:03:58 +00:00
thorpej
4d4ddf363f Some 21140[A] boards don't use the ISV SROM format (e.g. Asante boards),
but instead use the older DEC Address ROM format.

From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 04:43:45 +00:00
thorpej
b76293b895 Add quirk entry support for the 21041 and 21140 chips. Initial quirks
for these: extract the spiffy DEC board names (e.g. DE500-AA).
1999-09-26 04:37:29 +00:00
thorpej
4fa51ba8bd Make tlp_read_srom() work on big-endian systems.
From a patch supplied by Luoqi Chen <luoqi@chekov.watermarkgroup.com>.
1999-09-26 03:39:01 +00:00
thorpej
c999e3ca1a Add support for the DECchip 21140[A]. This currently only works with
boards which use MII for media attachment.

ISV SROM format information lifted from Matt Thomas's `de' driver.

Thanks to Dave Sainty for experimenting w/ his 21140A MII boards, and
for supplying a fix to the MII bit-bang code (PR #8382).
1999-09-25 00:27:00 +00:00
kleink
d9abf5e332 Add Game Port definitions. 1999-09-23 11:50:19 +00:00
kleink
cef2689773 Oops, we do have to check ourselves whether a given value is valid within an
enumeration.
1999-09-23 11:46:12 +00:00
mhitch
7460a0be93 Set sc_cfg3_fscsi for the AMD53C974 to match the change in ncr53c9x.c. 1999-09-22 03:32:00 +00:00
thorpej
664d8da4f5 Add support for the DECchip 21041. This also adds some preliminary
support for the ISV SROM format used in the 2114{1,1A,2,3}.  Note, like
the 21040, auto-sense is not yet supported for the 21041.

Add a "pre-init" hook, which will be used for the 2114x and PNIC (currently)
which allows chip-specific code to set up and write OPMODE before the
chip is reset.  This is necessary in order for the chip's internal
pathways to get initialized properly for MII/SYM/PCS/SIA media attachments.

Thanks to Dave Sainty for the hint from the `de' driver that inspired the
pre-init hook.
1999-09-20 19:26:54 +00:00
thorpej
6961f081e5 Fix packet reception in promiscuous mode: compare the Ethernet destination
address against our station address if it's not a multicast packet.  Either
the Rhine manual lies about the phys/broadcast/multicast rxstatus bits,
or the Rhine chip is just broken.

Fixes a redirect storm problem reported by Laine Stump on current-users.
1999-09-20 17:40:58 +00:00
thorpej
79f938f5f8 Fix a few buglets in the multi-port 21040 code. ZNYX ZX314 confirmed
working now.
1999-09-17 21:55:01 +00:00
augustss
7049e8eb1b Add preliminary (untested) code for detaching the USB host controller
(needed for CardBus based controllers).
1999-09-15 10:25:30 +00:00
thorpej
f23c7a31b4 Make sure 21040 chips are at least pass 2.0 and that 21140 chips are at
least pass 1.1.
1999-09-14 23:43:10 +00:00
thorpej
70997fd3d5 Move the PCI device number to the base Tulip softc; it will be needed to
decode the SROM on 21041 and 2114x multi-port boards.
1999-09-14 23:33:04 +00:00
thorpej
5c34356d4c First crack at shared ROM/shared interrupts on 21040 multi-port boards,
plus quirk identification for non-multiple-port boards.
1999-09-14 22:25:48 +00:00
augustss
a6aa488db9 Don't do IO before we have set the tag and handle. 1999-09-14 09:29:05 +00:00