ragge
6f0df397d0
Copied from ../../arch/vax/uba/qd.c,v
1999-06-20 17:53:33 +00:00
thorpej
b75d5b1fe6
Fix tyop.
1999-06-20 16:44:49 +00:00
thorpej
50f084159c
SCTRL2 register number wrong. PR #7756 , Johan Danielsson.
1999-06-20 16:42:37 +00:00
thorpej
4a0270a264
Intel i82557 driver is now split into bus and chip bits.
1999-06-20 16:35:40 +00:00
thorpej
206460244e
Bus-independent back-end driver for Intel i82557 fast Ethernet chips.
1999-06-20 16:33:28 +00:00
ragge
3ccbec3742
Totally rewritten DEQNA device driver, that uses the bus.h interface
...
instead. This almost doubled the receive speed of the interface :-)
1999-06-20 00:04:47 +00:00
mjl
36da665f8c
Added NewMedia BusToaster, an Adaptec 152x compatible.
1999-06-19 18:50:28 +00:00
mjl
fb7137cfd9
Regen
1999-06-19 18:49:34 +00:00
mjl
4e0161f8dc
Regen
1999-06-19 18:17:14 +00:00
mjl
c32aeb153b
Added NewMedia BusToaster SCSI Host Adapter
1999-06-19 18:16:07 +00:00
augustss
d98b0bd725
Regen.
1999-06-19 04:51:42 +00:00
augustss
0650293580
Add Sony CXD 1947A FireWrire Controller and Neomagic 128XD.
1999-06-19 04:49:52 +00:00
augustss
a6a09bcdd6
Add support for ES18[67][89]. From PR #7427 by AW9K-NNK@asahi-net.or.jp,
...
Nonaka Kimihiro.
1999-06-18 20:25:23 +00:00
thorpej
041cfb14aa
Fix that ANNOYING transmit timeout bug, caused by an unfortunate interaction
...
between a bug in the receive path (buffer length used instead of actual
received frame length) and the ARP code not correctly setting the length
of the reused mbuf, which all told caused the transmit logic in the chip
to wedge.
Also, make sure to count received packets.
Found and fixed by Zdenek Salvet <salvet@ics.muni.cz>, PR #7809 .
1999-06-18 17:44:06 +00:00
mhitch
3adf25374a
The extraneous interrupt that seems to occur after a reconnect and a DMA transfer
...
starts running can occur on both DMA in and DMA out. I missed the little comment
in the Mach driver for the DMA out case. Also, only ignore the interrupt if the
TC is non-zero (to match the Mach driver).
1999-06-18 05:30:53 +00:00
tsubai
12c2ab7750
Regen.
1999-06-18 04:55:27 +00:00
tsubai
25b9bffe81
Add some Apple and MOT products.
1999-06-18 04:54:06 +00:00
thorpej
12347b2657
Make uvm_vslock() return the error code from uvm_fault_wire(). All places
...
which use uvm_vslock() should now test the return value. If it's not
KERN_SUCCESS, wiring the pages failed, so the operation which is using
uvm_vslock() should error out.
XXX We currently just EFAULT a failed uvm_vslock(). We may want to do
more about translating error codes in the future.
1999-06-17 15:47:22 +00:00
mjacob
92f90fcb92
STK 9490 && SD-3 drives incorrectly quirked as not supporting the LOAD command.
...
Anyway, just because a drive doesn't support the LOAD (to BOT) command does
not mean that the drive doesn't support the UNLOAD command. Also note and
print errors in rewinds and unloads (and errors in writing closing filemarks
for same).
1999-06-17 04:20:55 +00:00
pk
b6429ec3c5
In scsipi_done(), call scsipi_free_xs() at splbio().
1999-06-16 07:35:31 +00:00
ad
10b0c75443
- Don't even try to emulate WSATTR_HILIT on mono displays
...
- WSATTR_REVERSE is a capability of both mono/color
1999-06-15 22:34:45 +00:00
ad
05a0ca4737
Fix stupid alignment bug. The 'slop' stuff is due for replacement with masks
...
RSN per the README.
1999-06-15 21:34:05 +00:00
augustss
475ed73e46
Get rid of a bunch of code that was part of an old USBDI proposal, but that
...
is unused in our USB stack.
Once upon a time, when I started writing the USB stack for NetBSD, there
was an effort to make a standard for how USB device drivers should interact
with the rest of the USB stack. This effort had contributors from just
about all Un*x camps (but not Micro$oft :). I based my design on one of their
early proposals since I thought it would be a good idea if we could all
share device drivers with a minimum effort. Shortly after I started my work
all the free Un*x people were thrown out of the USBDI work since we did not
pay the USB membership fee. Well, some time has passed now and the work of
the standardization group is almost public again. But alas, the new standard
has grown to be a monster! I do not want to have this as the basis for the
*BSD USB stack; it is far too complicated.
So, since we are not even close to being compilant with the standard, I've
thrown out some old baggage.
1999-06-14 17:09:57 +00:00
augustss
656245dc18
Check that the hub ports actually power up.
1999-06-14 16:59:47 +00:00
oster
86abd11d42
Remember to pass down the proc pointer when adding a hot spare.
...
(Thanks to Martin J. Laubach for helping track this one down.)
1999-06-13 20:36:17 +00:00
mhitch
cff0f6b1e4
Don't pre-load the identify message into the fifo just just before the command register
...
is written. This significantly reduces, if not eliminates, the problem reported in
PR#5510. It stops the problem on my 5000/200, and two other people have verified that
it fixes the problem on their 5000/200s. I'm waiting for confirmation from the PR
originator before closing the PR.
1999-06-13 17:21:29 +00:00
dante
001471550c
Move chip version check from advlib.c to adv_isa.c
1999-06-12 12:10:30 +00:00
dante
35e149ef50
Move chip version check from advlib.c to adv_pci.c
1999-06-12 12:09:58 +00:00
dante
d0fb45fdf3
Clean up some stuff
...
Remove chip version check
Now compile again on 68k based systems
1999-06-12 12:09:01 +00:00
pk
5b4a75d281
scsipi_free_xs() wants to be called at splbio; do it.
1999-06-12 11:19:00 +00:00
pk
3fffa45b75
Guard global `rnd_mempool' against interrupts.
...
Use appropriate flags in pool_get().
1999-06-12 10:58:47 +00:00
wrstuden
9f43c5a1f2
If we're the console keyboard, automatically enable the keyboard.
...
Should fix part of console keyboard problems on macppc. The usb keyboard will
now work on boot! Doesn't fix problems with keyboard freaking out when
changing LED state.
Thanks to Mattias & Lennart & Tsubai for input on resolving this problem.
1999-06-11 19:05:13 +00:00
nisimura
e3b1b88d76
- Errors in case analysis...
1999-06-11 01:44:47 +00:00
nisimura
f4be9af151
- Rework copycols() with SFB ASIC calls.
1999-06-11 00:56:09 +00:00
augustss
c65a504ed5
Add more debug.
1999-06-10 15:48:27 +00:00
augustss
2959234be5
Fix a bug in bulk input. Discovered by Joel Chen <jchen@liberate.com>.
1999-06-09 22:57:16 +00:00
wrstuden
cd0a68c3f6
Fix use of & when % was appropriate.
1999-06-09 19:40:54 +00:00
augustss
27b9cd0724
Remove a redundant test.
1999-06-09 17:04:45 +00:00
mrg
efb227d3a7
fix a few KNF nits ..
1999-06-08 10:38:15 +00:00
thorpej
12006f3c05
Don't clobber the error returned by uiomove() when starting the audio
...
output (in case we got a partial block). Fixes PR #7722 , from
Antti Kantee <pooka@iki.fi>.
1999-06-07 19:24:38 +00:00
ragge
92d41a0675
Copied from ../../arch/vax/if/if_uba.c,v
1999-06-06 20:45:21 +00:00
ragge
0f8d40c444
Copied from ../../arch/vax/if/if_uba.h,v
1999-06-06 20:45:02 +00:00
ragge
2778cc9866
Copied from ../../arch/vax/if/if_qereg.h,v
1999-06-06 19:27:06 +00:00
ragge
8237a141e5
Copied from ../../arch/vax/if/if_qe.c,v
1999-06-06 19:26:44 +00:00
ragge
508b5c5cee
Bus'ify the mscp code also.
1999-06-06 19:16:18 +00:00
ragge
a2692d780b
Fix map register/DMA wait queues.
...
Still to do:
BDP handling. Currently missing.
Ubareset's won't work at all.
1999-06-06 19:14:48 +00:00
dante
162dba620b
Add support for ISA, EISA and ISApnp cards
...
Fixed a bus reset bug which shows on arm32
1999-06-06 17:33:18 +00:00
dante
29c6046a31
Add adv_isa.c entry
1999-06-06 17:30:37 +00:00
dante
8c090be7cb
Add support for the following AdvanSys SCSI ISA cards:
...
Connectivity Products:
ABP510/5150 - Bus-Master ISA (240 CDB) (Footnote 1)
ABP5140 - Bus-Master ISA (16 CDB) (Footnote 1) (Footnote 2)
ABP5142 - Bus-Master ISA with floppy (16 CDB) (Footnote 3)
Single Channel Products:
ABP542 - Bus-Master ISA with floppy (240 CDB)
Footnotes:
1. This board has been shipped by HP with the 4020i CD-R drive.
The board has no BIOS so it cannot control a boot device, but
it can control any secondary SCSI device.
2. This board has been sold by SIIG as the i540 SpeedMaster.
3. This board has been sold by SIIG as the i542 SpeedMaster.
1999-06-06 17:28:58 +00:00
eeh
dca7a79c9d
Guys, let's get real. We don't really want an #if !defined() for every possible
...
machine that could concievably have defined an IPL_AUDIO, do we?
1999-06-05 16:51:39 +00:00
mrg
67cbdf5623
split sbus audiocs code up so we can share it with the ebus. XXX ebus DMA is probably different.
1999-06-05 14:29:10 +00:00
mrg
eca7784d58
XXX avoid redefiing splaudio and IPL_AUDIO on the sparc XXX
1999-06-05 14:26:07 +00:00
augustss
d80294fead
Regen.
1999-06-05 14:14:42 +00:00
augustss
c5255e5a48
Remove vendor from one of the descriptive strings; it's superfluous.
1999-06-05 14:14:02 +00:00
augustss
0e2edfb67a
Very small formatting nit.
1999-06-05 13:43:03 +00:00
tron
a1259a8d1b
Regen.
1999-06-05 10:42:15 +00:00
pk
d256dc6c3c
`rasops_glue' is only here to force the header file's name hence it must
...
be mentioned first in the expression.
Shudder..
1999-06-05 10:42:11 +00:00
tron
bffc27b587
Add Matrox MGA 400, 3Dfx Banshee and Voodoo 3.
1999-06-05 10:41:37 +00:00
tron
e9fe988d72
Regen.
1999-06-05 09:54:29 +00:00
tron
1c05aff552
Add Brother HL-1050 laser printer. Fixes second half of PR kern/7699
...
by Bjoern Labitzke.
1999-06-05 09:54:09 +00:00
tron
2b262e8565
Regen.
1999-06-05 09:44:03 +00:00
tron
fce6975678
Add entry for Riva TNT and correct entry for Riva 128.
...
Fixes first half of PR kern/7699 by Bjoern Labitzke.
1999-06-05 09:43:21 +00:00
pk
9db217428b
Cast size_t to long for printf purposes.
1999-06-05 08:35:45 +00:00
drochner
b458b1c57e
In pckbd_decode(), do the remapping of "extended" (multibyte) keys
...
before the elimination of typematic events.
This fixes the case where the "extended" prefix was not ignored and
affected the next keystroke. (seen with the AltGr key)
1999-06-04 15:03:43 +00:00
oster
8c39e1bf02
When adding a hot spare, remember to lock down the main raidPtr
...
structure before mucking with its contents.
1999-06-04 02:02:39 +00:00
oster
60769ea563
At config time, initialize a small amount of space for the disk queues
...
corresponding to the hot spares. We'll need that space when a spare is
actually added. Huge Thanks to Martin Laubach for helping track this down.
1999-06-04 01:51:00 +00:00
oster
3af0ce9e19
Don't count two problems with a single component as two
...
component failures! Also: remember to configure the disk queues for
the spares -- failure to do that is Bad(tm).
Huge Thanks to Martin Laubach for helping track this down.
1999-06-04 01:50:01 +00:00
christos
f2393e39f3
Don't include rasops files unconditionally; only when we have rasterconsole or
...
wsdisplay.
1999-06-02 23:24:54 +00:00
drochner
ee9cd19ba7
regen
1999-06-02 08:57:02 +00:00
drochner
1fabcae9bf
add SIS 6326 low-end AGP graphics
...
fix CL_PD6832 device id, PR kern/7691 from Paul Dokas
1999-06-02 08:56:03 +00:00
thorpej
f687b845d0
Make sure bus mastering is enabled; some broken BIOSes don't set this
...
up properly.
1999-06-01 19:17:59 +00:00
thorpej
2349cbb5b3
Glue in the SiS900 Ethernet controller driver.
1999-06-01 18:29:50 +00:00
thorpej
ba43886d7e
Device driver for the Silicon Integrated Systems SiS900 10/100 Ethernet
...
chip, found on the IBM Netstation.
1999-06-01 18:19:13 +00:00
lukem
7d44fa2e6e
* use format_bytes() to display the disk size
...
* wrap a couple of printf()s
1999-05-31 12:05:39 +00:00
christos
b4bf637a41
Don't let bd.which be unitialized... Thanks Dave!
1999-05-30 21:13:04 +00:00
christos
8567d6cad0
PR/7665: Dave Sainty: X server bell pitch setting doesn't reflect reality
...
Applied with a little more error checking.
1999-05-30 04:21:29 +00:00
nathanw
70e38aa504
Fix bug uncovered by audio.c fix: Since the monitor control on the ESS
...
is a muting control, not a level control, change the name to reflect that.
XXX The fact that the audio code depends on the string names of the
XXX mixer devices is bogus.
1999-05-30 00:22:59 +00:00
nathanw
9e14ee3c6e
Fix two small bugs:
...
(1) Fix sense of a strcmp() test so that the monitor subdevice of the
mixer is properly identified.
(2) Use hw_if->set_port() instead of hw_if->get_port() when changinh
the monitor level in audiosetinfo().
Fixes PR kern/7661.
1999-05-30 00:21:08 +00:00
bad
4df5ccb1f6
Now that the ARP code doesn't assume that m_pktdat[0] is the start of the
...
packet(!) we can enable the code that aligns the struct token_header at the
start of the mbuf.
1999-05-29 22:44:11 +00:00
ragge
a03c17e53b
Copied from ../../arch/vax/mscp/mscpvar.h,v
1999-05-29 19:13:04 +00:00
ragge
14ef56958a
Copied from ../../arch/vax/mscp/mscpreg.h,v
1999-05-29 19:12:53 +00:00
ragge
870031c90a
Copied from ../../arch/vax/mscp/mscp_tape.c,v
1999-05-29 19:12:42 +00:00
ragge
bf0ac446d2
Copied from ../../arch/vax/mscp/mscp_subr.c,v
1999-05-29 19:11:52 +00:00
ragge
29cdff1acd
Copied from ../../arch/vax/mscp/mscp_disk.c,v
1999-05-29 19:11:41 +00:00
ragge
6c8c62c541
Copied from ../../arch/vax/mscp/mscp.h,v
1999-05-29 19:11:16 +00:00
ragge
bf16b9271a
Copied from ../../arch/vax/mscp/mscp.c,v
1999-05-29 19:11:02 +00:00
ragge
39e7e58401
Copied from ../../arch/vax/mscp/files.mscp,v
1999-05-29 19:10:52 +00:00
ragge
206d37083c
Copied from ../../arch/vax/uba/uda.c,v
1999-05-29 17:03:17 +00:00
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
ragge
542c5517c5
The DHU code changed to use bus_space.
...
XXX - still need to use bus_dma.
1999-05-28 20:17:29 +00:00
ragge
545a67b8d9
Copied from ../../arch/vax/uba/dhureg.h,v
1999-05-28 18:56:57 +00:00
ragge
c0777d0846
Copied from ../../arch/vax/uba/dhu.c,v
1999-05-28 18:56:41 +00:00
ragge
50b4144943
Moved from ../dec/qbus/ubavar.h,v
1999-05-27 16:04:48 +00:00
ragge
708904c240
Moved to ubavar.h,v
1999-05-27 16:04:47 +00:00
ragge
6fa26360b3
Moved to ubareg.h,v
1999-05-27 16:04:28 +00:00
ragge
72cc499b27
Moved from ../dec/qbus/ubareg.h,v
1999-05-27 16:04:27 +00:00
ragge
24a2d9159f
Moved to uba.c,v
1999-05-27 16:04:14 +00:00
ragge
466e9982c9
Moved from ../dec/qbus/uba.c,v
1999-05-27 16:04:13 +00:00
ragge
3a1ea0ce2f
Moved from ../dec/qbus/files.uba,v
1999-05-27 16:03:57 +00:00
ragge
ea56e2d6a7
Moved to files.uba,v
1999-05-27 16:03:56 +00:00
ragge
a9f8e269bc
Moved from ../dec/qbus/dzvar.h,v
1999-05-27 16:03:41 +00:00
ragge
607566ab67
Moved to dzvar.h,v
1999-05-27 16:03:40 +00:00
ragge
fad3ee0de4
Moved from ../dec/qbus/dzreg.h,v
1999-05-27 16:03:13 +00:00
ragge
fd1e7f64df
Moved to dzreg.h,v
1999-05-27 16:03:12 +00:00
ragge
ca5b486e0b
Moved from ../dec/qbus/dz_uba.c,v
1999-05-27 16:02:50 +00:00
ragge
0377900670
Moved to dz_uba.c,v
1999-05-27 16:02:49 +00:00
ragge
ae0c1db46f
Moved to dz.c,v
1999-05-27 16:02:33 +00:00
ragge
4da3a5fea9
Moved from ../dec/qbus/dz.c,v
1999-05-27 16:02:32 +00:00
ragge
e9a34e1482
Moved from ../dec/qbus/dlreg.h,v
1999-05-27 16:02:04 +00:00
ragge
fecbb5dd59
Moved to dlreg.h,v
1999-05-27 16:02:03 +00:00
ragge
1506452890
Moved from ../dec/qbus/dl.c,v
1999-05-27 16:00:45 +00:00
ragge
547475d08e
Moved to dl.c,v
1999-05-27 16:00:44 +00:00
pk
61e5d73035
Fix bus_size_t/size_t/int confusion.
1999-05-27 14:22:28 +00:00
bouyer
b87dbb8918
in cdclose(), ignore "media change" when calling scsipi_prevent(), after
...
a 'eject -l' some ATAPI drives report this instead of illegal request.
1999-05-27 11:19:04 +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
ragge
f558ec11e2
Directory called qbus instead of uba, per request from Matt/Jason/...
...
(More describing name actually)
1999-05-27 03:45:21 +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
ragge
12b6c6d04f
DL-11 driver bus'ified. UNTESTED.
1999-05-26 02:01:49 +00:00
ragge
e805bfec25
DZ-11 routines bus'ified. Small fixes to uba routines.
1999-05-26 01:26:17 +00:00
thorpej
88214f79d2
Pass the appropriate access type for uvm_vslock() based on the FP operation:
...
fpread == VM_PROT_READ|VM_PROT_WRITE, fpwrite == VM_PROT_READ.
1999-05-26 01:09:02 +00:00
ragge
7fb0d17b38
First step towards MI Unibus/Q22 bus code.
1999-05-24 20:12:57 +00:00
christos
61d84403a8
Regen
1999-05-24 13:05:40 +00:00
christos
cf715aec57
Fix PR/7634 properly, by adding the card to pcmciadevs
1999-05-24 13:05:12 +00:00
augustss
8fb4b44439
SMC 8022 PCMCIA ethercard entry for if_ne_pcmcia.c
...
From Zdenek Salvet <salvet@ics.muni.cz> in PR 7634.
1999-05-24 10:17:49 +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
ad
080560c8c6
- Setting initial position of cursor is up to caller.
...
- Set cursor position properly for SPARC. From Juergen Hannken-Illjes.
1999-05-23 17:59:39 +00:00
augustss
eca0bbe20e
Update doc URL.
1999-05-23 16:07:04 +00:00
christos
544c14bcf6
KNF!
1999-05-23 00:48:46 +00:00
pk
6f9ad5b61d
Since we're now prepending the ethernet header to mbuf on incoming
...
packets, make sure to align the data after the ethernet header.
1999-05-21 13:08:50 +00:00
augustss
ac197c5354
Update documentation URLs.
1999-05-21 10:15:23 +00:00
ad
5bb340fef9
This file is superceded by rcons.h.
1999-05-20 21:16:57 +00:00
thorpej
332dd60029
Fix broken prototype.
1999-05-20 19:56:49 +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
3d6c3b5c03
Update for TI vendor id.
1999-05-20 09:51:13 +00:00
augustss
5d6176a144
Regen.
1999-05-20 09:50:39 +00:00
augustss
d25385e28e
Change vendor of id 0x0451 to Texas Instruments.
1999-05-20 09:50:09 +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
ad
02bc362e3e
Add arg to rcons_init() that when set causes screen to be cleared.
1999-05-19 20:34:19 +00:00
ad
4bebd3ff7c
Don't clear screen upon startup unless we're running on a pmax (remedies
...
quirky behaviour of px boards). Shuffle come code in rcons_init_ops() in
order to be more clear.
1999-05-19 20:07:34 +00:00
bouyer
ba2e85e711
32 bits I/O ocasionally fails on some hardware, so the test succeed but
...
the kernel can get a 'protection fault trap' later. Enable the 32 bits I/O
test conditionally on a config flag, disabled by default (problem
reported by kurt.schreiner@uni-mainz.de ).
1999-05-19 14:41:25 +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
thorpej
29184c350f
Add a few more Communication Interface Class subclasses (including Ethernet
...
and *shudder* ATM).
1999-05-18 23:42:56 +00:00
ad
bb3a510fa2
Assign ownership & copyright to TNF. There is probably a procedure for this
...
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
augustss
8d38841260
Make it possible for this driver tp work again.
...
From Thomas Klausner - wiz@danbala.tuwien.ac.at
1999-05-18 16:41:07 +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
drochner
9c0c171c30
add some #ifdefs to make it link w/o wskbd
...
(especially for vax)
1999-05-17 16:53:43 +00:00
thorpej
8745214a3c
Make this build without wsdisplay.
1999-05-16 19:21:31 +00:00
mrg
f5af676456
white space.
1999-05-16 14:47:52 +00:00
augustss
011be0080e
Add vendor/product/release locators. Added in frustration as my HID
...
devices appeared as different devices after some plugging and unplugging. :-)
1999-05-16 13:51:05 +00:00
augustss
041a8536ac
s/revision/release/
1999-05-16 12:05:10 +00:00
augustss
00930acefa
Improve error handling. Mostly from FreeBSD.
1999-05-16 11:43:32 +00:00
drochner
d93fe6b483
now that wscons_glue is gone we can back out rev. 1.16 (which made
...
"pckbd_enable()" polling to deal with calls without process context)
1999-05-15 15:55:55 +00:00
drochner
b7a56e27df
Get rid of the timeout-driven wscons_glue stuff which caused a lot of
...
headaches.
Now console keyboard and display are connected at autoconfiguration time,
when the last of them is found. Other keyboards / displays remain
unconnected until a new ioctl (WSDISPLAYIO_SETKEYBOARD) is called.
1999-05-15 14:22:46 +00:00
ad
0d472fafcc
Add diagnostic measures to check for missing font.
1999-05-15 12:56:46 +00:00
ad
f4fedb6139
wsfont cookies <= 0 are invalid, not just those < 0.
1999-05-15 12:54:53 +00:00
augustss
9bf01fcbe5
Fix debug printf.
1999-05-14 19:38:44 +00:00
drochner
10584c9e73
Sort out the inclusion of wscons source files: the files are only
...
compiled if the corresponding devices are configured.
(Files calling wscons functions have to check whether these are present.)
1999-05-14 16:01:11 +00:00
drochner
0c3738a17b
The last change made the driver go into an interrupt loop after a while.
...
Obviously, the TX_DEFERRALS counter must be read.
1999-05-14 15:54:16 +00:00
drochner
23ddff5688
use the new "xx" prefixed OUIs because the mapping to the ID register
...
bits differs from the MII_OUI() way
1999-05-14 11:40:28 +00:00
drochner
48c49dcb82
regen
1999-05-14 11:38:05 +00:00
drochner
416a47bc88
Define OUIs in a more uniform way. OUIs are fixed entities registered
...
with IEEE, so use the "real" OUIs for definitions.
Now unfortunately vendors differ in how the MII ID register bits are
used wrt bit and byte ordering. There is a straightforward way - bits
numbered from LSB to MSB - used by AMD, Intel, NS and QS. This is used
by the current MII_OUI() conversion macro. ICS, Seeq, SiS and TI count
the bits as they appear on the wire, and some differ completely.
Account for these cases by "xx" prefixed OUI definitions which compensate
for this, so the MII_OUI() macro can still be used.
Add AMD (the "real" AMD this time) and the 79c973 PCnet internal PHY.
1999-05-14 11:37:30 +00:00
mrg
08db47ae0c
oops, forgot to add these files.
1999-05-14 07:07:16 +00:00
mrg
95e0190e23
split the sun ms/kbd drivers into frontend/backend parts at the serial
...
interface border, so that other serial interfaces can be attached to the
ms/kbd. zero functional changes and mostly involves moving code around
a bit. tested on the SS2.
this is necessary to attach the PCI ultrasparc keyboard/mouse drivers.
1999-05-14 06:42:02 +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
augustss
e16867970c
More DIAGNOSTIC tests.
1999-05-13 23:29:41 +00:00
augustss
aed277e3de
More digitizer defines.
1999-05-13 23:29:11 +00:00
ad
daf0e5b05c
Replace two instances of TNF copyright with one (was replicated for two
...
separate contributers).
1999-05-13 21:46:17 +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
mjacob
7f137a35ff
add a few missing mbox commands
1999-05-12 16:45:58 +00:00
mjacob
a10888f463
roll ISP 1080/1240 f/w to latest level
1999-05-12 16:45:04 +00:00
thorpej
9c5ccdf883
Don't count deferrals as output errors. It's only a (single) output error
...
if an excessive number of deferrals causes the transmission to abort.
1999-05-12 15:33:29 +00:00
augustss
d480a15932
Regen.
1999-05-11 09:56:56 +00:00
augustss
91e572f76d
Another mouse.
1999-05-11 09:56:32 +00:00
drochner
ee57a7f5ff
add swedish keyboard map from Johan Danielsson (joda@pdc.kth.se) per
...
PR kern/6983, and US-Dvorak from Matt Knopp (mhat@fundsxpress.com ) per
PR kern/7429
1999-05-11 09:24:11 +00:00
drochner
51a0e1a705
define swedish layout and "dvorak" variant
1999-05-11 09:21:07 +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
augustss
ea2a114cf0
Fix a serious bug in bandwidth accounting that thrashed memory.
...
Thanks to Joel Chen <jchen@nc.com> for tracking it down.
1999-05-09 22:48:35 +00:00
thorpej
c9ee8bf3c4
Fix a couple of problems w/ 3c574 support. Doesn't quite work yet, but
...
it's a little closer.
1999-05-09 18:48:52 +00:00
ad
90d35111e1
In rasops_erasecols(), try word aligned case before halfword aligned.
1999-05-09 17:50:27 +00:00
augustss
69e451c1ce
Call ws routines at spltty() from interrupt routines.
1999-05-09 15:10:30 +00:00
augustss
aaa0308140
Handle exclusive open bit differently.
1999-05-09 14:38:01 +00:00
augustss
d11fcba216
More debug.
1999-05-09 14:37:18 +00:00
augustss
63e051b6cf
Minor rearrengment for better readability.
1999-05-09 14:36:42 +00:00
augustss
86bb7f7d58
Add some Mass Storage constants.
1999-05-09 14:35:50 +00:00
augustss
cbec5fc966
Regen.
1999-05-09 14:35:13 +00:00
augustss
e4b1b00d56
Add Microsoft DDS80.
1999-05-09 14:34:41 +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
nisimura
1d082ddc15
- Sweep abit preparing for code merge to have common 'vdacops' across
...
various graphics cards.
1999-05-07 08:00:30 +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
thorpej
bb619306e2
Add needs-flag to the ukbd device.
1999-05-06 00:42:16 +00:00
perry
f8e8703b5e
Add patch from Manuel Bouyer -- his mail message said:
...
By code inspection I found 2 bugs in the ATAPI code, one may be the cause
of your problem: A counter is not reset when issuing the request_sense
command. This is c_skip, the counter used to track the offset in the data
buffer when a data tranfer needs multiple phases. The effect of this is that
the sense data transfered may be stored outside the sense buffer (sense buffer
+ some, potentially several KB, offset). This can only occur in PIO mode,
DMA is not affected.
This doesn't occur in "normal" use because when reading a data CD, either
the sense is issued for a non-data command (in which case c_skip stays to
0), or an error occured and no data has been transfered, and c_skip is still 0.
I can't see a case where a data READ/WRITE could cause a sense tranfer without
error.
The second problem is that b_resid can be set to a false value (resulting of
the sense tranfer and not the data transfer). Again this is not a problem with
usual data tranfers because both values ends up being 0 when no error occurs.
1999-05-05 21:35:15 +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
tsubai
dc8d07a096
Fix OFW_PCI_PHYS_HI_DEVICEMASK value.
1999-05-05 08:09:34 +00:00
thorpej
dbe4c0c061
Make this compile again.
1999-05-04 23:55:27 +00:00
thorpej
9382ef37c1
Define some things related to the PCI Bus binding to OpenFirmware.
1999-05-04 20:08:04 +00:00
ad
5aa72a711d
Pull in slightly modified ioctl() routine from psm.c (handles WSMOUSEIO_SRES).
1999-05-03 15:50:38 +00:00
ad
04888a4736
Update ioctl routine to handle WSMOUSEIO_SRES case.
1999-05-03 15:45:16 +00:00
ad
0a77d05407
Add ioctl definitions for setting mouse resolution, scale factor and sample
...
rate. Add two new display types (DEC PX, PXG). Replace instances of '???' in
comments about DEC hardware with meaningful representations.
1999-05-03 15:43:25 +00:00
ross
7bffc1e720
Protect WDCDEBUG from multiple definitions.
1999-05-03 07:44:47 +00:00
thorpej
1a1efc6b68
In lance_mediachange(), if there is no callback to the front-end, just
...
return 0 instead of EINVAL. In this case, there will only be one media
type, and the upper-level if_media code will ensure that the user is setting
to that type.
In other words, don't require the front-end to provide the no-op.
1999-04-30 18:15:04 +00:00
bad
b7ae9f8e40
Convert some bogus panic()s into printf()s.
1999-04-30 15:29:24 +00:00
nisimura
b2c6b9a41d
- Nuke debugging aids mistakenly committed.
1999-04-30 09:43:23 +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
nisimura
b14028acc2
- I finally learned CSR_A register of IMS G332 VDAC must be treated as
...
write only. Read-motify-write operation breaks its video mode.
- VDAC regiters are now initialized as ULTRIX does.
1999-04-30 00:44:11 +00:00
bad
8fb6c6124b
From Onno van der Linden:
...
Reorganise the driver some what.
Rename tr_reset() to the more appropriate tr_stop().
Create a common tropic reset routine and use it in the frontends.
Move the code in tr_config() which is only used in the card attachment
routines into a new tr_attach() function.
Take adapter off the ring through tr_shutdown() in a shutdown hook.
This simplifies the bus-specific frontend.
1999-04-29 15:47:02 +00:00
ad
53af2d0054
Initialize db in copycols() to zero to pacify gcc, as noted by Simon Burge.
...
This doesn't change anything until it's fixed.
1999-04-29 03:38:39 +00:00
ad
34480e41c4
Add cookie for wsfont to rasops_info.
1999-04-29 02:49:40 +00:00
ad
e2db3e3f25
Update usage comment.
1999-04-29 02:42:43 +00:00
ross
770b67425d
Accelerate scrolling. Originally by Roland Dowdeswell, revised by
...
{drocher,ross}@netbsd.org.
1999-04-28 23:24:33 +00:00
jonathan
5847397a4d
Add EEPROM_SSI EEPROM field (hardware revision-level info).
1999-04-28 22:47:44 +00:00
dean
188c3f6ae5
Fix for PR kern/7483: ex driver gets bogus MAC address with 3c905B
1999-04-28 17:34:01 +00:00
jonathan
894ce34c9d
Improved 509B-in-PnP mode detection (Christoph Badura, Jonathan Stone):
...
Verify EEPROM checksum, extract card rev-level, test capabilities
word, then test high-order config bits to verify card is in PnP mode,
and skip if so.
1999-04-28 01:20:01 +00:00
thorpej
55fd59f1e0
Make PCI IDE DMA work on big-endian systems.
1999-04-28 00:18:12 +00:00
augustss
a9cd83c7af
Regen.
1999-04-27 21:32:05 +00:00
augustss
9fb29eae72
Update vendor names from an official(?) list.
1999-04-27 21:30:53 +00:00
augustss
d992bbf22c
Regen.
1999-04-27 18:09:00 +00:00
augustss
c05572b5b7
Add Gravis GamePad Pro (from Soren Jorvang).
1999-04-27 18:08:35 +00:00
thorpej
0837de9c4b
Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524 , Stephen Ma.
1999-04-27 04:56:18 +00:00
thorpej
ae3e4919c2
Regen.
1999-04-27 04:52:04 +00:00
thorpej
7931c9f84e
Add the Fujitsu LA501 Ethernet card. PR #6524 , Stephen Ma.
1999-04-27 04:48:43 +00:00
thorpej
d5a491540c
Disable power management until the bug that caused it to hang the
...
machine can be found.
Addresses kern/6488, from Thorsten Frueauf.
1999-04-27 02:53:30 +00:00
ad
3dc48bf302
Bump WSFONT_L2R/R2L by +1 so 0 can mean no specific order is required.
...
Change entry for QVSS to match bitorder.
1999-04-26 23:41:57 +00:00
thorpej
82f0525910
Make the 3Com Etherlink XL driver work on big-endian systems. From
...
Izumi Tsutsui, PR #7279 .
1999-04-26 23:28:31 +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
kleink
5ea46286eb
mii_phy_auto(): don't rely on an implicit declaration of the waitfor argument.
1999-04-26 14:48:57 +00:00
ad
a6f7f56fde
Remove crud remaining from userland mockup.
1999-04-26 04:29:12 +00:00
ad
f9510a4f4b
Innumerable fixes and improvements. README contains list of remaining bugs
...
that need to be squashed.
1999-04-26 04:27:47 +00:00
ad
caf44885ea
Change WSFONT_LITTLE/WSFONT_BIG to WSFONT_L2R/WSFONT_R2L to reduce possible
...
confusion.
1999-04-26 04:24:22 +00:00