Commit Graph

1265 Commits

Author SHA1 Message Date
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