mrg
58aa48a579
regen.
1999-05-29 07:12:11 +00:00
mrg
5dfbc15479
fix error in previous.
1999-05-29 07:10:33 +00:00
mrg
3f99c8bd11
regen.
1999-05-29 07:08:52 +00:00
mrg
a250615a3b
s/bus/bridge/ for the sun pci bridges. my bad.
1999-05-29 07:07:51 +00:00
fvdl
06019caad8
Recognize 900B-TPC. From Robert Elz.
1999-05-29 01:31:17 +00:00
fvdl
8a6bddab08
Regen.
1999-05-29 01:29:21 +00:00
fvdl
0ca37269fb
Add 3c900B-TPC product ID. From Robert Elz.
1999-05-29 01:28:52 +00:00
bouyer
cc46db1ba6
For the PIIX, make sure the PIO_mode and DMA_mode get reset to the values used
...
by the controller for all drives.
1999-05-27 09:45:50 +00:00
mrg
c346b0ace0
regen.
1999-05-27 03:05:32 +00:00
mrg
8c83c41668
add the UltraSPARC IIi PCI interface
1999-05-27 02:51:19 +00:00
veego
e21201e114
Regen.
1999-05-23 21:28:03 +00:00
veego
a674692065
Add several entries.
1999-05-23 21:26:54 +00:00
augustss
4655ae1230
Keep track of vendor id and make sure the vendor string is NUL terminated.
1999-05-20 09:52:35 +00:00
augustss
b9f32af4e5
Regen.
1999-05-20 09:23:33 +00:00
augustss
10713ae5ad
Change vendor id 0x11c1 to Lucent since that seems to be what it is now.
...
Add a Lucent USB controller.
1999-05-20 09:23:08 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
drochner
d2fe8176fd
regen
1999-05-17 17:08:08 +00:00
drochner
2187089e80
add NeoMagic 256AV Video/Audio chip
1999-05-17 17:07:00 +00:00
thorpej
0d0cc4aa14
Rework the way ukbd attaches itself as the console (again). We now allow
...
the code to pick the first USB keyboard instance as the console, ignoring
which USB controller it's on. Should eventually allow detaching of the
console keyboard.
From Jason Thorpe <thorpej@nas.nasa.gov>
1999-05-13 23:34:38 +00:00
explorer
2fc0e43760
just say no to __BROKEN_INDIRECT_CONFIG
1999-05-12 22:55:14 +00:00
mjacob
61bf929d14
Do a fairly large internal restructuring to accomodate dual-bus host adapters
...
(e.g., the 1240). Include the new 1080/1240 NVRAM layout reading code. Some
moderately significant mailbox changes were necessary also to accomodate a
second channel.
1999-05-12 18:59:23 +00:00
thorpej
83b019c919
Set the data link type to DLT_PPP_SERIAL so that tcpdump can do
...
something useful with our captured frames.
1999-05-11 02:57:58 +00:00
hwr
fbdd142801
Regen.
1999-05-07 21:20:12 +00:00
hwr
0fd4ff06c2
Added CIRRUS CL_PD6832 from "Johnny C. Lam" <lamj@stat.cmu.edu> in kern/7119.
1999-05-07 21:19:06 +00:00
hwr
4d524d7360
Regen.
1999-05-07 21:11:20 +00:00
hwr
91ddf1d6a6
Added TI PCI1251 from joda@pdc.kth.se (Johan Danielsson) in kern/6873.
1999-05-07 21:09:31 +00:00
drochner
1669ea470b
regen
1999-05-07 15:40:57 +00:00
drochner
1ce7678fb8
add another AGP graphics chip and a PCI-VME interface
1999-05-07 15:38:40 +00:00
matt
307a48b721
Regen
1999-05-07 00:57:46 +00:00
matt
e735c2bf67
Add TI LYNX FireWire Controller (as used in the Apple B&W G3)
1999-05-07 00:56:46 +00:00
thorpej
375d7c32f2
Add a way for machine-dependent code to tell a USB controller that it
...
has the console input device. The USB keyboard driver uses this to
attach the first USB keyboard instance as the console keyboard.
Unfortunately, this must still be deferred to autoconfiguration time,
but there's not much we can do about that right now.
1999-05-06 19:12:22 +00:00
mrg
8c630939a3
regen
1999-05-06 14:29:21 +00:00
mrg
10c5298d7e
add pci devices found in U5's:
...
- ati weird mach64
- ebus bus
- `network' hme compatible ethernet
- `simba' PCI bus
1999-05-06 06:17:39 +00:00
thorpej
964b69ec84
Back out previous. Thanks to cgd for pointing out another way to do this.
1999-05-06 01:10:28 +00:00
thorpej
2a4490daa5
Add a `bus' member to the pci_attach_args. This is not normally used,
...
but some child drivers might need to know this information.
1999-05-06 01:01:19 +00:00
bouyer
9893727873
Fix the way we compute the mode to use: for multiword DMA, the used mode was
...
2 less than the one we could really use, so for multiword DMA mode 0 or 1,
the driver tried to use DMA mode 255 or 254 (0 - 2 with a u_int8_t).
1999-05-05 15:24:59 +00:00
ross
7bffc1e720
Protect WDCDEBUG from multiple definitions.
1999-05-03 07:44:47 +00:00
nathanw
4f8cf68674
Rototillage; make this actually useful. To wit:
...
- Initialize more of the Bt463's registers, instead of leaving them
in undefined states. Notably, the window type table is set up
with 8-plane pseudocolor and 24-plane truecolor modes.
- Bus-space-ify, mostly. Could use some more cleanup, but not until
the rest of the tga stuff is converted, too.
- Do the TGA/RAMDAC communication dance more carefully.
- Explain a lot more of what's going on in comments.
1999-04-30 02:47:42 +00:00
ross
770b67425d
Accelerate scrolling. Originally by Roland Dowdeswell, revised by
...
{drocher,ross}@netbsd.org.
1999-04-28 23:24:33 +00:00
thorpej
55fd59f1e0
Make PCI IDE DMA work on big-endian systems.
1999-04-28 00:18:12 +00:00
thorpej
1eb689a712
Make the VIA Rhine driver work on big-endian systems. From Izumi Tsutsui,
...
PR #7305 .
1999-04-26 23:19:10 +00:00
thorpej
4c7a2ee3b0
Fix a couple of problems in the PCscsi-PCI driver:
...
* resid in pcscp_dma_intr() should also be set in the data out phase.
* Don't set up DMA in the transfer pad operations.
* Change URL of the PDF technical manual to the index page.
* include <machine/bswap.h> on big endian machines.
Fixes timeouts writing large blocks to tapes. From Izumi Tsutsui,
PR 7252.
1999-04-25 01:20:02 +00:00
thorpej
207f873ac2
Fix an mbuf leak in the strict alignment case of packet reception.
1999-04-24 22:09:56 +00:00
jonathan
af729a150c
initialize 'p' for lame gcc-2.7.2.2 flow analysis.
1999-04-14 03:26:34 +00:00
jonathan
9e87738e9d
Add entries for TI, Ricoh, Toshiba PCI-to-cardbus bridge chips, so
...
we can identify them as cardbus chips supported by the cardbus patches.
Add entry for OPTI chipsets whose interrupts arent properly set up by
some BIOSes.
From cardbus patches<ftp://nandra.iri.co.jp/pub/NetBSD/CardBus by
HAYAKAWA Koichi <haya@tcad.ulsi.sony.co.jp>.
1999-04-12 23:18:16 +00:00
cjs
ecab881e98
PR 6852 from Chris Jones <cjones@hideo.nervana.montana.edu>.
...
This handles the interrupt structure of Compex boards.
1999-04-12 04:31:55 +00:00
bouyer
2198b984e8
Kill an extra 'pciide0: ' in a printf
1999-04-06 17:49:14 +00:00
mjacob
eebeea5b23
Read the board revision and trim cache line size back from 16 to 1
...
for early revision 2100 boards. Make sure to turn ROM off for these
boards.
1999-04-04 01:14:58 +00:00
tsubai
500edb5379
Fix typo. (From PR 7027)
1999-04-01 14:55:25 +00:00
tsubai
4384fd5134
Fix big-endian support.
...
TULIP_BUSMODE_BIGENDIAN does bswap packet buffers also, so we should use
TULIP_BUSMODE_DESC_BIGENDIAN on big-endian machines. (PR 7027)
XXX 21040 doesn't have this bit, but supporting only 21041+ is better than
nothing.
1999-04-01 11:02:20 +00:00
mjacob
e50460f5fa
Oops- if you enable 1080 support, remember to load the f/w
1999-03-27 01:08:59 +00:00
mjacob
99d46bf762
add isp1080 support and some basic PDB change stuff
1999-03-26 22:39:44 +00:00
bouyer
d907e1f61e
First pass at support of Compaq NetFlex 3/P PCI: this one has
...
IO and Mem base address register inverted.
Still need some MII hack to get it fully fonctionnal.
1999-03-25 16:15:00 +00:00
explorer
6b9af88b99
wrap kernel bits in shared kernel/userland files
1999-03-25 04:09:33 +00:00
explorer
7bfd643eab
install if_lmc*.h
1999-03-25 03:54:43 +00:00
explorer
0c2f5ada28
Commit files for the LAN Media Corporation high speed serial/HSSI/DS3 driver
1999-03-25 03:32:43 +00:00
explorer
960c283a65
Add LAN Media Corporation info
1999-03-25 03:28:17 +00:00
explorer
77597ecd3e
Start commit of Lan Media Corp T1/HSSI/DS3 driver
1999-03-25 00:51:53 +00:00
cgd
fe0bb65b38
in general, it's a good idea to make sure you at least have all of the
...
variables you reference, before you commit something...
1999-03-24 18:47:51 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
thorpej
3993ee01e4
Don't enable I/O or memory access here! These bits in the PCI CSR are
...
set up by the firmware, and indicate which mapping types the system
supports.
1999-03-24 01:07:59 +00:00
thorpej
ac0f626cca
Make sure bus mastering is enabled.
1999-03-24 01:05:15 +00:00
thorpej
9f85a4a798
Make sure bus mastering is enabled.
1999-03-23 23:18:50 +00:00
mycroft
cfe7413adb
Make 48KHz output work.
1999-03-22 07:58:55 +00:00
mycroft
f60907c286
Regen.
1999-03-19 06:40:11 +00:00
mycroft
4e92fb2fd1
Add AudioPCI 97 (a.k.a. Creative Ensoniq AudioPCI).
1999-03-19 06:39:32 +00:00
cgd
ff42ff62e8
pull pci_machdep.h in from machine/
1999-03-19 03:37:52 +00:00
thorpej
1954300d6c
Regen.
1999-03-17 19:21:49 +00:00
thorpej
0d433f490b
Add Silicon Integrated Systems SiS900 10/100 Ethernet.
1999-03-17 19:20:51 +00:00
mjacob
d596b20f1e
prototype 1080/1240 support
1999-03-17 06:16:42 +00:00
mjacob
e380eb62d5
Tron whacked my you-know-what because I didn't follow procedure.
...
So I insered his description of the 'procedure' in the most likely
place a developer will find it.
1999-03-16 22:41:56 +00:00
tron
ddbc34d638
Regen from "pcidevs".
1999-03-16 22:32:58 +00:00
mjacob
f50c9fa8ea
add Qlogic 1080 && 1240 product IDs
1999-03-16 21:24:46 +00:00
sakamoto
23903bfc0e
Regen.
1999-03-11 05:17:54 +00:00
sakamoto
272f5b609d
Add several VIA Technologies chipsets.
1999-03-11 05:17:24 +00:00
drochner
5704ad4969
regen
1999-03-09 11:48:59 +00:00
drochner
2987883f07
add 2 ISDN cards, from Martin Husemann per PR kern/7110
1999-03-09 11:48:03 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
dante
ceef7fa3d7
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:20:30 +00:00
bouyer
71036465a5
In cy693_setup_channel(), setup timings for IOR too (they were left to 0,
...
which is a way too higth timing for some devices). Thanks to Ken Wellsch
for trying the multiple debug kernels until the problem was located.
1999-02-22 10:12:00 +00:00
ross
ea05c3b739
Fix typo.
1999-02-20 07:07:07 +00:00
thorpej
598b05da47
Regen.
1999-02-19 19:12:09 +00:00
thorpej
d9c29083d4
Improve descriptions for DEC Ethernet chips.
1999-02-19 19:11:33 +00:00
thorpej
3f8a09bba4
Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
...
products.
1999-02-19 06:58:42 +00:00
thorpej
7248c3be19
Improve card descriptions.
1999-02-19 06:57:56 +00:00
thorpej
02df2bd5a5
Regen.
1999-02-19 06:56:53 +00:00
thorpej
1128dd593e
Improve the descriptions of 3Com Ethernet cards, and add the 3c905B-FX
...
and 3c980 Server Adapter products.
1999-02-19 06:55:15 +00:00
thorpej
3a63b5db2a
Regen.
1999-02-19 05:53:36 +00:00
thorpej
f43c45889a
Add several Tulip clone chips.
1999-02-19 05:53:00 +00:00
mycroft
bd4cd051b9
This is an utterly revolting hack to work around the previously mentioned
...
lossage. On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...
1999-02-19 02:27:59 +00:00
thorpej
a473ed5477
Fix omission in previous.
1999-02-18 19:24:39 +00:00
mycroft
699a815751
Pass the correct address (PCI bus address, not PA) to the card.
...
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits. Boom.
1999-02-18 09:22:17 +00:00
mycroft
e0b748e50c
Pass the correct address (PCI bus address, not PA) to the card.
...
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
mycroft
c02bf3c4d7
Minor code munging.
1999-02-18 05:46:38 +00:00
thorpej
982603ce5b
Don't reset the interface when the media changes.
1999-02-18 01:24:29 +00:00
thorpej
78e18b8d8c
Back out to the previous stable revision of the fxp driver. The latest
...
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft
6ce15ae4e3
spaces -> tabs
1999-02-18 00:55:36 +00:00
mycroft
f1e84a4ec5
A few things:
...
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft
8b7b7cccc7
Fix a silly type.
1999-02-17 23:55:18 +00:00
mycroft
71105fbda7
Update comments.
1999-02-17 21:44:55 +00:00
mycroft
e5f5e628d2
Pass the direction to the allocm and round_buffersize methods.
...
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
bouyer
2ccd5cde74
Correctly compute PIO/DMA mode for sis and acer chips when the drive support
...
a DMA mode with higther capabilities than PIO mode.
1999-02-16 18:11:52 +00:00
hubertf
56f2d188fc
RCS ID police
1999-02-15 04:54:34 +00:00
tron
210b267f84
Regen from pcidevs.
1999-02-14 22:44:36 +00:00
tron
acb24b6080
Add 3Dfx's Voodoo II. Fixes PR kern/7000 by Brett Lymn.
1999-02-14 22:38:18 +00:00
thorpej
70b91539e9
Restructure the interrupt handler and 1-second timer a bit, and tidy up
...
the lazy-transmit-interrupt logic, fixing a few minor logic problems.
Now unable to reproduce the lockup problem described in PR #6767 . Changing
PR's state to "feedback".
1999-02-13 02:12:59 +00:00
thorpej
f83663b7ba
Garbage-collect some unneeded definitions.
1999-02-12 00:37:07 +00:00
thorpej
7b516b31bd
Major overhaul of the Rhine/Rhine-II driver, structuring it a little more
...
like the SMC83C100 EPIC/100 driver:
* Rather than using pointers to the head and tail of the transmit and
receive rings, use wrapping indexes into arrays. This is a little more
obvious when reading the code.
* More cleanly separate the hardware descriptor from the software descriptor.
* bus_dma it everywhere.
* Implement interrupt pacing and avoid a potential race in the transmit
loop.
Now this looks more or less like the Rhine driver I was working on when
this driver was committed :-) Update copyright notice to reflect that.
1999-02-12 00:36:48 +00:00
sakamoto
0b4e481612
add "mii" to vr driver.
1999-02-09 02:04:36 +00:00
mjacob
c47d6855db
clean up pci configuration a bit
1999-02-09 00:35:35 +00:00
cgd
6b77f11d67
put in better name/description for Simon G's board
1999-02-06 06:55:15 +00:00
cgd
04046c6dd7
add code to cope with multiple ports per BAR, as are found, for instance,
...
on the 8 port card Simon Gerraty has. In general, cards which have
this lots of ports also have a separate interrupt status register, but
this change is just to talk to the various ports independently. It works,
but it's not optimal. (XXX still need a good name for the card in the
comments, and to update the manual page.)
1999-02-06 06:29:54 +00:00
thorpej
23382bdfcb
Regen.
1999-02-05 22:55:40 +00:00
thorpej
0955479f29
Add some Olicom Ethernet device IDs, from FreeBSD's tl driver.
1999-02-05 22:55:19 +00:00
thorpej
d95d5b1488
Make this driver work on the Alpha. Apparently the receive DMA mechanism
...
has the same 4-byte alignment requirement that the transmit side does. This
causes the packet payload to be misaligned. So, on systems which require
strict alignment, we must copy the incoming frame to a new packet buffer,
suitably aligned.
1999-02-05 22:09:46 +00:00
thorpej
b52d1e44d0
Fix the interrupt handler to actually acknowledge the interupt to the
...
dispatch code (!!!). How did this work even on the i386 before?
1999-02-05 21:20:31 +00:00
thorpej
dde3694c4c
Fix some formatting nits.
1999-02-05 08:42:03 +00:00
thorpej
82a54250be
Remove some duplicate softc members, and comment some of the softc
...
fields.
1999-02-05 08:27:46 +00:00
thorpej
8bf66d3eb2
Remove some unnecessary splnet's.
1999-02-05 08:21:31 +00:00
thorpej
50faf19d7d
splimp -> splnet
1999-02-05 07:53:24 +00:00
thorpej
adc9c40688
Use the generic MII support code, not our own.
1999-02-05 02:58:38 +00:00
thorpej
ebf3a97519
Use MII command opcodes from <sys/dev/mii.h>
1999-02-05 01:17:24 +00:00
thorpej
909b90d2d4
Rename VR_MIICMD_DATAIN and VR_MIICMD_DATAOUT to actually match what the
...
data sheet says. (The names and their usage were exactly reversed in the
code.)
1999-02-05 01:10:30 +00:00
bouyer
5888b4354e
channel_map is called before setup_chip, so whe need to enable the channel
...
status bits in acer_channel_map().
1999-02-02 17:06:05 +00:00
bouyer
ca240ca7b5
Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing
...
the code, and to Takahiro Kambe who run several tests and finally found the
bug by himself :)
1999-02-02 16:13:59 +00:00
thorpej
05cbb33e4c
Use pcidevs.h to get vendor and product IDs.
1999-02-02 00:32:21 +00:00
thorpej
b6a84f08e8
Take software-only structure definitions out of the register description
...
header.
1999-02-02 00:29:17 +00:00
thorpej
bb5edf7345
Remove support for FreeBSD from the driver; so many changes are going
...
to be required to make it properly portable to all of NetBSD's platforms,
that it just wouldn't be worth the effort.
1999-02-02 00:05:02 +00:00
thorpej
2bdfbafc37
Minimal changes to make this compile on the Alpha. Much more work is
...
needed to make this a truly portable driver.
1999-02-01 23:40:22 +00:00
mjacob
1ece20c808
roll internal release tag
1999-01-30 07:08:04 +00:00
augustss
d6c1a3e198
Regen.
1999-01-28 04:34:31 +00:00
augustss
864e74c18d
Add S3 86C365 Trio3D.
1999-01-28 04:31:33 +00:00
sakamoto
fd094d79ee
NetBSD RCS id.
1999-01-26 06:31:28 +00:00
sakamoto
57d82cd1f3
Change bootverbose 1 to 0.
...
Add vr_lookup.
1999-01-22 05:34:36 +00:00
sakamoto
02bb7a4233
Add VIA Rhine/Rhine II Fast Ethernet files.
1999-01-21 12:02:00 +00:00
sakamoto
4f99746d57
Add NetBSD autoconfiguration support.
...
KNF.
1999-01-21 12:00:25 +00:00
sakamoto
bea8f807a7
Import FreeBSD's VIA Rhine fast ethernet PCI NIC driver
...
written by Bill Paul <wpaul@ctr.columbia.edu>.
1999-01-21 11:55:22 +00:00
drochner
76db984c6d
regen
1999-01-16 11:28:19 +00:00
drochner
1587097426
add another NCR chip, from Dave Sainty <dave@dtsp.co.nz> per PR kern/6819
1999-01-16 11:27:40 +00:00
tron
edd69ba694
Because memory mapped access doesn't fail only with the docking station
...
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
thorpej
67e9d2a3bf
Fix a few glitches in the nwscons tga driver, PR #6655 , Brett Slager.
1999-01-11 22:11:36 +00:00
drochner
1eba733d91
remove dummy "load_font" entries
1999-01-11 21:35:54 +00:00
mjacob
4401c8bdd7
oops. Forgot to turn on PCI burst.
1999-01-10 03:41:47 +00:00
thorpej
c35b8b591b
One more cosmetic change, from Izumi Tsutsui.
1999-01-08 19:55:17 +00:00
augustss
0d32a9a78b
Fix more `void *' arithmetic.
1999-01-08 19:22:34 +00:00
thorpej
3dc31bab2f
Device declaration for the PCscsi-PCI SCSI chip driver.
1999-01-06 23:25:53 +00:00
thorpej
671d0ae88d
Device driver for the AMD Am53c974 PCscsi-PCI SCSI chip (i.e. the chip used
...
on the Tekram DC-390 SCSI cards), from Izumi Tsutsui, PR#6654. Minor
cosmetic changes by me.
1999-01-06 23:23:33 +00:00
hwr
446f262aa5
Regen
1998-12-30 13:50:42 +00:00
hwr
4d3847e0ea
Add NeoMagic MagicGraph 128ZV graphic chip.
1998-12-30 13:49:49 +00:00
mjacob
8ac99457db
I mean *really* clean up headers
1998-12-28 19:12:04 +00:00