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
augustss
285bee1d61
Regen.
1999-04-03 19:03:02 +00:00
augustss
2198f62dd1
Add Visiion camera and Macally mouse.
1999-04-03 19:01:57 +00:00
augustss
28903948b1
Add legacy support register.
1999-04-03 19:01:20 +00:00
augustss
946efa06b3
Improve debug output a little.
1999-04-03 19:00:43 +00:00
augustss
7793bb6998
Generate grammatically correct sentences.
1999-04-03 18:59:51 +00:00
augustss
ecbea6c6a0
More things to do.
1999-04-03 18:58:52 +00:00
scw
9737cf763a
Fix a problem where no Tx Empty interrupt ever happened if CTS
...
was deasserted and we wanted to change parameters to -crtscts
This effectively stalled the transmitter since with TS_BUSY set
we only change parameters during the Tx interrupt handler.
1999-04-03 13:13:19 +00:00
augustss
65235b4248
Regen.
1999-04-03 11:57:02 +00:00
augustss
75fd6f5433
Add Microsoft Natural Keyboard.
1999-04-03 11:56:39 +00:00
bouyer
b43b844f6f
- change the interrupt routines to take a 3rd arguments, set to 1 if we
...
are called from the interrupt or timeout handler, 0 otherwise.
- use this to know if we can busy-wait for wait_for_unbusy or wait_for_ready
This fixes a bug where CDs withot the DRQ_INTR capability would not busy-wait
for the CMDOUT phase.
While I'm there change 2 delay() to DELAY() for consistency, and
garbage-collect some old code from wdcintr() which has been ifdef'd out
for some time now.
1999-04-01 21:46:28 +00:00
explorer
3f80ba486e
don't allow /dev/random to be opened (return ENXIO) until there is at least
...
one active entropy source
1999-04-01 19:07:40 +00:00
tsubai
500edb5379
Fix typo. (From PR 7027)
1999-04-01 14:55:25 +00:00
drochner
00a4d0521a
use defopted WSCONS_SUPPORT_PCVTFONTS, refuse to load pcvt fonts if this
...
option is not given, suppress complaints in non-debug case
1999-04-01 11:52:42 +00:00
drochner
4f0acde07b
defopt WSCONS_SUPPORT_PCVTFONTS
1999-04-01 11:50:02 +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
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
mycroft
2f91607aff
Enable this is a non-entropy rnd source.
1999-03-30 21:02:41 +00:00
thorpej
ae7f25d8af
Fix a typo.
1999-03-30 20:07:56 +00:00
mycroft
ca5dd9fee7
The AD1848/CS4231 attachment doesn't create DMA maps any more, so we have to
...
do it here. This is preferrable anyway, since we're not actually doing DMA
through the AD/CS chip.
1999-03-30 16:40:47 +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
fvdl
c45bee7307
Regen.
1999-03-29 21:36:00 +00:00
fvdl
05eae31620
Now that he ESS 1868 and 1869 are working, enable them here.
1999-03-29 21:35:19 +00:00
pk
401d03761f
Initialize automatics in stp4020print(); noticed by Jonathan O'Brien.
1999-03-29 21:30:48 +00:00
augustss
20d6f6afe6
Regen.
1999-03-29 17:24:33 +00:00
augustss
8333badc92
Add Epson printer cable.
1999-03-29 17:23:45 +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
cjs
5ecfcfbb96
Make `sun4m DMA not supported yet' message print only for this device,
...
rather than every sbus device probed.
1999-03-29 12:04:43 +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
nisimura
ed7699b360
- Unnecessary to have '#include <machine/autoconf.h>' for those.
1999-03-29 07:22:02 +00:00
drochner
4f36436461
add fields for bus_apace tag and handle to ioasic_softc
1999-03-28 17:47:28 +00:00
tron
777c326ff7
Make it possible to force 16 mode via "flags 4" in kernel configuration.
...
Patch supplied by Martin Husemann on "current-users", fixes PR kern/5673.
1999-03-28 12:51:49 +00:00
drochner
1663f7072b
remove a diagnostic panic in the keyboard autorepeat timeout() handler.
...
There is a rece condition which might trigger this but is harmless
otherwise. Leave the handler silently instead.
1999-03-27 11:22:23 +00:00
oster
14de6c2418
Cleanup shutdown code - garbage collect (now) unused shutdownhooks() stuff.
1999-03-27 01:26:37 +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
e50460f5fa
Oops- if you enable 1080 support, remember to load the f/w
1999-03-27 01:08:59 +00:00
dbj
9d326d488b
defopt RCONS_2BPP and RCONS_16BPP
...
add support for 16bpp framebuffers as found on color nexten.
1999-03-27 00:07:58 +00:00
mjacob
d8aa229a12
roll internal release tag
1999-03-26 22:45:17 +00:00
mjacob
99d46bf762
add isp1080 support and some basic PDB change stuff
1999-03-26 22:39:44 +00:00
drochner
068cafa92a
In a PC keyboard doesn't accept a "set to scanset 2" command, reset it
...
and ignore the error. Scanset 2 should be the default after reset, so
this allows some broken keyboards to work. (Reset is needed because at
least 1 keyboard locks up if the "set scanset" is attempted.)
1999-03-26 12:39:13 +00:00
mjacob
3cafeadabd
Add support for the PTI SBS430. It's a FAS200 type chip- it's a bit funky
...
in that the registers aren't spread by a longword like all the other SBus/ESP
cards. Otherwise it's much the same. It'll make Brad Salai happy.
1999-03-26 06:48:40 +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
mjacob
d3fb0e2ad5
roll internal tag level
1999-03-25 19:41:47 +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
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
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
explorer
77597ecd3e
Start commit of Lan Media Corp T1/HSSI/DS3 driver
1999-03-25 00:51:53 +00:00
thorpej
01ea9a1dd8
Regen.
1999-03-24 21:07:26 +00:00
thorpej
029f0b9d86
Silicon Integrated Systems OUI and the SiS 900 PHY model number.
1999-03-24 21:07:04 +00:00
augustss
0ed038285c
Remove leftover definition of AUDIO_DEBUG.
1999-03-24 20:59:21 +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
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
drochner
5575305f99
If no screen got the "focus" (which happens with serial console or if
...
the current screen is deleted), automatically give focus to the next
screen created. Saves the need to switch to a usable screen manually.
1999-03-23 15:56:56 +00:00
pk
b0de87c45f
To clear a chunk of bus memory use bus_space_set_regionN().
1999-03-23 12:01:45 +00:00
pk
54ae4d24b8
Call bus_dma_[un]load() at splbio.
1999-03-23 00:38:15 +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
pk
d86e93c62a
Fix promiscuous modes - patches from Jason Wright.
1999-03-23 00:27:09 +00:00
bad
a4e508928f
Oops. RcsID police.
1999-03-22 23:01:36 +00:00
bad
e09c06e04d
Regen.
1999-03-22 22:36:49 +00:00
bad
579b0fce1b
Recognise IBM and 3COM Token-Ring PnP cards and associate them with the tr
...
driver.
1999-03-22 22:36:10 +00:00
bad
ce0465b40f
config(8) glue for Token-Ring and TROPIC drivers.
1999-03-22 22:33:35 +00:00
bad
a8e47bd29b
Add TLINK_619_POLY.
1999-03-22 22:26:27 +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
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +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
sommerfe
d48e548abb
defopt WSDISPLAY_DEFAULTSCREENS
1999-03-22 16:50:54 +00:00
mycroft
330c5ea7a2
Create DMA maps at open time.
1999-03-22 14:54:01 +00:00
mycroft
9e4bd01bff
Make sure we clean up any DMA maps if the open fails.
1999-03-22 14:38:02 +00:00
mycroft
41d5307e95
One minor change to previous.
1999-03-22 14:32:59 +00:00
mycroft
f887d74c45
Nuke sc_iooffs from orbit. This is exactly what bus_space_subregion() is for.
1999-03-22 14:29:14 +00:00
mycroft
6ada3afd8b
Reject variant numbers which are too large (so that a new version of isapnpdevs
...
with an old driver will not lose mysteriously).
1999-03-22 10:00:09 +00:00
mycroft
2cccf3bd4a
Update callers of isapnp_devmatch().
1999-03-22 09:44:12 +00:00
mycroft
cbd5623c72
Add support for switching Aztech chips into WSS mode.
1999-03-22 09:43:12 +00:00
mycroft
86d586012a
Regen.
1999-03-22 09:41:58 +00:00
mycroft
8e0df99c1e
Add variants numbers, and Aztech AZT2320 bindings.
1999-03-22 09:41:10 +00:00
mycroft
77274e73c6
Add a `variant number' to the tables, so we can handle slight variations in
...
the chipset without doing something substantially more gross.
1999-03-22 09:38:57 +00:00
mycroft
cfe7413adb
Make 48KHz output work.
1999-03-22 07:58:55 +00:00
mycroft
5f6bb6237b
Do the splaudio()/IPL_AUDIO hack here, too, so that MPU attachments can see
...
it.
1999-03-22 07:57:15 +00:00
mycroft
878708a06b
Adjust for MPU attachment change.
1999-03-22 07:41:36 +00:00
mycroft
fd400e0ddc
Add a kluge to ignore I/O and memory ranges with a size of zero, so we don't
...
blow up in bus_space_{map,unmap}(). At least one card uses this to `disable'
a logical device.
(XXX There's probably a better way to do this.)
1999-03-22 07:40:57 +00:00
mycroft
ccbad3061c
Add a mpu_isapnp attachment.
1999-03-22 07:39:33 +00:00
mycroft
97de30ff26
Several things:
...
* Rearrange the speed mapping table and adjust the code so that the highest
rate can actually be used. Previously we ended up rounding up slightly
lower speeds and then losing because set_params couldn't set the mode
back to the current one.
* Allow 260 as a valid I/O address, since the SB1 can be jumpered to this.
* Change the MPU-401 code so it can be attached as a separate device.
(XXX Really, the SB code ought to just attach a subdevice itself.)
* Do not attach an OPL on the SB1. Writing to the OPL registers at
SB_base+0 on this card wedges my machine.
(XXX Should we access it at 388 instead? The Creative web site claims
that this board *does* have an OPL2, but I haven't played with this
extensively.)
* Allocate the SB DMA channels at open time, rather than attach time, so
that a single DRQ can be used for multiple cards (if only one is in use
at a given time).
(XXX Let me tell you why this is a horrible hack. If the ISA DMA code
tries to allocate a bounce buffer after boot time, it will generally fail,
because there is no contiguous memory below 16MB and the code to allocate
contiguous pages doesn't know how to move things around. Now, we
shouldn't ever be using bounce buffers here, because we use
isa_dmamem_alloc(). So we just turn off BUS_DMA_ALLOCNOW and we don't
actually try to. That's cool, and it even works, but isa_dmamem_alloc()
has the same problem. It just happens that we allocate the ring buffers
at boot time, and whenever we reallocate them (due to the buffer size
changing), we just deallocated the previous (contiguous) buffer, so we get
lucky. This is absolutely disgusting and needs to be fixed.)
1999-03-22 07:37:35 +00:00
mycroft
1337db796b
Adjust the probe routine to work on chips where the mic preamp bit is shared
...
between register I0 and I1.
1999-03-22 07:27:46 +00:00
mycroft
ee5f90d04c
If bus_dmamap_create() fails, free the DMA channel.
1999-03-22 07:06:09 +00:00