mrg
833fb0ac7f
back date this file to version 1.155 which works on the shark.
1999-03-31 12:44:04 +00:00
bouyer
bb47e5aecf
Increase some DELAY(), this seems required on some hardware (I'm not sure if
...
the hardware is at fault, or if DELAY(1) waits for less than 1us).
Improve debuging messages for wdcreset_wait().
1999-03-31 11:18:31 +00:00
perry
d5a261206d
Replace the #ifdef'ed variable DELAYs with a pair of non-ifdefed
...
DELAY(1)'s. This should fix interrupt driven lpt driver hang and
reboot problems for the group of users who have experienced them, and
shouldn't hurt anyone else.
1999-03-29 21:50:06 +00:00
mycroft
f487bc59aa
Nuke bogus extra variable, too.
1999-03-29 13:40:41 +00:00
mycroft
85ad0d175c
Fix bogons in previous change:
...
* The fact that IIR_NOPEND was not set on entry does *not* mean that no
transmission was in progress. Besides, we don't want to throw away receive
interrupts either.
* In the !clearirq case, we didn't splx().
1999-03-29 13:21:15 +00:00
fvdl
d58a5af79d
Fix multicast hashing function. PR 7274, from Izumi Tsutsui
1999-03-29 11:11:34 +00:00
ross
6a228da053
Mods to com_common_putc(). When doing kprintf() or kgdb output:
...
1. don't clear the irq unless it was clear before transmitting
2. also do various bus_space_barrier() ops
Stops console from freezing when kprintf interrupts tty driver output.
1999-03-29 10:01:39 +00:00
bouyer
ad69d389ab
Remove the hack to attach devices responding with ATA signatures as atapi if
...
IDENTIFY said so: it doesn't help for the drive this was supposed helping,
and seems to break another device.
In interrupt routine, don't return 0 if we are polling: this should fix the
"panic: wdc_exec_command: polled command not done" some people reported
(kern/7269).
1999-03-29 08:32:02 +00:00
wrstuden
df93e67c02
PPS support. Copied off of com.c support, with changes as DCD interupts
...
are only enabled if needed and if ok'd by MD layer.
1999-03-27 01:22:36 +00:00
mjacob
99d46bf762
add isp1080 support and some basic PDB change stuff
1999-03-26 22:39:44 +00:00
thorpej
34f3cd7ce9
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:20:22 +00:00
thorpej
88d8a91205
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Fix a bug where packets wouldn't be padded to the correct
minimum length.
1999-03-25 23:19:59 +00:00
thorpej
9caa955278
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves. Subtract ETHER_CRC_LEN as necessary to get the same values
for these constants as were previously defined locally.
1999-03-25 23:19:16 +00:00
thorpej
ad22c1dd58
Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
...
ourselves.
1999-03-25 23:16:37 +00:00
bouyer
1ff88ee466
Avoid busy-waiting when possible if we are not polling (real IRQ or timeout
...
callback). Shared PCI IRQ should now work (but still untested).
1999-03-25 16:17:36 +00:00
perry
8ade3b61ba
Add two #ifdef BROKEN_LPT_DELAY's in to the central write byte
...
& strobe cycle. These bracket DELAY()'s of BROKEN_LPT_DELAY
microseconds. This can be used to kludge around mysterious hangs and
reboots some users experience. The cause of these failures is still
not known, but is conjectured to be hardware bug originated failures
in the bus cycle.
1999-03-25 02:17:38 +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
drochner
1c99e4196a
Use BUS_SPACE_ALIGNED_POINTER() instead of ALIGNED_POINTER() where the pointer
...
in not just used to access memory but is bassed to bus_space_xxx_n()
methods. For debugging purposes, bus_space can have additional constraints
which will be properly met by BUS_SPACE_ALIGNED_POINTER().
1999-03-23 21:41:07 +00:00
bad
f44fb0d91c
A backend for Databook's TCIC family of PCMCIA chips.
...
Thanks to Andreas Lohrum, O'Reilly Verlag, Terry Moore, and Holger Czukay
for hardware, documentation, and support.
1999-03-23 20:04:14 +00:00
pk
c3eb74e089
Check for Sbus slave access errors.
...
Call bus_dma_load() with elevated priority.
1999-03-23 00:32:27 +00:00
bad
a4e508928f
Oops. RcsID police.
1999-03-22 23:01:36 +00:00
bad
2c16793ee5
Chipset driver for TROPIC based Token-Ring cards.
...
Frontends for IBM and 3COM ISA cards.
By Onno van der Linden <onno@simplex.nl>.
1999-03-22 22:21:26 +00:00
drochner
b2c812d776
set "fontset" variables to 0 if no appropriate font was found for a
...
freshly allocated screen, should fix panic if "vga_mapchar()" it
attempted later
1999-03-22 18:24:23 +00:00
erh
fc841e81b5
Get the index on the buffer (in addition to the descriptor) correct.
1999-03-19 22:43:11 +00:00
mjacob
008b51d0a6
Update the driver with some infrastructure for the 1080. Fix an embarrassing
...
clock botch bug. Additional infrastructure for PDB change stuff.
1999-03-17 06:15:47 +00:00
erh
f4ccb35266
Add a "+1" in sca_start which should fix the limit of 2 transmit buffers. Also, kill some duplicate code.
1999-03-16 21:29:23 +00:00
jonathan
69d2d27c1b
Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
...
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.
Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
minoura
1ff51fea1a
Some x68k conditionals (I don't know why these are needed...).
1999-03-14 16:14:54 +00:00
bouyer
a6365676fa
Add a new disk flag: DRIVE_OLD for pre-ATA disks. probe routine will now set
...
DRIVE_OLD, DRIVE_ATA or DRIVE_ATAPI based on register signatures.
The attach routine will issue a IDENTIFY command for ATA/ATAPI disk,
to detect flase matches by the probe routine.
probe/attach should now be fully compliant with ata-4/ata-5. As a side
effect, ATAPI drives which improperly use ATA register signatures should now
be attached as ATAPI.
1999-03-10 13:11:43 +00:00
bouyer
ba74f49e60
Keep track of CRC errors in Ultra-DMA mode. If we noticed a CRC error and we
...
need to downgrade, downgrade to PIO, as it has been shown if we got CRC errors
in Ultra-DMA mode, we will have silent data corruption in multiword DMA mode
(isn't IDE wonderfull ? :).
Set timeout to 1s for "normal" ata I/O, to minimise the effects of missed
interrupts.
1999-03-07 14:02:53 +00:00
dante
199f99d192
fix second level interrupt handler to allow 64 bits pointers
1999-03-04 20:15:53 +00:00
pk
80b321b11a
sparc => __sparc__
1999-03-03 12:58:14 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
dante
198f1f5c48
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:21:33 +00:00
dante
eab52d94b3
Fixed AdvanSys Ultra Wide driver to work on Alpha.
1999-02-23 20:18:16 +00:00
scw
fc658e2d3e
Don't update the CORx registers unless they really have changed.
...
Also make console Tx handling wait until the Tx FIFO has drained and
the shift-register is empty before sending console characters.
1999-02-21 14:01:50 +00:00
abs
b86f85e1cc
wdcwait is called initially without any device on my thinkpad.
...
This breaks the first WDCDEBUG_PRINT. Handle this case.
1999-02-21 02:07:52 +00:00
hubertf
99626f33a3
Only #define WDCDEBUG if it isn't already defined (e.g. by some options
...
in the kernel config file).
1999-02-20 23:47:52 +00:00
drochner
bd047d30a0
complete mapping table for pcvt fonts, make dual-font selection work
...
as intended
1999-02-20 18:27:53 +00:00
drochner
9ad8930d16
complete mapping tables a bit so that ASCII (ie vt100) art looks better
...
even without extra fonts loaded
1999-02-20 18:26:13 +00:00
scw
3a5b0d88ca
That #define splserial() really didn't want to be there...
1999-02-20 16:23:39 +00:00
scw
0ed9dc11d7
Delay serial port parameter changes until the Tx FIFO has emptied.
1999-02-20 00:27:29 +00:00
leo
e54f78017e
This one needs <machine/bswap.h> too.
1999-02-19 20:58:51 +00:00
minoura
38803874bb
Translated Japanese comments.
1999-02-19 16:19:53 +00:00
mycroft
28bc4dfeca
Oops; PCIC_INTR_ENABLE does something *very* different.
1999-02-19 03:14:00 +00:00
mycroft
70d4ac07b6
Yet another path where we need to set PCIC_INTR_ENABLE.
1999-02-19 00:27:45 +00:00
mycroft
18e341a954
Add separate halt_input and halt_output methods in ad1848_isa, which disable
...
the DMA channel.
1999-02-18 17:27:39 +00:00
bouyer
7e5acb7709
Don't print an extra newline if the controller doesn't support 32 bits access.
...
Pointed out by Dave Huang.
1999-02-18 14:45:31 +00:00
thorpej
cfb2342145
Fix the code in epic_attach() that frees resources when the attach fails.
1999-02-18 02:24:30 +00:00
thorpej
5c457e71fe
Only do the multicast filter bug work-around if in 10Mbps mode. Also,
...
don't reset the interface if the multicast list changes. Just reprogram
the multicast hash table.
1999-02-18 02:12:09 +00:00