Commit Graph

2154 Commits

Author SHA1 Message Date
reinoud e8858886be Fixed compiling error when AUDIO_DEBUG was switched on ... 2001-09-03 15:07:37 +00:00
thorpej a73a7f44bd Bump MAX_CONF_DEV to 32, add some missing newlines in error
messages, and add a TODO item (allocate all metadata dynamically).
2001-09-03 03:46:26 +00:00
enami 26ea33d355 Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
mjacob 6bb9f4a949 Add support for 2 Gigabit cards (2300/2312). This necessitated a change
in how interrupts are down- the 23XX has not only a different place to check
for an interrupt, but unlike all other QLogic cards, you have to read the
status as a 32 bit word- not 16 bit words. Rather than have device specific
functions as called from the core module (in isp_intr), it makes more sense
to have the platform/bus modules do the gruntwork of splitting out the
isr, semaphore register and the first outgoing mailbox register (if needed)
*prior* to calling isp_intr (if calling isp_intr is necessary at all).
2001-09-01 07:12:23 +00:00
briggs e6ca9b3514 Fix use of uninitialized variable. Missed by gcc, spotted by enami. 2001-08-31 01:00:16 +00:00
soren 9b39be0b69 Regen. 2001-08-30 16:22:48 +00:00
soren 6863a605e0 Add some more Hifn chips. 2001-08-30 16:21:42 +00:00
haya 2228225e5c Add some register definitions for TI PCI12XX and Toshiba ToPIC.
Add ToPIC97 and ToPIC100 chip initialisation routine.
Add more TI PCI12XX chip initialisation.
2001-08-30 09:20:17 +00:00
briggs 6017201500 Rename PCI_MAPREG_TYPE_ROM to PCI_MAPREG_ROM_ENABLE to keep up with pciconf.? 2001-08-30 02:53:56 +00:00
briggs e4f8f2f2da Respect __PCI_BUS_DEVORDER.
If all devices can handle 66MHz, then use 66MHz.
Triple the number of configured I/O ranges that we can handle on a bus
  (8 was insufficient--originally didn't consider multifunction devices)
Allow one to specify which types of memory to configure, I/O, ROM, or
  MEM--for example, one could configure only ROM or only non-ROM.
Ensure that the ROM is disabled if we're not configuring it.
Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid
  memory ranges configured.
2001-08-30 02:52:41 +00:00
tsubai de0feee64b Regen. 2001-08-28 23:54:14 +00:00
tsubai 7cba152e7c Add more Apple devices. 2001-08-28 23:53:14 +00:00
thorpej 14f612c5b3 - Swap the bytes OR'd into init_ladrf[], for big-endian machines.
- Make sure to sync the init block.

Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
thorpej 2e4bdfe678 Add a TODO item: Do this in 2 passes. One pass that configures the
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped.  This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).
2001-08-28 15:13:48 +00:00
thorpej cdf824bfb6 If MD code doesn't provide pci_conf_hook(), then default to not mapping
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).
2001-08-28 15:09:10 +00:00
thorpej fdb02063d2 Print "auto-FDX" for the second "autoselect" instance. Pointed out
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
eeh 8949c133a4 Get rid of debug printf. 2001-08-27 22:38:34 +00:00
augustss 8afb9f3591 Use #include <machine/intr.h> instead of #include <machine/cpu.h> to
improve portability.
2001-08-27 22:37:33 +00:00
augustss 7b55182d7d Remove an unneeded #include. This makes the file compilable on more
platforms.
2001-08-27 22:18:49 +00:00
augustss 3346d43a5b Make it compile. 2001-08-27 22:17:29 +00:00
thorpej 1930fec887 New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00
eeh b22154dd79 Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).
2001-08-27 17:47:35 +00:00
enami 4f924773b7 Regen. 2001-08-27 14:10:20 +00:00
enami 02d004f2c8 Sort Intel products by id and kill duplicated entries. 2001-08-27 14:04:47 +00:00
ad 13bc6b2e19 Use PWAIT for the lock, not 0. 2001-08-27 11:24:38 +00:00
ad ffb2d70070 Regen. 2001-08-27 08:03:37 +00:00
ad 8fb0b8c6dc Add a DPT PCI-PCI bridge. 2001-08-27 08:02:52 +00:00
haya 45e61b5399 Buf fix: use PWAIT priority and do not set PCATCH. 2001-08-24 10:55:53 +00:00
tsutsui b6e4b26d3b Check 80 pins cable in acard_setup_channel() for Acard ATP860. 2001-08-23 10:02:25 +00:00
thorpej 29bfa727c1 Regen; take part numbers out of PCnet-PCI product descriptions. 2001-08-23 03:42:26 +00:00
thorpej 16efbbf387 Take part numbers out of the PCnet-PCI product descriptions. 2001-08-23 03:41:36 +00:00
thorpej 2c469bbf82 Regen; Add Promise ATA/100 TX2. 2001-08-23 03:32:24 +00:00
thorpej 915a8ef871 Add Promise ATA/100 TX2 device ID. 2001-08-23 03:31:55 +00:00
thorpej 10591340be Add a PCI_NETBSD_ENABLE_IDE option, that goes along with
PCI_NETBSD_CONFIGURE, which tells machine dependent code
to enable the specified (by a bitmask) PCI IDE channels in
the southbridge, in the event that system firmware does not
do so.
2001-08-22 00:36:57 +00:00
fvdl b9f24a3dd1 Regen. 2001-08-20 19:29:59 +00:00
fvdl 69906a3032 Add some entries for the AMD 76x chipset for completeness. 2001-08-20 19:29:08 +00:00
wiz 1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
gehenna fb5869c240 Regen 2001-08-20 03:48:29 +00:00
gehenna f0dd0ada57 Add NEC USB2.0 Host Controller 2001-08-20 03:45:55 +00:00
kanaoka 13f671edcf Improve intr_ack code to support for 3c556,3c556B.
Some cards don't have an interrupt acknowledge
  register in PCI config space, so we map and write
  it, such as CardBus driver does.
2001-08-18 05:49:28 +00:00
thorpej 2d4c311492 Regen; added Avance Logic ALS4000. 2001-08-18 05:00:51 +00:00
thorpej 563f369b78 Add Avance Logic ALS4000 Audio. 2001-08-18 05:00:21 +00:00
matt 864924f7f3 regen. 2001-08-17 23:14:40 +00:00
matt 211070f3bd Add Apple Uni-N (as used in QuickSilver) product IDs. 2001-08-17 23:14:00 +00:00
mrg 4f3eac8332 mtod() with uintptr_t, not bus_addr_t. 2001-08-14 11:57:26 +00:00
mrg c9fa7a702a add (u_long) casts for sparc64. 2001-08-14 11:55:38 +00:00
cjs 6c1314f4b8 Add Transmeta and products, and an ALI integrated sound/modem device. 2001-08-13 08:51:38 +00:00
bouyer efdadcb7dc Properly set/clear IFF_OACTIVE. 2001-08-07 16:53:06 +00:00
soren 3c508a8790 Add support for the PCI-400 card and correct the clock rate for all the
VScom/Titan cards.
2001-08-06 22:25:36 +00:00
bouyer 5243b06e38 Improvement: allocate one page of dmamem for Rx, Tx and nullbuff instead of
3 different ones.
Also pass the rigth seg/nseg to bus_dmamem_free().
Correct types in debug printf's
2001-08-06 19:20:26 +00:00