Commit Graph

1476 Commits

Author SHA1 Message Date
thorpej 5a41b5bf56 - if_tlp_cardbus.c: Use the `pmreg' pointer passed by by
cardbus_get_capability() [mirror change already made to if_tlp_pci.c]
- if_tlp_cardbus.c: If we don't find an ISV SROM, try to grab the
  Ethernet address from the CIS.
- if_tlp_cardbus.c: set CardBus cards to store-and-forward mode from
  the get-go.
- Put the TxThresh tables in tulipvar.h, and use them in the CardBus
  and PCI front-ends to go to store-and-forward mode.
- Document the Xircom X3201-3 clone a little more.
2000-04-04 19:22:50 +00:00
joda d3b06b0596 regen 2000-04-03 15:05:05 +00:00
joda 0caed62b03 add some NVIDIA chipsets 2000-04-03 15:04:42 +00:00
nathanw f5b5bbbf21 Add code to read and write bt463-style ramdacs; pick ramdac interface
functions based on type returned from tga_getconf().
Adapt to change in ramdac interface.
Fix race condition in tga_sched_update().
Make tga_sched_update() work before interrupts are enabled.
2000-04-02 19:01:11 +00:00
nathanw bc3260fcb0 Restore ramdac-type field to TGA configuration structure. 2000-04-02 18:59:32 +00:00
nathanw c0a4c9e67d Move bt463 code to dev/ic and adapt to the new ramdac interface.
Set default window type to 24-bit truecolor.
Correctly set pseudocolor mode.
2000-04-02 18:57:36 +00:00
bouyer 26f6c9a9cf - DMA code cleanup: pciide_dma_finish() doesn't stop/unload the current DMA op
if an IRQ was not detected, unless the force flag was given. Use this to
  detect if the IRQ was for us (closer to shared IRQ for controllers which
  don't have their own IRQ handler in pciide.c) and to poll for DMA xfer.
  Also makes the timeout recovery code simpler.
- ATAPI cleanup: don't call controller-specific functions from atapiconf.c
  (wdc_*), so that it's possible to attach an atapibus to something else
  than a wdc/pciide (Hi Lennart :).
  Overload struct scsi_adapter with struct atapi_adapter, defined
  as struct scsi_adapter + atapi-specific callbacks. scsipi_link still points
  to an scsi_adapter, atapi code casts it to atapi_adapter if needed.
  Move atapi_softc to atapiconf.h so that it can be used by the underlying
  controller code (e.g. atapi_wdc.c).
  Add an atapi-specific callback *atapi_probedev(), which probe a drive
  in a controller-specific way, allocate the sc_link and fills in the
  ataparams if needed. It then calls atapi_probedev() (from atapiconf.c)
  to do the generic initialisations and attach the device.
- While I'm there merge and centralise the state definitions in atavar.h.
  It should now be possible to use a common ata/atapi routine to set the
  drive's modes (will do later).
2000-04-01 14:32:22 +00:00
tsarna 07dea214dc Add auvia, a driver for the integrated AC'97 audio on the VIA VT82C686A
southbridge.

Tested on a ASUS K7M (w/ AD1881 codec). Please report any problems.
2000-03-31 04:45:28 +00:00
joda 4772fa5b3c regen 2000-03-30 17:35:39 +00:00
joda 4c8aed5893 add the device id for the VIA 686A modem controller, continuing the
trend of mislabelling VIA's south bridges
2000-03-30 17:34:53 +00:00
augustss 169ac5b3c1 Remove register declarations. 2000-03-30 12:41:09 +00:00
ad 2030c2a75a Regen. 2000-03-27 16:56:27 +00:00
ad 9bdb74bc42 Add a couple of DPT devices. 2000-03-27 16:55:43 +00:00
soren 7b737d77b3 For Cobalt Networks 21143's, always use store-and-forward and toggle
a GPIO line to fully reset the PHY.
2000-03-26 10:53:39 +00:00
mycroft d07e505604 Rather than guessing at the location of the PMCSR, use the pointer returned by
pci_get_capability().  (This is, after all, a standardized interface...)
2000-03-23 22:23:03 +00:00
joda 8ff53e0069 regen 2000-03-23 15:11:26 +00:00
joda f68049679a add two Intel 82810E devices (from IWAMOTO Toshihiro) 2000-03-23 15:10:56 +00:00
ad 5cc8601c8f Identify individual models correctly. 2000-03-23 11:33:35 +00:00
ad 90ae76da4b Regen. 2000-03-23 11:18:09 +00:00
ad 96ec85342f Back out rev 1.197. 2000-03-23 11:17:32 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
ws 7da71e5f9e Make IPKDB working again.
Add support for i386 debugging and pci-based ne2000 boards.
2000-03-22 20:58:25 +00:00
kleink c8b75dd368 Scale the drain timeout for allowing auto-initialize DMA to complete. 2000-03-22 14:37:43 +00:00
haya ddd36bd41a 1. Do not apply 5 V on a CardBus card.
2. Do not avoid ISA hole when a device requires more than
   256-byte io space.
3. Remove sending CardBus bridge's function number to
   cardbus stack.  This number is not needed for anyone.
2000-03-22 09:35:06 +00:00
cgd 00f7a2d476 if the PCI_CONFIG_DUMP option is defined, set the patchable
pci_config_dump variable to 1.  otherwise, it gets set to 0.  If
that's set, when configuring PCI devices spew the very verbose
configuration space header dump that was previously "#if 0"'d.
If you use this option, or patch the variable to 1, it's strongly
encouraged that you have used the MSGBUFSIZE option to enlarge the
kernel message buffer.
2000-03-22 00:47:26 +00:00
cgd 9c93a8b8ff add PCI_CONFIG_DUMP as a defopted option 2000-03-22 00:43:47 +00:00
cgd 7990787b1b opt_pciverbose.h -> opt_pci.h (it's gonna be used by more things, soon) 2000-03-22 00:36:29 +00:00
joda 1e0edbf862 regen 2000-03-21 18:51:43 +00:00
joda 1173b4b28d add two VIA VT8371 devices 2000-03-21 18:51:08 +00:00
ad 95a8d1bfcd Try to use memory mapped I/O on everything but the SMART-2/E. 2000-03-21 13:45:16 +00:00
tsutsui 979d79d931 Use sc_cfg4 for the Am53c974. 2000-03-20 05:48:28 +00:00
soren 2d937cc876 Make it a bit more clear which functions are specific to which models.
Split off register definitions into eapreg.h.
Remove duplicate codec reset.
2000-03-19 17:11:50 +00:00
cgd 638726b0db * rework the quirk table ('device_tab'):
* QUIRK_NOMSG only has any meaning when NCR_GETCC_WITHMSG
      is defined.  Therefore, there's no harm in using it when
      NCR_GETCC_WITHMSG is not defined.  so, simplify the table
      by removing the #ifdef.
    * there's really no point in having table entries after
      an entry which will match everything.
    * add some comments, clean up spacing.

* add an entry for "QUANTUM"/"ATLAS IV" drives with flags
  QUIRK_NOTAGS|QUIRK_NOMSG.  (I included the latter flag only
  because everything else had it before! ... which means that
  all the functionality added with the NCR_GETCC_WITHMSG define
  would never get used! *sigh*)  The latter fixes the problems
  I was having on an Atlas, and should fix the problems mentioned
  by Hans Hoppe <hopha@casema.net> in comments on PR#7694.
2000-03-18 06:59:02 +00:00
cgd 52b7212c58 undo the non-script changes from rev 1.87. They caused problems in
1.4.x and i have concerns (but no concrete proof) they will cause/have caused
problems in -current as well.  Really, the right way to fix this is to
rewrite the driver, and push up tagged queueing handling into a common
middle layer that'll do it right in a low-level-driver-independent manner.
I'll fix my particular issues by using the ncr driver quirk mechanism.
2000-03-18 06:47:28 +00:00
soren bd1cc85c63 Use a kvtophys() hack for mips like for alpha. No idea if it actually works.. 2000-03-17 11:30:14 +00:00
bouyer 5c0cae7a28 Fix botched merge in previous. 2000-03-17 09:25:22 +00:00
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