thorpej
e293024ffa
This is the long-awaited "new Tulip driver", a complete, from-scratch
...
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.
Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].
Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
1999-09-01 00:32:41 +00:00
ad
78d4510ba0
Pass color value through ri->ri_devcmap before writing.
1999-08-31 10:11:52 +00:00
bouyer
7c1c212662
If we are using UDMA mode > 2 and get a DMA error, downgrade to UDMA mode 2
...
first: maybe we incorrectly guessed the cable type.
1999-08-30 12:58:58 +00:00
bouyer
8e49b58de0
Add support for Intel 810 chipset (ICH/ICH0).
...
While I'm there merge back piix_channel_map into piix_chip_map.
1999-08-30 12:49:21 +00:00
thorpej
dea48ccdf9
Oops, back out stuff I didn't mean to commit.
1999-08-30 01:05:08 +00:00
thorpej
a138de1eb5
Add detach goo; still needs work in the `scsibus' and further layers.
1999-08-30 01:04:31 +00:00
augustss
7a3bd0ab27
Add some missing request codes.
1999-08-29 22:45:41 +00:00
thorpej
dd611fa302
Set openings to 1; only one command may be queued with the device at
...
a time.
1999-08-29 20:41:12 +00:00
thorpej
54f6a91c01
Issue a Get Max Lun request to determine the max lun.
1999-08-29 19:58:55 +00:00
thorpej
04cd1cc8ee
Make usbd_errstr() always return a useful error message; it's not like
...
the strings are that big.
1999-08-29 19:41:27 +00:00
thorpej
d1088a5081
One more TODO item; sub-classes other than SCSI.
1999-08-29 18:58:03 +00:00
thorpej
59e86c6637
Correct typo in URL. From Bill Sommerfeld.
1999-08-29 18:57:15 +00:00
thorpej
f88e157ddb
Update the match routine to reflect that the driver actually matches
...
"Mass Storage/SCSI/Bulk".
1999-08-29 18:56:24 +00:00
thorpej
e01cef341e
Update documentation references.
1999-08-29 18:13:26 +00:00
thorpej
f91881f24a
Since we poll around the `done' member of a usbd_request, make it volatile.
1999-08-29 17:57:25 +00:00
thorpej
cbd1c08a2c
Note a few TODO items.
1999-08-29 17:34:11 +00:00
bouyer
52068f73ce
Add support for the Promise Ultra/33 and /66 pci IDE controller. In addition to
...
chip-dependant code this required the following changes:
- Instead of attaching the device in a generic way with some chip-dependant
routines, use a chip-dependant attach routine with some common code
factored out. The code is marginally bigger, but this allows the CMD64x
flag hack to go away.
- For chips that report per-channel 'irq triggered', test this before calling
wdcintr() for the native-pci irq case (compat intr can't be shared),
as wdcintr() has no good way to know if a irq was for it or not, and
ends up with irq loss. XXX for chips that don't have this feature irq sharing
will not work properly !
- add my copyrigth notice (could have been done some time ago I think :)
There are still some issues to be solved with the Promise controller and
ATAPI devices.
Many thanks to Paul Newhouse for shipping me 2 Ultra/33 boards for doing this
work.
1999-08-29 17:20:10 +00:00
bouyer
4819ee1cf1
Add definitions of the DMA mode control registers. They should be used
...
by pciide, but I have yet to find how to map them.
1999-08-29 17:06:43 +00:00
thorpej
246ab7936d
One item off this list done!
1999-08-29 16:53:04 +00:00
thorpej
cbb4401dfd
Port the FreeBSD `umass' driver to NetBSD. This is still a work-in-progress
...
since a few things don't yet work properly:
- Sense data isn't reported properly (err, at all).
- It doesn't work with anything other than the Iomega USB Zip drive.
- Hot-unplug doesn't work yet.
...but this is enough to make my shiny new USB Zip drive go.
1999-08-29 00:30:08 +00:00
thorpej
61f3c9356e
If scsipi_make_xs() fails, make sure to flag the buffer as error'd,
...
if provided, and biodone() it. Callers of scsipi_command() expect
this to be done.
1999-08-28 22:28:35 +00:00
augustss
036a9c6974
Change some 'struct device' to 'bdevice'. From FreeBSD.
1999-08-28 21:42:35 +00:00
augustss
1aa63c9fab
Add some comments.
1999-08-28 10:04:01 +00:00
augustss
103e304a84
Add to the growing list.
1999-08-28 10:03:38 +00:00
augustss
2126f7df24
Change a type name.
1999-08-28 10:01:59 +00:00
augustss
598999e482
Fix from FreeBSD.
1999-08-28 10:01:42 +00:00
augustss
e470b13e28
Regen.
1999-08-28 10:01:19 +00:00
augustss
4b398d8f1b
Fixes/updates from FreeBSD.
1999-08-28 10:00:56 +00:00
augustss
64c7328230
Regen.
1999-08-28 09:22:58 +00:00
augustss
d0fbee34df
Add a bunch of i810 devices. From Paul Shupak <paul@plectere.com>.
1999-08-28 09:18:08 +00:00
thorpej
299c0b1d83
Regen.
1999-08-27 23:27:39 +00:00
thorpej
e1b0108ce6
Add Samsung Semiconductor KS8920 10/100 Ethernet.
1999-08-27 23:25:36 +00:00
is
d8c7407afe
Factor out arc_storelladdr(), and use that instead of arc_ifattach() in
...
the bah_reset() function.
This makes the last change work without deconnecting all the other interfaces
from the interface list.
1999-08-27 19:23:19 +00:00
thorpej
456af6d558
Reduce the number of transmit fragments to 16.
1999-08-27 19:21:32 +00:00
thorpej
513feda9ab
- Include the RXE (receive error) interrupt in the interrupt enable mask,
...
and consider it to be like an RCC (receive copy complete). The RCC
code path has always checked for bad received packets.
- Trim the CRC length off the recived packet length; the EPIC/100 always
includes the CRC in the packet.
- Improve fatal error reporting.
1999-08-27 19:13:00 +00:00
thorpej
43c0128089
Small consistency nit.
1999-08-26 22:44:29 +00:00
thorpej
f2a165de01
Make monochrome attribte allocation a bit more obvious.
1999-08-26 21:48:11 +00:00
thorpej
f0629e4b90
Change the way the default foreground and background colors are chosen:
...
require the front-end to initialize rc_deffgcolor and rc_defbgcolor (both
new members), and override these only if RASTERCONSOLE_{FG,BG}COL are
set in the kernel configuration file.
1999-08-26 20:48:09 +00:00
is
8679b79192
Only use ifp->if_addrlen after initializing it.\
...
Problem detected by Andreas Johansson.
1999-08-26 20:44:50 +00:00
hannken
f04bd56be1
Make `sc_ops->sdo_flush' synchronous. The flags `SDF_FLUSHING' and
...
`SDF_DIRTY' were never reset because `sddone' doesn't get called from
synchronous scsi commands.
1999-08-26 09:28:17 +00:00
mrg
387650fb8b
do not install these headers. they are large (~1.8M) and useless to userland.
1999-08-26 07:58:58 +00:00
nisimura
94073f1fd9
One more ioctl() fix. Most of WSDISPLAYIO_xxx were never been called when
...
no wsmux device is installed.
1999-08-26 06:37:42 +00:00
oster
b1615831d2
Nuke some unused code which, were it enabled, might be useful for
...
performance measurement, but which would cause data corruption.
1999-08-26 02:40:27 +00:00
augustss
65845c9e2a
Regen.
1999-08-25 23:23:33 +00:00
augustss
7529455612
Add a PS2 to Mac USB Adapter from P.I. Eng.
1999-08-25 23:23:17 +00:00
thorpej
90b9deda72
When padding short packets on transmit, don't include the CRC length
...
in the computation. kern/8194.
1999-08-25 22:41:42 +00:00
augustss
6516d0b239
Fix an ioctl() problem. From nisimura@itc.aist-nara.ac.jp (Toru Nishimura).
1999-08-25 21:05:21 +00:00
augustss
e0e1fbbe36
Regen.
1999-08-25 20:34:56 +00:00
bouyer
d6c3ef56b4
Guard pool_get()/pool_put() with splbio()/splx(). Fix kern/8245.
1999-08-25 17:08:20 +00:00
augustss
02a79dc13e
Add Multitech MT5634ZBA. From FreeBSD.
1999-08-25 16:28:12 +00:00
ad
9a61ce5bff
When clearing the entire display, point to the start of the framebuffer,
...
not start of console output. Also, do not advance by ri_delta every row.
1999-08-25 08:45:25 +00:00
nisimura
de9efb01d3
- Fix an error in cursor image manipulation. I learned a pair of Bt431
...
were populated in reverse order from PMAG-A MX ...
1999-08-25 07:56:22 +00:00
nisimura
0bdb76e5cf
- 24bit per pixel TX framebuffer occupies 0x600000.
1999-08-25 02:02:22 +00:00
ross
3844ce8324
Spelling.
1999-08-25 00:59:08 +00:00
soren
aa550d38fb
Regenerate.
1999-08-24 21:32:25 +00:00
soren
fa181849a2
Add Intel i740.
1999-08-24 21:32:04 +00:00
soren
205c3f5a73
Regenerate.
1999-08-24 21:25:52 +00:00
soren
82cb092b79
Fix typo in comment.
1999-08-24 21:25:22 +00:00
tron
766b5fef17
Regen.
1999-08-24 17:48:31 +00:00
tron
7a80808434
Add Allied Telesis LA-PCM (NE2000 compatible) and Contec C-NET(PC)C
...
(MB8696x based) pcmcia ethernet cards. Patches supplied by
Kawamoto Yosihisa in PR kern/8260 and kern/8261.
1999-08-24 17:47:44 +00:00
rh
5cfe8783f9
Regen.
1999-08-24 12:47:20 +00:00
rh
416c42cc34
Add AdLib MSC 32 Wave PnP board (wss audio device).
1999-08-24 12:46:55 +00:00
ad
7f2b1ba8f2
- Change the semantics of rasops_init slightly
...
- Re-name rasops_setfont to rasops_reconfig
- Add some new run-time 'features'
- Bring all run-time 'features' under control of rasops_info::ri_flg
- Some cosmetic changes
1999-08-24 11:07:31 +00:00
augustss
1f2661798f
Make sure to mark the device as dying already in the (de)activate routine.
...
This avoids access to it before the detach routine has blown it away.
1999-08-23 22:55:14 +00:00
augustss
007da22e55
At attach time, get and print (parts of) the IEEE 1284 device id.
1999-08-23 22:35:19 +00:00
augustss
70020635c3
Regen.
1999-08-23 16:54:13 +00:00
augustss
c206e4ab37
Add a Kawatsu mouse.
1999-08-23 16:53:32 +00:00
pk
65cfdf2877
Disable inclusion of debugging code by default.
...
Turn compile-time flag I82586_DEBUG into a boolean switch.
1999-08-23 12:12:42 +00:00
pk
9fceb1947d
Do not report "spurious interrupts"; this is a relic of the PC-only
...
days of this driver.
1999-08-23 12:00:11 +00:00
augustss
592de98a19
Remove some unneeded needs-flag.
1999-08-23 07:07:47 +00:00
augustss
4c217fdaf8
Merge the soft_{td,ed} with the real {td,ed}. This saves time and space.
...
(And fix typo in corresponding uhci change.)
1999-08-22 23:41:00 +00:00
augustss
cc8b61583c
Merge the soft_{td,qh} with the real {td,qh}. This saves time and space.
1999-08-22 23:19:56 +00:00
augustss
be7e2fac07
More things to do...
1999-08-22 22:24:25 +00:00
augustss
1de0531d8b
Simplify ulptwrite() by calling usbd_bulk_transfer(). This also makes
...
it interruptible.
1999-08-22 22:22:43 +00:00
augustss
f747201099
Move more of the transfer completion processing to HC independent code.
...
Fix some problems with transfer abort & timeout.
1999-08-22 20:12:39 +00:00
augustss
5d8adfb5a2
Disable interrupts early.
1999-08-21 21:35:36 +00:00
augustss
a293a6cc73
Make sure not to call tsleep() from suspend/resume routine.
1999-08-20 16:42:38 +00:00
mouse
1705bbe96b
Get rid of ugly vertical bars which occurred when
...
character-cell boundaries != byte boundaries.
("width" (despite the poor name) should be computed based on the
*old* value of bg, not the *new* one.)
Fixes PR 8221.
1999-08-20 06:46:44 +00:00
sommerfeld
be5fe633b8
clean up attach messages slightly.
1999-08-20 03:36:59 +00:00
mjacob
f28eb7f5cc
make alpha compiler happy
1999-08-19 21:29:04 +00:00
augustss
0f99933822
Use the right type for the size argument when calling usbd_bulk_transfer().
1999-08-19 19:57:21 +00:00
augustss
a9563e089b
A first stab at making the UHCI driver endian independent.
...
(It doesn't seem to be quite working yet.)
1999-08-19 19:52:38 +00:00
augustss
c0f0486836
Add a utility function, usbd_errstr(), to print error strings. From FreeBSD.
1999-08-19 19:51:36 +00:00
augustss
462e2614ff
Add some mass storage definitions.
1999-08-19 19:50:42 +00:00
ad
afb0c7b853
Make this compile. Patch from Simon Burge.
1999-08-19 11:20:34 +00:00
tron
f625e72668
Regen.
1999-08-19 08:06:50 +00:00
tron
93f86e5ed5
Recognize a 3Com 3c509 Combo configured in EISA mode. Fixes PR kern/8234
...
by Thomas Pfaff.
1999-08-19 08:06:31 +00:00
matt
fd59bba7cb
after bus_dmamem creating some memory, zero it out. This has stopped
...
my alpha from getting COMMAND FAILED on random boots.
1999-08-19 00:43:45 +00:00
augustss
bf35d2940c
Add some more items.
1999-08-19 00:31:40 +00:00
augustss
1107c3f6ea
Back out last change. The ugliness of the Audio Class should not have
...
to pollute the general USB definitions.
1999-08-18 07:55:19 +00:00
augustss
7fb139742d
Update the endpoint descriptor struct with the two oddball entries
...
that only the Audio Class has.
1999-08-18 07:45:56 +00:00
augustss
54adf47f36
Redo the UHCI data toggle handling.
...
Make sure data toggles get synchronized on open and
when clearing an endpoint stall.
1999-08-17 20:59:04 +00:00
drochner
a47874ac23
correct a comment
1999-08-17 16:15:05 +00:00
augustss
3016e1ebe0
Make some small changes to make it compile on OpenBSD.
1999-08-17 16:06:20 +00:00
drochner
f61d8fd937
regen
1999-08-17 09:42:14 +00:00
drochner
c8aabedc83
-mention a location where the old PCI database can still be found
...
-add Alteon Gigabit Ethernet
1999-08-17 09:40:25 +00:00
thorpej
e71ad5a0ac
The CCB already contains its DMA address, so no need to recompute it
...
over and over.
1999-08-17 02:09:47 +00:00
augustss
24f66ce158
Get rid of FreeBSD code; there was so little to share in this driver
...
that it should be split.
1999-08-16 23:36:25 +00:00
augustss
f7c5edea20
Mention mux # when ignoring it for the console.
1999-08-16 23:22:22 +00:00
mcr
03946f957a
Added Solidum Systems PCI vendor ID and Device IDs
1999-08-16 21:36:39 +00:00
augustss
9a0281ff87
Some new ioctl()s for the umodem driver.
1999-08-16 20:27:55 +00:00
augustss
aa7264892d
Implement a modem driver for the Abstract Control Model, i.e. AT commands.
...
It is accessible through the usual tty abstraction.
XXX The driver needs better error handling and a special call device.
XXX It also needs more testing.
1999-08-16 20:26:53 +00:00
augustss
290c03447b
Change the way transfers are dequeued so thet we know that they
...
are removed from the queue before being deallocated.
1999-08-16 20:24:33 +00:00
augustss
23fa3682af
Remove some, add some.
1999-08-16 20:21:09 +00:00
augustss
72b1f5a4b0
Add more CDC definitions.
1999-08-16 20:20:19 +00:00
augustss
7e4e93390d
Change DIAGNOSTIC behaviour a little.
1999-08-16 20:19:55 +00:00
augustss
df65083b45
A small roadmap of the USB files.
1999-08-16 20:18:07 +00:00
thorpej
a01d72e890
Fix several LP64 problems, and clear up kernel pointer vs. physical
...
address confusion. This driver now works on the Alpha.
1999-08-16 02:01:11 +00:00
oster
770de7bb5a
Print a error message instead of panicing in rf_RecoveryPQFunc().
1999-08-15 03:44:46 +00:00
oster
d516e7b571
Make these compile with RF_INCLUDE_RAID6.
1999-08-15 02:36:40 +00:00
oster
ff6d7dd494
Cleanup a bit.
1999-08-15 02:36:03 +00:00
oster
07cc4855f1
Minor cleanup. No functional changes.
1999-08-14 23:34:18 +00:00
kleink
48f055e09b
Add missing MPU interrupt glue.
1999-08-14 22:42:16 +00:00
oster
4ba14d22b0
Fix an 'off-by-one' error in a RF_ASSERT which meant that a reconstruct
...
would panic in the case where the stripe width was 1 block.
1999-08-14 21:44:24 +00:00
augustss
19570e813c
Implement opl at wss.
1999-08-14 21:19:29 +00:00
kleink
7b34e008a9
Forgot to initialize a pointer; from Simon Burge.
1999-08-14 15:05:02 +00:00
augustss
b8b1e35ece
Some changes from FreeBSD (no functional differences).
1999-08-14 14:49:31 +00:00
augustss
23906f1d41
defopt COMPAT_14
1999-08-14 14:40:08 +00:00
drochner
7317aa4924
make it report the correct ISA port range
1999-08-14 14:32:12 +00:00
tron
b6c7adba38
Regen.
1999-08-14 13:43:27 +00:00
tron
3622436247
Add support for 3Com 3CXEM556B-INT as suggested by Noriyuki KOIZUMI in
...
PR kern/8188.
1999-08-14 13:43:02 +00:00
simonb
6b7eee9252
Initialise "error" in wsmux_detach_sc() before testing if it set.
1999-08-14 11:40:31 +00:00
hwr
4882320d4b
Initialize error variable. Should fix spurious init errors.
...
From Dave Huang in PR 8205.
1999-08-14 11:23:39 +00:00
hwr
af827a1284
Remove dulicate "Ethernet" output. From Dave Huang in PR 8206
1999-08-14 11:09:18 +00:00
augustss
b23490d39f
Implement timeout and abort of requests.
...
Compute length of short transfers correctly.
1999-08-14 08:56:09 +00:00
oster
740b9848cc
Decrease the number of outstanding IO's threashold slightly.
...
The previous value may have been too high in some instances.
1999-08-14 03:47:07 +00:00
oster
6409e641a6
Remove a 'struct proc *'-passing abomination that's been bugging me
...
for quite some time.
1999-08-14 03:10:03 +00:00
oster
4a058e82c5
Correct and/or improve detection of bogus row/column values
...
passed in via ioctls.
1999-08-14 02:41:36 +00:00
ad
a7510095cc
Pass color index through ri_devcmap; don't assume that it already
...
matches the device's color map.
1999-08-13 09:45:46 +00:00
oster
db2eaf18cf
rf_sys.h does not need to be #included in any of these files, and, actually,
...
is no longer needed at all.
1999-08-13 03:41:52 +00:00
oster
1ec5208866
This file is no longer needed.
1999-08-13 03:31:20 +00:00
oster
1aa6ce1041
Garbage collect rpcc().
1999-08-13 03:27:46 +00:00
oster
02acd1910a
First kick at cleaning up the RF_ETIMER code. New timer handling code
...
provided by Peter Galbavy via OpenBSD.
1999-08-13 03:26:55 +00:00
oster
eca431e87c
Nuke configuration of ETimer stuff during main configuration.
1999-08-13 03:25:01 +00:00
oster
5cab826918
Clean up reconstruction accounting a bit. While it worked before, it was
...
slightly broken in the case where the RAID set did not support reconstruction.
1999-08-13 01:43:33 +00:00
bouyer
59af828a94
Regen.
1999-08-12 09:43:18 +00:00
bouyer
7c3cb9c796
Add Promise Ultra66, change entry of Ultra33 to reflect the fact that can
...
"only" do ultra/33.
1999-08-12 09:42:11 +00:00
thorpej
ae6f518821
Garbage-collect CCDF_SWAP; no longer used, and doesn't make any sense
...
with the UVM swap code.
1999-08-11 02:44:35 +00:00
thorpej
dd5ae858e0
We really only need *one* componenet buffer pool...
1999-08-11 02:41:02 +00:00
oster
33e458640f
Garbage collect unused struct rf_test_acc.
1999-08-11 02:20:35 +00:00
oster
31b98d3572
When reporting the status of a component during configuration,
...
provide more intuitive information about whether a component is clean
or not.
1999-08-10 22:56:20 +00:00
oster
620eda50c7
Don't allow reconstructs, copybacks, or forced failures of components if
...
using a RAID 0, since RAID 0 can't handle those sorts of things.
1999-08-10 22:46:59 +00:00
oster
0b08c839eb
Don't go ape if there is a problem verifying the parity. Note the condition
...
and inform the user (as opposed to panicing the system!).
1999-08-10 22:19:27 +00:00
oster
49efd10006
Oops. Make minor change that I forgot when adding the parity check ioctl.
1999-08-10 21:41:37 +00:00
oster
a3aefdaee3
Add support for easily checking the parity status from userland.
...
Also: spl protect rf_RewriteParity().
1999-08-10 18:18:30 +00:00
oster
a531d8c31e
Trying to rebuild parity on a degraded set is bogus, so don't allow that.
...
Also, check sooner for a RAID 0 set, since rewriting parity makes no
sense there either.
1999-08-10 01:53:26 +00:00
bouyer
26db0bba90
Garbage-collect C_INUSE and C_NEEDDONE.
1999-08-09 09:56:00 +00:00
bouyer
5885dbb878
- use pool(9) for wdc_xfer, instead of managing a free list.
...
- fix printing of Ultra-DMA modes (shows up when the drive supports highther
modes than the controller).
- Don't use C_NEEDDONE anymore. We were setting this flag in a possibly
freed wdc_xfer (this didn't create problems, as it was free'd in the POLL
case only, while IRQs are blocked, but it's not good practice anyway
and pool(9) complains about it ;)
1999-08-09 09:55:18 +00:00
bouyer
7eb1fae5d3
Add a missing 'return' in previous commit.
...
Don't use C_NEEDDONE anymore (it's safe to always call scsipi_done()).
1999-08-09 09:49:48 +00:00
bouyer
7e874499c9
Don't call wddone() from _wdstart(), the ata_wdc system will do it now.
...
call wd_flushcache() with the proper flags (especially don't set
AT_WAIT | AT_POLL).
1999-08-09 09:48:04 +00:00
bouyer
c0da6c9129
Don't use C_NEEDDONE, it's deprecated.
1999-08-09 09:43:11 +00:00
ragge
148c244c15
Driver for the DEC SGEC, Second Generation Ethernet Controller.
1999-08-08 11:41:28 +00:00
augustss
38de172f03
Add usbd_set_hub_feature() and usbd_clear_hub_feature().
1999-08-07 23:14:17 +00:00
augustss
d6331b4ef4
Some new items.
1999-08-07 15:05:46 +00:00
augustss
cdfc12a291
Make it possible to open wskbd devices for write (i.e. ioctl) even
...
if it is already open.
1999-08-07 15:04:35 +00:00
thorpej
a8d8fc178f
Fix a typo.
1999-08-07 07:36:19 +00:00
thorpej
ec368bb906
Fix a problem uncovered by attempting to compile on the Alpha: overrun_buf
...
was being initialized to a KVA, when we really wanted a DMA address. Change
the code to allocate the overrun buffer with the control blocks, and
properly initialize overrun_buf.
Note that overrun_buf cannot actually be shared between all boards; DMA safe
memory could vary from bus to bus.
Garbage-collect two functions which are no longer used because of the
above changes.
1999-08-07 07:20:15 +00:00
mycroft
6b33521af9
Increase several timeouts to 30s.
1999-08-07 02:51:51 +00:00
bouyer
fae9929734
- Add some debug printf (WDCPROBE) in _wdcreset_wait(), I've needed these
...
2 times in the past
- Set up timeout per xfer instead of per interrupt. This helps with
PIO transfer (we would call timeout()/untimout() several times for a
transfer).
- If we missed an interrupt for a PIO transfer, reset and restart it
immedialy, don't try to recover and continue. If we missed an interrupt we
may have lost a read/write cycle on the IDE bus. If this happens 1) we
corrupt data and 2) we enter an interrupt loop at the end of the xfer, as
the drive has some more data to read/write, but the host thinks the xfer is
done.
This last change fix the (or at last some of the) 'lookup after lost interrupt'
some peoples have been experiencing.
1999-08-06 12:00:23 +00:00
cgd
0ef6a875b8
regen for updated pcmciadevs
1999-08-06 06:39:57 +00:00
cgd
1780131e5c
add an entry for the IBM EtherJet Ethernet PC Card (cs8920 based)
1999-08-06 06:39:29 +00:00
augustss
03c29debf5
Make this file compile again.
1999-08-05 11:25:47 +00:00
thorpej
191ab2b8e4
Since we have to go through fxp_init() to properly handle IFF_ALLMULTI
...
anyway, take advantage of this and greatly simplify the programming
of the multicast filter. This solves the last reported "device timeout"
problem with this driver.
1999-08-05 01:35:40 +00:00
tron
439a6c4942
Add missing prototype for read_tekram_eeprom() to make driver compile if
...
"options NCR_TEKRAM_EEPROM" is specified in the kernel configuration file.
Patch supplied by Hans Hoppe in PR kern/8141.
1999-08-04 20:51:31 +00:00
ragge
d1ffb22ab2
"files" also needed.
1999-08-04 19:13:05 +00:00
ragge
1aa825ae03
Converted to (mostly) MI code.
1999-08-04 19:12:22 +00:00
leo
7bff22bddc
Catch a console configuration error. Instead of jumping through cdevsw indexed
...
on major(NODEV), call panic...
1999-08-04 14:40:54 +00:00
augustss
fe98b81a44
Get the dependencies on NWSMUX right (I hope).
1999-08-04 11:26:04 +00:00
augustss
84d5e946e6
Use NMPU not NMIDI around call to mpu_intr.
1999-08-04 10:50:52 +00:00
augustss
c1c87dde4a
Add another file I forgot in my MPU changes.
1999-08-04 10:46:34 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
thorpej
5ea625fe90
Almost completely rewrite the receive logic, making it as close as possible
...
to the EPIC/100 driver's (adjusting for the fact that Intel Ethernet chips
are from Pluto):
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() is changed to handle compressing clusters.
Simplify some of the receive list logic:
* Rather than using a homegrown queue and additional software RX descriptors,
use an ifqueue to queue receive buffers, and M_{GET,SET}CTX() to hook DMA
maps and receive buffers together.
Clean up a bit:
* Macroize a bunch of things to make the code a bit easier to follow.
1999-08-04 05:21:18 +00:00
thorpej
11e9392b3e
Only tick the MII if we are using it.
1999-08-04 00:17:28 +00:00
thorpej
0ae14b58eb
Be a little less selective in the transmit interrupt path.
1999-08-04 00:14:08 +00:00
thorpej
f1c6287a6e
Use the Interrupt bit in the command block to generate interrupts, rather
...
than interrupting after every Command Unit Not Active event.
1999-08-03 23:37:14 +00:00
thorpej
1051ab605d
G/c a flag.
1999-08-03 23:18:32 +00:00
thorpej
5c2b83a0ad
Don't bother with interrupt-driven multicast setup.
1999-08-03 23:18:09 +00:00
thorpej
3012cf91af
Completely rewrite the transmit logic, making it look more like the
...
EPIC/100 driver's. Also, fix the "all multicast" logic. Also do some
general cleanup.
1999-08-03 22:43:28 +00:00
oster
e0c8203cb3
Nuke unused #define.
1999-08-03 22:07:39 +00:00
drochner
f04cb4036f
move common support functions for phy drivers from mii.c to mii_physubr.c,
...
so that they are not includes if no PHY is configured
(avoids code bloat if an interface driver has the "mii" attribute but
mii is not used by the particular version)
1999-08-03 19:41:49 +00:00
thorpej
4bd8f1566c
Be a little nicer about memory usage:
...
* Don't allocate receive buffers until the interface is actually brought
up, and release all of them if the interface is taken down.
* Add a knob (defaults to off) which will copy an incoming packet to
a single header mbuf if it is small enough to fit in one, rather than
burning an entire cluster on it. Note that this change will be mostly
moot if/when sbcompress() it changed to handle compressing clusters.
1999-08-03 17:25:51 +00:00
augustss
dbb71e4b35
Add the file I forgot at the previous MPU changes.
1999-08-03 00:27:27 +00:00
augustss
208dad78d1
Get data toggle right for short bulk transfers.
...
(XXX This code needs to be rewritten.)
1999-08-02 23:35:55 +00:00
augustss
caffcd4895
Another debug message.
1999-08-02 19:49:50 +00:00
augustss
2d4d29a1fa
Test return values the right way.
1999-08-02 19:36:48 +00:00
augustss
094852eb36
Change it so that a pipe can be open RW instead of just R or W.
...
This makes close() work properly, but it is still not ideal. Perhaps
there should be different device nodes for input and output on to
and endpoint with the same number?
Pay attention to the SHORT_XFER_OK ioctl().
1999-08-02 19:32:56 +00:00
augustss
d2db832909
Do abort of transfers in a sane way. Fixes PR 8041.
1999-08-02 19:30:34 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
nisimura
9ab80b75b8
- Fix MX framebuffer size which should occupy 2MB in address range.
...
- Restore 72Hz interrupt service mistakenly ruined in the previous commit.
1999-08-02 06:00:40 +00:00
nisimura
e78e58a7b8
- Fix TX 8bpp framebuffer size, which occupies 2MB.
...
- Rework CX RAMDAC register access like as other TC framebuffers.
1999-08-02 04:19:03 +00:00
matt
f7141a0ffb
The Tadpole 3GX uses a modified Sun Mouse protocol. Instead of
...
sending 5 bytes per sample, it sends 3 omitting the 2nd set of
dx/dy updates. You can distinguish between the two forms since
the first byte of 5-bytes seq will be 0b10000xxx which a 3-byte
will have 0b10001xxx. This changes allows the Xsun server to
run unchanged on the Tadpole 3GX (ignoring for now that the
colormap is still broken).
1999-08-02 01:50:27 +00:00
matt
825e233d2e
Allow the mouse baud rate to be patched (rather than forcing a recompilation
...
of the kernel). Also, if the mouse baud rate is 0, say the mouse the isn't
there (so a terminal may be attached in its place). Make debugging mouse
problems much easier.
1999-08-02 01:44:22 +00:00
augustss
cbf1f6f1b9
Move the MPU driver isa/ to ic/.
...
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
1999-08-01 18:05:39 +00:00
augustss
0c0dc211d4
Make an MPU attachment to ISA. Used for old Roland cards. Written
...
by me and gson@araneus.fi (Andreas Gustafsson).
1999-08-01 17:53:39 +00:00
ragge
6ca9b225e7
Add a timeout-routine that checks if transmit logic dies, and reset it
...
in that case. This is not uncommon when the interface is heavy loaded.
1999-08-01 15:25:41 +00:00
scw
ba922d31d8
Re-work the Tx side to avoid calling into the tty layer at
...
interrupt time. This was the cause of the 'mmu fault' panics
seen by several people, as the Tx interrupt is at a higher
priority that spltty().
1999-08-01 09:35:05 +00:00
veego
9baa857f5b
Regen.
1999-08-01 08:32:48 +00:00
veego
9657de4af2
Add an entry for the TI PCI1211 PCI-CardBus Bridge.
...
From the cardbus patches.
1999-08-01 08:32:08 +00:00
augustss
b6b44d6809
Eliminate the need for needs-count for wsmux. This should make
...
wsdisplays work properly again.
1999-07-30 20:52:27 +00:00
thorpej
fff1639c50
GRR! Kludge around the extremely annoying wsmux configuration lossage
...
by removing the "| wsdisplay" from the wsmux.c file declaration. This
will cause any kernel which includes wsdisplay but not wsmux explicitly
to fail to link, but at least those of us with multiple wsdisplays on
a single machine can build kernels again.
1999-07-30 20:42:16 +00:00
nisimura
c03616646c
- Fix TX 66Hz interrupt handling. Verified ok with PMAG-JA as an 8bpp
...
console. XXX troubles in cursor color.
- Typo in comments of MX.
1999-07-30 16:23:43 +00:00
bouyer
2917356cae
Guard tsleep() with a while (!(wdc_c->flags & AT_DONE)) {}, as suggested by
...
Constantine Sapuntzakis confirmed by Bill Sommerfeld. Although nothing is
supposed to call wakeup on this without setting AT_DONE, it's good practice to
do it this way (the process may be waken up by a setrunnable() call).
1999-07-30 14:59:10 +00:00
augustss
09e76a1645
Remove two items that are done.
1999-07-30 11:40:19 +00:00
thorpej
76dcbfad36
Regen.
1999-07-29 20:58:19 +00:00
thorpej
8548b384f5
Add some Initio SCSI controller IDs.
1999-07-29 20:56:55 +00:00
augustss
3d3f77c49e
Add the wsmux pseudo device.
1999-07-29 18:20:02 +00:00
bouyer
a81c366fed
Bump MAX_START to 256, so that the ncr driver can work with more than 5
...
devices on the same bus. See PR kern/6347 for details.
1999-07-29 10:00:34 +00:00
soren
7220690fb8
Regen.
1999-07-28 22:38:00 +00:00
soren
4341d92cb3
Correct Acard device names.
...
Add and update a few IBM devices.
Add Toshiba and NEC devices in Portege 3K's.
1999-07-28 22:36:10 +00:00
drochner
36e00c28de
fix the previous fix
1999-07-28 10:03:02 +00:00
christos
fb4ecab492
make these compile again s/#endif/#else/
...
again, it is impossible for me to make sure that they work.
1999-07-28 06:35:06 +00:00
castor
0a1820a4e7
regen
1999-07-27 17:55:00 +00:00
castor
424a28aa79
Add vendor ID for Geocast
1999-07-27 17:52:59 +00:00
thorpej
d6c9ec0a2e
Make this "should work" on big endian systems.
1999-07-27 00:55:34 +00:00
thorpej
b73b84643f
Add support for the SMC 83c175. Also, print out the chip rev when
...
we attach.
1999-07-27 00:37:34 +00:00
thorpej
f48807a678
Regen.
1999-07-27 00:24:06 +00:00
thorpej
b5dc3f5708
Add product ID for the SMC 83c175 Fast Ethernet chip. This is a cousin
...
of the SMC 83c170 which also supports CardBus.
1999-07-27 00:23:47 +00:00
explorer
8fa3d8be55
make the JVC 2626 match more than one version, since all seem to be
...
returning errors on the LUN probe.
1999-07-26 22:43:13 +00:00
ad
e6216650d8
Use unsigned integer to hold font bits in putchar(). [This looks like the
...
source of glyph corruption].
1999-07-25 17:36:40 +00:00
augustss
4047458551
More DIAGNOSTIC messages.
1999-07-24 01:40:19 +00:00
hwr
f6bf685b94
Regen.
1999-07-22 20:58:18 +00:00
hwr
baf7e04902
Insert a space in New Media Corporation. Fixes kern/7817 by Lloyd Parkes.
1999-07-22 20:56:38 +00:00
thorpej
40d9e23179
Define the Volume Tag format.
1999-07-22 17:43:53 +00:00
ad
a41907cbf8
- Style nits
...
- Kill some of the dainbramage in variable-depth copycols()
1999-07-21 19:19:03 +00:00
oster
5cef006d40
Need to splbio()/splx() protect some of the reconstruction stuff.
...
Without this, we have potentially bad interatctions with the pool
code.
1999-07-21 03:15:26 +00:00
drochner
963921febe
regen
1999-07-20 20:59:03 +00:00
drochner
62adeef8f6
add TI TVP4020 Permedia 2
1999-07-20 20:58:20 +00:00
bouyer
29664a379a
The options actually used are RASTERCONSOLE_{FG,BG}COL, not
...
RASTERCONS_{FG,BG}COL. defopt the rigth ones.
1999-07-20 18:05:15 +00:00
oster
ce7cb7114d
rf_UnconfigureVnodes() needs to be called in the DO_RAID_FAIL macro.
1999-07-19 01:36:07 +00:00
oster
0c7600ca4e
sectorsPerStripeUnit should be larger than 0. If it isn't, simply fail.
...
(Thanks to Thor Lancelot Simon for noting the problem).
1999-07-19 01:35:19 +00:00
ross
5122ae5f44
Recognize 3c905C.
1999-07-15 18:10:29 +00:00
ross
4dae830922
Regen.
1999-07-15 18:06:39 +00:00
ross
4495d8362a
product 3COM 3C905CTX 0x9200
1999-07-15 18:02:08 +00:00
augustss
50eef750e4
Regen.
1999-07-15 14:53:13 +00:00
augustss
8a5bb754c7
Add Cinemaster C 3.0 DVD Decoder.
1999-07-15 14:52:48 +00:00
sommerfeld
5d94c1dc69
Clarify that the empty string, not the string ANY, as the network name means
...
pick any access point
1999-07-15 14:31:52 +00:00
thorpej
e314d1d844
Correct the sense of the PCR_FLINK100 bit. From Dave Sainty, PR #7832 .
1999-07-14 23:57:36 +00:00
sommerfeld
48f2389776
Add shutdown hook to turn off card.
...
Fix BPF tap code.
1999-07-14 23:07:29 +00:00
fvdl
76b2d00f39
Regen.
1999-07-14 23:03:09 +00:00
fvdl
a641b41593
Add/change a few Adaptec controller IDs.
1999-07-14 23:02:01 +00:00
tron
62af9404e6
Skip LUN check for all versions of the UMAX Astra 1220S as suggested
...
by Dan McMahill in PR kern/7991.
1999-07-14 22:34:18 +00:00
sommerfeld
5d33b8fc14
Install a header needed by userspace wiconfig program
1999-07-14 22:32:05 +00:00
sommerfeld
52faa3e2d7
Blitz port of the FreeBSD wi* driver for the Lucent WaveLan IEEE
...
PCMCIA wireless LAN.
Original driver written by Bill Paul <wpaul@ctr.columbia.edu>
1999-07-14 22:24:07 +00:00
sommerfeld
313081da93
Add a few 802.11 cards
1999-07-14 22:13:27 +00:00
augustss
021319d9b3
Avoid crashing if we are forced to close() before teh open() completed
...
(can happen on disconnect, probably due do dubious logic in vdevgone()).
1999-07-14 19:12:07 +00:00
ragge
e859716a79
Unused in MI code.
1999-07-12 19:47:40 +00:00
kleink
cf917747a1
Add a driver for the ESS Technology Solo-1 PCI AudioDrive line of chips.
1999-07-12 15:13:30 +00:00
kleink
7d8abaa49e
Regen.
1999-07-12 15:04:41 +00:00
kleink
ecbc7c6afd
Change the ESS Solo-1 description string to match the data sheet.
1999-07-12 15:02:46 +00:00
bouyer
0612a1ddef
Fix typo in a printf, from Soren S. Jorvan.
1999-07-12 13:49:38 +00:00