Commit Graph

1540 Commits

Author SHA1 Message Date
bouyer 0bf221f2d9 - remove leftovers of FreeBSD code in #if 0/#endif
- fix a bug in ti_encap() where a NULL pointer could be used if we run out
  of tx descriptors (return ENOMEM instead, and let the caller assert OACTIVE)
- sync boot messages with NetBSD's pci standart (print ti_name and irq
  line)
- add a shutdown hook to stop the board, so that the board will not DMA at
  random places while we're rebooting
- convert all but TIGON 1 transmit descriptors to use bus_space
  (this last one isn't trivial to get rigth and I don't have the hardware to
  test)
- If we can't map the mem space linar, retry to map it nolinear. Punt if
  we couldn't map the mem space linear and we found a Tigon 1 chip.

With these changes a Tigon 2 board (netgear BA620 at last) can be used in
my DS20.
2000-03-17 09:20:16 +00:00
thorpej 93eb82ff2f Recognize the Intel InBusiness. 2000-03-16 23:41:40 +00:00
thorpej 56460ec830 Regen. 2000-03-16 23:41:30 +00:00
thorpej 3f182de5c6 Add product ID for the Intel InBusiness 10/100 Ethernet adapter (which
is an i82559 with a different product ID).
2000-03-16 23:36:44 +00:00
ad 70063dc527 Driver for Compaq array controllers and disks (cac(4)/ca(4)). 2000-03-16 14:52:22 +00:00
fvdl 1a774a9979 Set bus_intr to ahc_pci_intr. 2000-03-16 10:34:33 +00:00
thorpej c38405d33d Add power management support to the `tlp' driver. The battery on my
laptop lasts a whole lot longer now.
2000-03-15 18:39:50 +00:00
fvdl 14620f1eee PCI frontend for new ahc driver. 2000-03-15 02:33:52 +00:00
haya b6f22443bb Remove ancient code. 2000-03-15 00:38:40 +00:00
enami 60ed7cfb2b Simplify the code a bit. 2000-03-14 10:26:10 +00:00
enami 70b8e188ee Don't think that a card is inserted if there is a card already in the slot.
Note that powerdown hook calls pccbbintr so that it detect card insertion or
removal during suspension.
2000-03-14 10:23:16 +00:00
enami d454505125 Cosmetic change. 2000-03-14 10:20:09 +00:00
tsarna e58bd0c365 Regen 2000-03-14 01:46:56 +00:00
tsarna 67027b1103 Add product ids for some VIA Technologies VT82C686A southbridge devices. 2000-03-14 01:45:11 +00:00
enami b3cf850817 Fix typos in comments. 2000-03-14 01:29:30 +00:00
ad f91ce51084 Regen. 2000-03-13 17:24:14 +00:00
ad e22c4b3d1f Add a bunch of Compaq array controllers. 2000-03-13 17:23:26 +00:00
mycroft e750135b5e A few things:
* Initialize PCIC_INTR and PCIC_CSC_INTR on all chips, not just TI.
* Leave card detect interrupts enabled in PCIC_CSC_INTR.  (This requires
  reading PCIC_CSC in the interrupt handler on some chips, so do that too.)
* Leave PCIC_INTR_ENABLE set, as some chips require this to post card detect
  interrupts while in PCMCIA mode.
* Leave PCIC_INTR_RESET (which is inverted) set at all times *except* when
  powering up a socket, as some chips will use it to drive RESET# low even
  while a CardBus card is in the slot.

This makes PCMCIA and CardBus cards works with some TI chips.  Cross-checked
with a Toshiba ToPIC 95B.
2000-03-12 11:31:53 +00:00
drochner 30f73f1831 support bus probes a la "badaddr" and VME interrupts, fix error handling
after mapping problems
2000-03-12 11:23:06 +00:00
drochner e135f943fa add support for DMA mapping, bus probes ala "badaddr" and VME interrupts,
improve diagnostic output
2000-03-12 11:21:02 +00:00
nathanw 1203bdcbb3 Bus_space-ify TGA register accesses.
(raster operations are still using pointer-based access)
2000-03-12 05:32:29 +00:00
mycroft 602faa83a8 Do *not* fiddle with the serial/parallel IRQ mode selection on TI chips.
Without extensive probing, we cannot possibly know that we're doing the right
thing.

Also some stylistic changes.
2000-03-12 04:34:29 +00:00
mycroft 781b535703 Revert the previous change. 2000-03-12 04:27:12 +00:00
mycroft c7a13f6116 Revert the previous change. It does not match the commit message *and* was
incomplete (and probably quite broken).
2000-03-12 04:25:57 +00:00
thorpej 5c64f2064d Add missing sc_pil_intr_enable member to pccbb_softc.
XXX Double check this, please.  The code appears to only use it as a
boolean, but...
2000-03-12 01:15:04 +00:00
jdolecek 27fe6c0aee regen 2000-03-11 16:13:39 +00:00
jdolecek d01b78affd Add id for Alliance AT25, as sent by Dave Sainty in kern/9596. 2000-03-11 16:13:14 +00:00
soren 2d525b16dd The shortened 1371 reset delay in revision 1.32 doesn't seem to be
quite enough for my 1373, so increase it some.
2000-03-11 06:42:37 +00:00
bouyer b58bf3c7bb Don't reset cp->hw_ok ro 0 when cp isn't initialised in cy693_chip_map()
(used only in failure case). Pointed out by Wolfgang Solfrank.
While I'm here correct indentation.
2000-03-10 21:21:48 +00:00
haya 173f823e3a Only apply power on 3.3 V CardBus card (there are no 5 V CardBus card.) 2000-03-10 11:08:49 +00:00
soren c70220f2a2 Move PCIIDE_CHANNEL_NAME macro to pciidereg.h. 2000-03-09 20:26:31 +00:00
drochner 0542cec055 put "#ifdef __alpha__" around "alpha_mb()" calls
(I know the driver is useless without console initialisation, but it
should at least compile.)
2000-03-09 18:40:36 +00:00
jdolecek 24ea2caf14 regen 2000-03-09 09:53:03 +00:00
jdolecek 3abb87c0f5 Add Conexant SoftK56 PCI Software Modem, Sony CXD3222 OHCI i.LINK(IEEE 1394)
PCI controller, Sony Memory Stick I/F Controller
Ids send by John Hawkinson in kern/9588
2000-03-09 09:50:49 +00:00
mycroft 5eee9ca94c Determine the size of the SROM by probing the chip using the standard Microwire
protocol.  Eliminates the need for srom_quirks and some other trash.
2000-03-07 00:39:17 +00:00
thorpej 91c44a72b8 Set ifp->if_baudrate as appropriate. 2000-03-06 21:02:37 +00:00
thorpej a6f861574a No longer necessary to futz with ifp->if_baudrate here. 2000-03-06 21:02:00 +00:00
bouyer c34cce88c4 Add support for the AMD 756 DMA/UDMA IDE controller, provided in
PR kern/9536 by Dave Sainty.
2000-03-06 18:02:26 +00:00
perry d97becf28e Make Creative Soundblaster PCI 128's work -- from Masahiro Ishiyama
Note that on device close, there's a sharp pop that probably should be fixed.

Note also that the device is hanging the machine at times for brief
periods inside audio.c::audiogetinfo(), but I haven't yet figured out
why.
2000-03-06 03:18:11 +00:00
mark c74ea28746 Support the W89C940F alternative ID. 2000-03-06 03:07:08 +00:00
mark 9e870c5a88 Regenerate from pcidevs. 2000-03-06 02:32:31 +00:00
mark 1a0eab6fa3 Add SYMPHONY 83C553 PCI-ISA bridge.
Add alternative ID for Winbond W89C940F.
2000-03-06 02:31:19 +00:00
elric 23af6e53fd Moved things around a bit so that TGA2 can be used as a console.
Addresses PR:  port-alpha/9542
2000-03-05 07:57:52 +00:00
elric 1dfdd10eae I got the mode sense bits of the monitor wrong they needed a twiddle (~). 2000-03-05 02:30:57 +00:00
tron c98328e9df Regen from "pcidevs". 2000-03-04 13:24:24 +00:00
tron 947ec630de Add AMD Athlon chipset related devices. Patch supplied by Dave Sainty in
PR kern/9533.
2000-03-04 13:23:26 +00:00
elric f939818426 Added basic TGA2 support to the TGA driver. Abstracted the RAMDAC
code out into ../ic/bt485.c.  Disabled tga_bt463.c, which we don't
currently support.
2000-03-04 10:27:59 +00:00
thorpej 285a315e99 Simplify the winlist code. 2000-03-01 23:40:26 +00:00
drochner 7da6407d04 add (minimal, PIO only) support for the popular "Tundra Universe"
PCI-VME interface chip and a frontend for the "Bit3 Mod. 2706"
PCI-VME adapter
2000-02-25 18:22:39 +00:00
ad c86b7572f9 Cosmetic change. 2000-02-25 00:23:57 +00:00
itohy 5ed29fa2d6 Delete a superfluous newline in attach message. 2000-02-24 03:42:44 +00:00
fair 7f8cdf038f Fix a missing closing parenthesis in an error diagnostic 2000-02-23 08:31:25 +00:00
haya d94804a788 Pccbb maintains the interrupt handlers for 16-bit PC Cards
by itself.
Add some comments.
2000-02-23 07:28:54 +00:00
enami 347823e807 Include dev/isa/isavar.h so that this file compiles again. 2000-02-22 22:46:16 +00:00
thorpej 3f9cf7572c Don't use void * for chipset tags. Bad hacker, no biscuit. 2000-02-22 16:04:44 +00:00
enami b785bb47a0 Establish a powerhook and make sure the card detect interrupt is enabled
after resume from suspend, as i82365.c does.
This is a workaround for newer Sony VAIO notebook.
Patch is submitted by Atsushi Onoe (onoe@sm.sony.co.jp) in PR#9463.
2000-02-22 02:35:26 +00:00
thorpej 70bbb1b84e Sync PCMCIA memory mapping with a change from rev 1.47 of i82365.c:
always map attr memory 8 bit, since its defined that way. (chopps)
2000-02-21 01:44:36 +00:00
sommerfeld 3a76270201 deal with a DELAY vs. delay issue 2000-02-20 22:19:29 +00:00
mjacob 717d5b1cc3 Support for > 12 byte commands for parallel SCSI. 2000-02-19 01:54:42 +00:00
soren 4331d2bcaa Regen. 2000-02-16 04:29:32 +00:00
soren 021ff75015 Add Toshiba ISA bridge. 2000-02-16 04:29:20 +00:00
mjacob 6eba47aa8f add (untested in NetBSD yet) Qlogic 12160 (Ultra3) suppot 2000-02-12 02:22:37 +00:00
bouyer f522d6f1ee Supports "USR 3CP5609 PCI 16550 Modem", from Kent Polk. 2000-02-08 16:26:23 +00:00
bouyer b3cffb232f regen 2000-02-08 16:24:00 +00:00
bouyer b614c6a569 Add US Robotics vendor ID, and USR 3CP5609 PCI 16550 Modem product ID.
From Kent Polk.
2000-02-08 16:22:37 +00:00
cgd dbeafc9dbe clean up some printfs 2000-02-06 08:14:13 +00:00
chopps 6d8c9583a7 indent this file 2000-02-05 18:42:37 +00:00
chopps 101848d272 run this through indent with some comment cleanup -- more knfing needed. 2000-02-05 18:20:08 +00:00
dante 29be498635 Add a list of all the currently supported boards 2000-02-04 13:16:22 +00:00
dante cbacaf54d7 Add AdvanSys U2W (LVD) boards support 2000-02-03 20:28:26 +00:00
dante fd2fd888ef Add AdvanSys U2W host adapters 2000-02-03 16:56:23 +00:00
dante 787999d9e4 Add AdvanSys U2W boards 2000-02-03 16:51:42 +00:00
joda 5b67628108 regen 2000-02-03 13:58:55 +00:00
joda 1533d39d9e 2 Micro -> O2 Micro 2000-02-03 13:58:28 +00:00
thorpej eed75dbc26 Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
thorpej 84dc99fdea Bring some order to the chaos which was the MII code function naming
"conventions".
2000-02-02 08:05:26 +00:00
chopps d8e72e215d implement probing for available irqs on non-cirrus pcmcia controllers
including cardbus controllers running in pcic mode
2000-02-01 22:39:51 +00:00
thorpej 547bd53f89 Add support for the SiS 7016. 2000-01-31 18:36:12 +00:00
thorpej f457f7c969 Regen. 2000-01-31 18:34:51 +00:00
thorpej a2efc77ee1 Add SiS 7016 10/100 Ethernet. 2000-01-31 18:34:19 +00:00
thorpej b1ec3fa901 Give the ISV filter a chance to verify 21143 pass 4.1 SROMs before running
them through the quirk table.
2000-01-26 16:51:11 +00:00
thorpej 063cb5e5dc Additional hackery for the Cobalt interfaces. Even though these are
pass 4.1 21143s, they have a 128-byte SROM, and thus use a different
SROM address size than all other pass 4.1 21143s.

A plea to hardware designers -- *please* read application notes for
the components you're using before putting your hardware together.  Thanks.
2000-01-26 15:50:52 +00:00
haya 639bd74d21 Pccbb manages interrupt handlers by itself for its child device. 2000-01-26 09:02:41 +00:00
thorpej 4656f0ba52 Remove the FreeBSD support from this file. It hasn't worked in FreeBSD
for some time, and only made the code harder to read.
2000-01-26 06:41:11 +00:00
thorpej 494b4a9ed3 Fix an oversight in the AIC-7xxx SEEPROM split. 2000-01-26 06:27:32 +00:00
thorpej 8949eab0cb Split the code that reads the SEEPROM into its own file. 2000-01-26 06:04:37 +00:00
thorpej 2bd8866643 "i/o" -> "memory" 2000-01-25 23:23:48 +00:00
drochner 7360584deb use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
(XXX is the hack still necessary?)
2000-01-25 22:31:06 +00:00
drochner 4f1e715248 use BUS_SPACE_MAP_PREFETCHABLE instead BUS_SPACE_MAP_CACHEABLE where the
PCI BAR bit is referred to
2000-01-25 22:30:04 +00:00
thorpej 6dc0e3435d IFM_1000_FX -> IFM_1000_SX 2000-01-25 20:19:14 +00:00
thorpej 02af3f45b6 Clean up the SROM addrbits code a little. 2000-01-25 19:53:34 +00:00
thorpej 6aca67041c Add a chip type for the Xircom X3201-3, and centralize the declaration
of the chip names array.
2000-01-25 19:29:17 +00:00
joda 492bfe70f3 get the device name from pcidevs instead of having a list here 2000-01-25 14:34:24 +00:00
augustss 73ce2abd33 Make sure PIRQD enable bit is set. From FreeBSD. 2000-01-25 11:26:06 +00:00
haya dccf05f858 Do pccbb_chipinit() after YENTA register space allocation.
Add TI PCI 1451 PCI-CardBus entry.
2000-01-25 09:36:43 +00:00
haya f18e32d670 Regen. 2000-01-25 09:06:50 +00:00
haya 7b4d7aaba1 Add TI PCI 1451 PCI-CardBus bridge. 2000-01-25 09:04:03 +00:00
chopps b50b01e020 Don't enable the interrupt until after we cycle the power, disable
interrupt at disable, and make this code look more like the std pcic
code.  From Mycroft and I.
2000-01-25 06:16:34 +00:00
thorpej c4d8a60bac Handle Cobalt Networks interfaces, which are 21143 pass 4.1 devices
with a simple (MAC address only) SROM format.

From Soren S. Jorvang <soren@wheel.dk>
2000-01-25 03:23:56 +00:00
joda 7ac1ad97ba The TI 2030 is a PCI-PCI bridge and doesn't belong here 2000-01-24 15:51:59 +00:00
joda 4b45d02e15 regen 2000-01-24 15:50:16 +00:00
joda a8308ddfd4 TI PCI2030 is a PCI-PCI bridge 2000-01-24 15:49:50 +00:00
tsubai 1ef6ee50b9 Regen. 2000-01-23 09:55:40 +00:00
tsubai 9aa167f517 Add Apple KeyLargo and UniNorth. 2000-01-23 09:54:28 +00:00
mycroft 901082bf1e Remove code that should not have been added. 2000-01-23 04:02:19 +00:00
augustss 75e8c400fa Add parens so a ?: expression binds correctly. 2000-01-23 00:10:03 +00:00
thorpej dc59bc1db3 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:39:55 +00:00
ad e716b4ba71 Fix register offset problem. This should make EISA boards work correctly,
and is also needed for the ISA frontend (some time this week).
2000-01-18 16:50:38 +00:00
bouyer 0016706a70 Clean up revision stuff for the sis. Suggested by Chris Cappuccio. 2000-01-18 13:58:07 +00:00
bouyer a569e4a38f Correct URLs. 2000-01-18 13:30:32 +00:00
cjs 762741c71d Fix the size of the playback buffer. Patch from Dave Sainty <dave@dtsp.co.nz>. 2000-01-18 04:48:47 +00:00
joda 2367ad5f3d add shutdown hook 2000-01-17 12:57:26 +00:00
bouyer 9156026f0f From chris@openbsd.org:
"Don't enable UDMA modes for revisions of SiS 5513 < 0xd0
The only revisions I know which don't actually support UDMA are 0x09 and below..
But the only revision I know which does support UDMA is 0xd0 (and presumably
above that)"
2000-01-16 21:31:28 +00:00
matt a9e57ac54d Fixes for 21143 and MII in full-duplex mode. 2000-01-15 18:39:31 +00:00
augustss a30f6c8ad9 Apply patches from Tatoku Ogaito (the author of the code). 2000-01-14 14:39:13 +00:00
tsutsui 7fcb8a3a8c minor cosmetic 2000-01-14 13:20:17 +00:00
mycroft 1ee1632a02 Remove EX_CONF_MII for the 3c980. At least 2 people need this for the card
to work.
2000-01-13 23:26:35 +00:00
joda 87414deb1e remove stale comment 2000-01-13 09:05:41 +00:00
joda 8430609055 (pccbb_pcmcia_do_mem_map): handle 8-bit memory 2000-01-13 09:01:17 +00:00
joda e8937eb4e5 make this slightly more inline with other code; and while at it, fix
some oddities in pccbb_winset
2000-01-13 08:54:20 +00:00
joda 69034619d0 add %b strings for sockevent and sockstate registers 2000-01-13 08:46:46 +00:00
haya 27214a2c93 Add an entry for Toshiba ToPIC100 CardBus-PCI bridge.
Maintainance for 3Com multi-function, 16-bit pcmcia card.
2000-01-12 09:23:26 +00:00
haya d978274ade Regen. 2000-01-12 09:11:42 +00:00
haya 6a0979928c Add an entry for Toshiba ToPIC100 CardBus-PCI bridge. 2000-01-12 09:08:36 +00:00
matt 3a0141108b Regen. 2000-01-11 17:21:02 +00:00
matt d8c0efec1b Add CompuModules DVB receiver and transmitter boards. 2000-01-11 17:20:24 +00:00
soren 18bb5846c7 Regen. 2000-01-09 09:20:01 +00:00
soren 2c073c654d Add MPC105. 2000-01-09 09:19:26 +00:00
ad 8f3fd0d6b3 Spelling. 2000-01-05 16:28:39 +00:00
drochner 6f64d1e85f regen 2000-01-05 11:32:43 +00:00
drochner 2abcb85b5f add some stuff which was mentioned on the mailing lists recently 2000-01-05 11:32:06 +00:00
chopps a4d9bd9484 Add support for setting the clock and adapt the code to the new more
generic ic/hd56470.c core which now supports the isa version of the
same card.
2000-01-04 06:31:39 +00:00
hubertf e9e9f381a1 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-31 00:12:41 +00:00
hubertf ac50ee0e91 Add an entry for the Trident Microsystems CYBER 9525
(as found in an Toshiba Satellite 2650 XDVD).
1999-12-30 23:53:42 +00:00
kleink 1e9bb239a3 Off-by-one error in limiting the DMAC buffer size for Audio 2 to 64K (actually
64K - 1); from Dave Sainty in PR kern/9064.
1999-12-28 19:26:26 +00:00
kleink f6655d0f7e Fix a buffer KVA comparison botch in eso_mappage(); from Dave Sainty in
PR kern/9062.
1999-12-28 01:39:38 +00:00
soren 841d4966c3 Lower-case Bus-Master for consistency. 1999-12-26 21:46:23 +00:00
tsutsui f1a6ac445d Use htole32() and le32toh() instead of SCR_BO().
XXX Should we still keep non-NetBSD part?
1999-12-26 10:41:22 +00:00
haya 35a9d47da9 Maintanance for Ricoh RL5C475. VAIO 505TX uses this chip. 1999-12-20 08:11:42 +00:00
tsutsui 2f3ba68db9 Add more SCR_BO(). NCR53c875 now works on macppc.
XXX All SCR_BO() macros should be replaced with htole32() or le32toh().
1999-12-20 03:37:06 +00:00
mjacob be6fe10ee6 get back to looking at config flags 1999-12-20 00:33:17 +00:00
tsutsui 7374a44f77 Use bswap32() as SCR_BO() macro to avoid unexpected side effects.
SCR_BO(*src++) caused some trouble.
1999-12-18 07:57:03 +00:00
drochner 5257d9712e regen 1999-12-17 17:19:11 +00:00
drochner 289c969284 add Intel 450NX stuff 1999-12-17 17:18:48 +00:00
augustss b7b9264da6 Regen. 1999-12-17 14:00:12 +00:00
augustss 78ba345df3 Change the Galileo entries so the generated code can be compiled. 1999-12-17 13:59:44 +00:00
soren 3017275313 Regen. 1999-12-17 01:04:47 +00:00
soren fd4557865d Fix comment. 1999-12-17 01:04:29 +00:00
soren bf75bd8856 Regen. 1999-12-17 01:03:45 +00:00
soren fdab32f446 Add Galileo Technology system controllers.
Remove obsolete ID database URL.
1999-12-17 01:02:03 +00:00
mjacob edf809c8b6 Dual LVD (1280) support. 1999-12-16 05:35:42 +00:00
kleink 5dc4b19d4d Report the Capability List support bit of the SR and, if set, print the
the Capability list pointer register as such as well as the capabilities
implemented in the list.
1999-12-15 12:27:26 +00:00
kleink 6a318fe223 Regen. 1999-12-15 11:55:35 +00:00
kleink eec28e9605 * Add ESS Maestro2 product ID.
* Add TerraTec vendor ID.
1999-12-15 11:52:55 +00:00
augustss 3c1b8138f7 Add a device driver for the Cirrus Logic CS4280 sound chip.
The code has been contributed by Tatoku Ogaito.
1999-12-13 20:19:23 +00:00
tron 821c7a01f8 As suggested by Jason Thorpe back out revision 1.27 because it broke
PHY probing for the ThunderLan driver.
1999-12-12 17:55:21 +00:00
thorpej 014cd3fcc1 Take a stab at making this work on big-endian systems. 1999-12-12 17:46:36 +00:00
thorpej afbb07a0e5 Use htole32() and le32toh(). 1999-12-12 02:53:56 +00:00
thorpej 3716f21b7e Use htole32(). 1999-12-12 02:50:40 +00:00
thorpej caae0e1aa1 - Don't try to run the chip in big-endian mode. Not all chips support
this consistently, and it doesn't always work even when the chip
  supports it.
- Make sure things DMA'd to the chip that the chip interprets are in
  little-endian mode.
1999-12-11 00:32:59 +00:00
kleink c88b5146dc Add support code to have the Hardware Volume Control interact with the
software mixer Master Volume state in a defined way by lazily updating the
latter if input from the former was processed.
1999-12-10 19:13:00 +00:00
kleink 6d1d09f757 Add a symbolic name for the ES1946 rev. E in this place, too. 1999-12-10 16:50:52 +00:00
thorpej 546480874c After reading the 21143 manual again, make sure SNOOZE is cleared in
the CFDA register, too.
1999-12-07 07:36:19 +00:00
thorpej 747d454ffe Add the PMCSR offset for the 21143, and make sure to bring the 21142
and 21143 out of sleep mode.  From Masanori Kanaoka.
1999-12-07 07:32:58 +00:00
thorpej f773270d0d If, on the 21143, we find that we don't have an ISV SROM, try reading
it again, with 8 address bits.  21143 Pass 4.1 has a larger SROM,
for storing the CIS when used in a CardBus application.
1999-12-07 07:20:17 +00:00
drochner 0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
thorpej 9eea13a674 Mark exactly 3 uses of the SCR_BO() macro as being bogus; these 3 uses
already involve byte swapping on big-endian systems due to bus_space_*().

However, the use is self-consistent, and the value is not interpreted
by the chip, so it probably does not matter.  Leave them in for now; we
can always look at their removal later.
1999-12-05 19:40:18 +00:00
thorpej 8c1cbdbed5 Slight change to previous, to make it more obvious as to what's going on. 1999-12-05 19:33:13 +00:00
thorpej d06db4b7da I have the feeling that OpenBSD has never tried the 53c825a, 53c875, 53c875j,
53c885, 53c895, or 53c896 on big-endian systems.
1999-12-05 18:40:46 +00:00
thorpej 389c599f35 Changes from the OpenBSD `ncr' driver to byte-swap the script on big-endian
systems.  Should make this go on e.g. the Apple Network Server.
1999-12-05 18:25:18 +00:00
ragge 6aabd4d0c2 CL* discarding. 1999-12-04 12:11:13 +00:00
castor b8a6774e36 Add support for Lava Computers MFG 2sp-pci and quattro cards. 1999-12-04 05:43:44 +00:00
castor 165dc789fb Regen 1999-12-04 05:43:02 +00:00
castor fce37d6113 Add vendor ID for Lava Semiconductor (http://www.lavalink.com) 1999-12-04 05:41:08 +00:00
thorpej 111b1dc2ee Regen. 1999-12-04 04:41:40 +00:00
thorpej ddbe03436b Add some of the Compaq RAID controller IDs. 1999-12-04 04:40:57 +00:00
mjacob e5835e36c3 request/response queues now indexed via u_int16_t. Add back in f/w inclusion
and clean up it's compilation. get chip rev out of pci header.
1999-12-04 02:54:54 +00:00
kleink eab9ce05b7 A PCI Revision ID of 0x02 is what ESS happens to be calling ES1946 Revision E. 1999-12-03 22:34:28 +00:00
drochner 229f631a84 regen 1999-12-01 15:08:17 +00:00
drochner 1657f687be add Cyclades 4Y and 8Y 1999-12-01 15:07:44 +00:00
drochner a7ee57948b -support 3c905B-COMBO - somewhat preliminary: the chip has both an internal
MII PHY capable of NWAY (according to the Linux driver) and plain BNC/
 transceiver connectors. The shared code can't handle this yet, so leave
 out MII/NWAY for now.
-print out revision number from PCI config header, this has been useful to
 identify buggy chips
1999-11-30 19:16:51 +00:00
drochner 9faac4111e regen 1999-11-30 19:10:38 +00:00
drochner b5db34e4d5 add 3c905B-COMBO 1999-11-30 19:09:54 +00:00
bouyer 0c3ecf8e5e Improve Ultra/66 support now that I've got some docs from Promise. 1999-11-28 20:05:18 +00:00
augustss 7b92ed07bd Propagate the USB revision number to the usb driver. 1999-11-20 00:57:08 +00:00
thorpej 7479d29f00 Make the ThunderLAN and VIA Rhine drivers use the common MII bit-bang module. 1999-11-19 18:27:18 +00:00
thorpej 9ed17102f4 - Use the common MII bit-bang module.
- Add support other than 128-byte SROMs.
- Add support for the 21142/21143 MII.
1999-11-19 18:22:42 +00:00
augustss ef8e85f177 Regen. 1999-11-17 00:09:48 +00:00
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
thorpej e2a320f925 Oops, fix Winbond regshift. 1999-09-14 05:59:53 +00:00
thorpej 12c167b5ca Change the semantics of `sc_regshift'; it is now the shift required to
make a CSR index number into a CSR offset.  Introduce a couple of macros
to handle CSR name -> offset conversion.
1999-09-14 05:52:21 +00:00
augustss 10d4a4d5fe And commit two files I forgot in the rearrangement for testing for
interrupt context.
1999-09-14 01:07:13 +00:00
thorpej a03bd733ca - More PNIC NWAY stuff. Still more work to do, here.
- Fix the SROM checksum routine.
- Add code to parse the old DEC Address ROM SROM format.
- Rearrange the statchg routines a bit, to make them consistent with one
  another.
- Add support for the DECchip 21040.  XXX No support for media autosense
  yet, and no support for any of the multi-port boards yet.
1999-09-14 00:55:38 +00:00
soren 203f000d1a Regen. 1999-09-11 06:27:36 +00:00
soren dfbe7449e4 Add ENI SpeedStream. 1999-09-11 06:27:25 +00:00
augustss 6a58ae2d93 Regen. 1999-09-10 19:56:51 +00:00
augustss fb9d7d86ae Add more TI CardBus bridges. Taken from the CardBus patches. 1999-09-10 19:55:54 +00:00
thorpej a10045109d Add chip types for several more Tulip clones (ASIX, ADMtex, PNIC II, Davicom),
and match the Compex RL100-ATX; it uses the Winbond 89C840F (RL100-TX is
a Macronix 98713).
1999-09-08 22:29:46 +00:00
thorpej e0c4f8ff92 Regen. 1999-09-08 22:25:56 +00:00
thorpej dfdd1affb4 Add some more Tulip clones. 1999-09-08 22:25:19 +00:00
thorpej ab08b6b863 Update for Lite-On product ID change. 1999-09-08 21:42:44 +00:00
thorpej ab7310ed6e Regen. 1999-09-08 21:39:54 +00:00
thorpej 9bb30be866 Add Davicom Semiconductor vendor ID, and Davicom DM9102 10/100 Etherent
product ID (Yet Another Tulip Clone).
1999-09-08 21:39:24 +00:00
thorpej 187510560e Regen. 1999-09-08 21:34:33 +00:00
thorpej 46e11c9fd8 LITEON_PNIC -> LITEON_82C168 1999-09-08 21:33:59 +00:00
augustss e1766aacfa Make sure not to use the io handle before it's been initialized. 1999-09-04 22:00:32 +00:00
thorpej 6a2319b969 Byte swap the EEPROM words on the PNIC. From Stephen Ma. 1999-09-03 00:24:56 +00:00
ross 533b6088cd Make it compile. 1999-09-02 23:23:03 +00:00
kleink 9c10799ac4 Use the approximated sampling rate to compute the filter rate. 1999-09-02 17:26:15 +00:00
fvdl a6aa19699f Don't assume that an -FX card has MII (because it doesn't). 1999-09-01 20:26:43 +00:00
kleink 480e8a1a1c No longer requires mpuvar.h. 1999-09-01 18:03:10 +00:00
bouyer ce80d27933 Don't try to unmap unmapped space in case of failure in
pciide_mapregs_compat(). From OpenBSD.
1999-09-01 15:17:07 +00:00
drochner 7c34574b94 add "ti" - Alteon Gigabit Ethernet 1999-09-01 11:54:32 +00:00
drochner 45e5d743af quick 'n dirty port of FreeBSD's Alteon Gigabit Ethernet driver.
todo:
-IPv6
-clean up jumbo buffer allocation - NetBSD provides an opaque argument
 to the free function, thus doesn't need the hack done here
-deal correctly with the mapping of the shared memory
1999-09-01 11:47:46 +00:00
drochner 7eaa4e57fd regen 1999-09-01 11:42:32 +00:00
drochner 7c2d8bc001 -add some incarnations of the Alteon gigabit Ethernet adapter
-sort some entries which were put in by legasthenics
1999-09-01 11:40:42 +00:00
kleink e5d76dce61 Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.
1999-09-01 07:32:31 +00:00
thorpej e293024ffa This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
1999-09-01 00:32:41 +00:00
bouyer 8e49b58de0 Add support for Intel 810 chipset (ICH/ICH0).
While I'm there merge back piix_channel_map into piix_chip_map.
1999-08-30 12:49:21 +00:00
bouyer 52068f73ce Add support for the Promise Ultra/33 and /66 pci IDE controller. In addition to
chip-dependant code this required the following changes:
- Instead of attaching the device in a generic way with some chip-dependant
  routines, use a chip-dependant attach routine with some common code
  factored out. The code is marginally bigger, but this allows the CMD64x
  flag hack to go away.
- For chips that report per-channel 'irq triggered', test this before calling
  wdcintr() for the native-pci irq case (compat intr can't be shared),
  as wdcintr() has no good way to know if a irq was for it or not, and
  ends up with irq loss. XXX for chips that don't have this feature irq sharing
  will not work properly !
- add my copyrigth notice (could have been done some time ago I think :)

There are still some issues to be solved with the Promise controller and
ATAPI devices.
Many thanks to Paul Newhouse for shipping me 2 Ultra/33 boards for doing this
work.
1999-08-29 17:20:10 +00:00
bouyer 4819ee1cf1 Add definitions of the DMA mode control registers. They should be used
by pciide, but I have yet to find how to map them.
1999-08-29 17:06:43 +00:00
augustss 64c7328230 Regen. 1999-08-28 09:22:58 +00:00
augustss d0fbee34df Add a bunch of i810 devices. From Paul Shupak <paul@plectere.com>. 1999-08-28 09:18:08 +00:00
thorpej 299c0b1d83 Regen. 1999-08-27 23:27:39 +00:00
thorpej e1b0108ce6 Add Samsung Semiconductor KS8920 10/100 Ethernet. 1999-08-27 23:25:36 +00:00
soren aa550d38fb Regenerate. 1999-08-24 21:32:25 +00:00
soren fa181849a2 Add Intel i740. 1999-08-24 21:32:04 +00:00
augustss 5d8adfb5a2 Disable interrupts early. 1999-08-21 21:35:36 +00:00
sommerfeld be5fe633b8 clean up attach messages slightly. 1999-08-20 03:36:59 +00:00
matt fd59bba7cb after bus_dmamem creating some memory, zero it out. This has stopped
my alpha from getting COMMAND FAILED on random boots.
1999-08-19 00:43:45 +00:00
drochner f61d8fd937 regen 1999-08-17 09:42:14 +00:00
drochner c8aabedc83 -mention a location where the old PCI database can still be found
-add Alteon Gigabit Ethernet
1999-08-17 09:40:25 +00:00
mcr 03946f957a Added Solidum Systems PCI vendor ID and Device IDs 1999-08-16 21:36:39 +00:00
kleink 48f055e09b Add missing MPU interrupt glue. 1999-08-14 22:42:16 +00:00
kleink 7b34e008a9 Forgot to initialize a pointer; from Simon Burge. 1999-08-14 15:05:02 +00:00
hwr 4882320d4b Initialize error variable. Should fix spurious init errors.
From Dave Huang in PR 8205.
1999-08-14 11:23:39 +00:00
hwr af827a1284 Remove dulicate "Ethernet" output. From Dave Huang in PR 8206 1999-08-14 11:09:18 +00:00
bouyer 59af828a94 Regen. 1999-08-12 09:43:18 +00:00
bouyer 7c3cb9c796 Add Promise Ultra66, change entry of Ultra33 to reflect the fact that can
"only" do ultra/33.
1999-08-12 09:42:11 +00:00
tron 439a6c4942 Add missing prototype for read_tekram_eeprom() to make driver compile if
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00
thorpej 4bd8f1566c Be a little nicer about memory usage:
* Don't allocate receive buffers until the interface is actually brought
  up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
  a single header mbuf if it is small enough to fit in one, rather than
  burning an entire cluster on it.  Note that this change will be mostly
  moot if/when sbcompress() it changed to handle compressing clusters.
1999-08-03 17:25:51 +00:00
augustss dbb71e4b35 Add the file I forgot at the previous MPU changes. 1999-08-03 00:27:27 +00:00
augustss 42fb510148 Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
augustss cbf1f6f1b9 Move the MPU driver isa/ to ic/.
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
1999-08-01 18:05:39 +00:00
veego 9baa857f5b Regen. 1999-08-01 08:32:48 +00:00
veego 9657de4af2 Add an entry for the TI PCI1211 PCI-CardBus Bridge.
From the cardbus patches.
1999-08-01 08:32:08 +00:00
thorpej 76dcbfad36 Regen. 1999-07-29 20:58:19 +00:00
thorpej 8548b384f5 Add some Initio SCSI controller IDs. 1999-07-29 20:56:55 +00:00
bouyer a81c366fed Bump MAX_START to 256, so that the ncr driver can work with more than 5
devices on the same bus. See PR kern/6347 for details.
1999-07-29 10:00:34 +00:00
soren 7220690fb8 Regen. 1999-07-28 22:38:00 +00:00
soren 4341d92cb3 Correct Acard device names.
Add and update a few IBM devices.
Add Toshiba and NEC devices in Portege 3K's.
1999-07-28 22:36:10 +00:00