mjacob
0fc69df287
Remove incorrect BIG_ENDIAN defines and substitute in the SBus only macros
...
that will SBusify an isp header or the lun/target portions of a request IOCB-
and have these only valid iff __sparc__ (no non-sparc SBus machine that *I*
know about).
1999-04-04 01:32:44 +00:00
mjacob
b7406cc163
Change f/w revision to major,minor,micro version. Add in ISP1040C definition.
1999-04-04 01:27:06 +00:00
mjacob
e6a460c3f3
roll ISP1040 and ISP2100 f/w to latest release
1999-04-04 01:21:02 +00:00
mjacob
eebeea5b23
Read the board revision and trim cache line size back from 16 to 1
...
for early revision 2100 boards. Make sure to turn ROM off for these
boards.
1999-04-04 01:14:58 +00:00
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
erh
fc841e81b5
Get the index on the buffer (in addition to the descriptor) correct.
1999-03-19 22:43:11 +00:00
ad
14c68aa23d
Defined KEY_CAPSLOCK.
1999-03-19 18:34:01 +00:00
christos
036ec6601c
Add FDC_HEADSETTLE to wait for the heads to settle timeout
1999-03-19 16:09:57 +00:00
mycroft
5b00b99bef
Allow DRQ[A-C] to be used on the 1888 as well.
1999-03-19 12:40:21 +00:00
mycroft
f60907c286
Regen.
1999-03-19 06:40:11 +00:00
mycroft
4e92fb2fd1
Add AudioPCI 97 (a.k.a. Creative Ensoniq AudioPCI).
1999-03-19 06:39:32 +00:00
cgd
fa26744c04
don't need isa_machdep.h, since isavar.h is included
1999-03-19 05:42:00 +00:00
cgd
d324c9f2f6
pull isa_machdep.h in from machine/ instead of from $(MACHINE)/isa/
1999-03-19 05:13:16 +00:00
cgd
ff42ff62e8
pull pci_machdep.h in from machine/
1999-03-19 03:37:52 +00:00
cgd
a6eca03c65
pull ofisa_machdep.h in from machine/
1999-03-19 03:30:35 +00:00
cgd
1f2cf84892
pull isapnp_machdep.h in from machine/
1999-03-19 03:24:19 +00:00
cgd
49f4da1c43
pull tc_machdep.h in from machine/
1999-03-19 03:13:21 +00:00
cgd
6ac54498c7
pull eisa_machdep.h in from machine/
1999-03-19 03:01:50 +00:00
eeh
b71ea6aad4
Use correctly bus_space_*() macros to access device registers.
1999-03-19 02:32:48 +00:00
mycroft
270a41c358
We only have one IRQ.
1999-03-19 01:21:24 +00:00
mycroft
b45b384ea1
Also fix ia_iosize.
1999-03-18 20:57:11 +00:00
mycroft
5a20d4df8d
Some fixes to the IRQ/DRQ configuration, and the probe output.
1999-03-18 20:55:50 +00:00
drochner
43b95688fe
regen
1999-03-18 17:07:51 +00:00
drochner
f5489c46e2
aic at isapnp is reported to work with AVA-1505A boards too
...
(by "Elephant's Root" <root@elephant.nervana.montana.edu>,
PR kern/7179),
add the device id and the compat id used by this board
1999-03-18 17:07:09 +00:00
augustss
0cdb143eaf
Initialize pipe structure properly. From Joel Chen <jchen@nc.com>
1999-03-18 12:08:43 +00:00
mycroft
813fb95309
The chip is only rated for 44.1KHz, and will not record faster that 46.794KHz,
...
so adjust ESS_MAXRATE. ESS_MINRATE was also wrong, not that anyone cares.
1999-03-18 07:11:21 +00:00
mycroft
b6ee330d4e
dmapos should start at 0, in theory.
...
Also experimentally force polling mode.
1999-03-18 06:04:21 +00:00
mycroft
81d2718d5b
Add support for polling.
1999-03-18 06:03:31 +00:00
mycroft
039246b8d5
Add support for polling.
1999-03-18 04:31:36 +00:00
oster
efe288e520
Correct a component label problem where a RAID 1 set with a
...
failed component would not configure properly in certain situations.
1999-03-18 03:02:38 +00:00
mycroft
ff4754d6e5
Confirm that there was an interrupt before handling it. Allows IRQs to be
...
shared with other devices.
1999-03-18 02:44:27 +00:00
mycroft
4bd7ef0241
Adjust for structure name changes.
1999-03-17 22:19:35 +00:00
dean
ce18d4bd84
corrected the "generated from" lines by running make -f Makefile.isapnpdevs
...
AFTER committing isapnpdevs.
1999-03-17 21:11:57 +00:00
thorpej
1954300d6c
Regen.
1999-03-17 19:21:49 +00:00
thorpej
0d433f490b
Add Silicon Integrated Systems SiS900 10/100 Ethernet.
1999-03-17 19:20:51 +00:00
ross
4ca95ee66e
prototype ioasicprint
...
XXX pmax XXX I think someone is using the MD proto and the MI func on pmax
1999-03-17 18:24:57 +00:00
bouyer
af9df0ab31
Revert to a 10s timeout, 1s is too low for drives in sleep mode.
1999-03-17 10:13:56 +00:00
mjacob
c312dfb410
prototype 1080/1240 support caused register offset rewhack
1999-03-17 06:17:16 +00:00
mjacob
d596b20f1e
prototype 1080/1240 support
1999-03-17 06:16:42 +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
mjacob
690045798e
roll internal tag
1999-03-17 05:11:57 +00:00
mjacob
72c7f98bd8
add in 1080/1240 f/w, plus options to not compile stuff in
1999-03-17 05:11:13 +00:00
mycroft
8ace2247cb
Fix a couple of other places we should avoid the Audio2 DRQ on the 1788.
1999-03-17 02:39:59 +00:00
mycroft
81a1ade358
More redux:
...
* Use a single routine to halt both input and output on Audio1.
* Reduce the number of register reads/writes used to set up a channel.
* A few other minor things.
1999-03-17 01:06:17 +00:00
dean
16ef4e3349
Add entries for USR Sportster 14.4K and 33.6K
1999-03-16 22:58:17 +00:00
mjacob
e380eb62d5
Tron whacked my you-know-what because I didn't follow procedure.
...
So I insered his description of the 'procedure' in the most likely
place a developer will find it.
1999-03-16 22:41:56 +00:00
tron
ddbc34d638
Regen from "pcidevs".
1999-03-16 22:32:58 +00:00
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
mjacob
f50c9fa8ea
add Qlogic 1080 && 1240 product IDs
1999-03-16 21:24:46 +00:00
mycroft
84f100d175
Audio1 does not support 16-bit DMA. Eliminate some code that tried to handle
...
that case.
1999-03-16 14:17:00 +00:00
simonb
16cc2ad23b
Uncomment ioasic_subr.c.
1999-03-16 14:07:22 +00:00
simonb
79f173e5f3
Add NetBSD RCS id on first line.
1999-03-16 13:53:39 +00:00
mycroft
13d43eb62b
Fix old typo.
1999-03-16 13:37:23 +00:00
mycroft
e085a0c921
A little more cleanup.
1999-03-16 13:32:25 +00:00
mycroft
28e080a143
Minor fix to some debugging output.
1999-03-16 13:24:27 +00:00
mycroft
9e041fd850
Adjustments for structure name changes.
1999-03-16 13:07:45 +00:00
mycroft
3e404912dc
Clean up the previous:
...
* Separate the interrupt handlers based on which channel (audio1/audio2)
rather than which direction (input/output). Only register the handler for
audio1 on the 1788.
* Since the input sides are actually the same, GC the duplicated code.
* Re-KNF in a bunch of places.
* Make this work again on the 1887 in the Shark.
1999-03-16 13:06:35 +00:00
thomas
3387d026d6
Include machine/bswap.h, needed on big endian machines.
1999-03-15 20:19:57 +00:00
jonathan
ef79649fc1
MI ioasic softc and child-device structs, gc duplicate struct definitions.
...
Add MI ioasic functions, but dont enable on alpha until tested.
1999-03-15 01:25:26 +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
oster
2ec2c2045f
Cleanup rf_RewriteParity() and rf_VerifyParity(). Nuke unused stuff,
...
and make more readable.
1999-03-14 22:10:46 +00:00
oster
414b788837
Disallow interrupting parity re-writes or copybacks by removing PCATCH
...
from the tsleep()'s (they probably shouldn't have been there in the
first place!). Making parity re-writing and copybacks interruptable
will require re-designing how a few things are done (e.g. how memory
is freed for structures shipped off to routines that run asynchronously
relative to the calling routine). Fix a few other tsleep's while we're at it.
1999-03-14 21:53:31 +00:00
minoura
1ff51fea1a
Some x68k conditionals (I don't know why these are needed...).
1999-03-14 16:14:54 +00:00
ragge
4d77aa3c15
Avoid warning if !QBA.
1999-03-13 20:26:50 +00:00
ragge
f9b0eec83a
Change vsbus to take a locator for all devices.
...
Figure out interrupt vector/mask on vsbus by forcing all devices to
generate interrupts in the match routine, like on unibus.
1999-03-13 15:16:47 +00:00
drochner
7cfac216d7
Don't initialize any virtual screens (except the system console) at
...
autoconfiguration time; this can be done better from rc.local.
(For INSTALL kernels, WSDISPLAY_DEFAULTSCREENS can be defined which
sets up that many screens with default parameters.)
1999-03-13 14:46:20 +00:00
sakamoto
23903bfc0e
Regen.
1999-03-11 05:17:54 +00:00
sakamoto
272f5b609d
Add several VIA Technologies chipsets.
1999-03-11 05:17:24 +00:00
drochner
b241f995f0
don't erase the characters moved over on a <TAB>, a real VT100 doesn't
...
do this - thanks Bill Sommerfeld (PR kern/7124)
1999-03-10 19:54:52 +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
kleink
a6d726254d
Un-nest __P().
1999-03-10 12:58:00 +00:00
mrg
1cfd38fb3e
oops, fix previous.
1999-03-10 02:19:04 +00:00
drochner
5704ad4969
regen
1999-03-09 11:48:59 +00:00
drochner
2987883f07
add 2 ISDN cards, from Martin Husemann per PR kern/7110
1999-03-09 11:48:03 +00:00
oster
cd0a696176
Cleanup raidattach: move rf_boot's functionality to raidattach, and
...
nuke rf_boot(). Cleanup raidopen().
1999-03-09 03:53:18 +00:00
oster
e39fe5e2fe
Cleanup unused cruft.
1999-03-09 03:52:41 +00:00
oster
29daf0c77d
rf_update_component_labels() now lives here. Re-work clean-bit
...
support a little: clean-bits now also get frobbed on partition
opening/closing, rather than just at device configuration and device
unconfiguration. Schedule shutdownhooks() stuff for nukage at a later
date, since it isn't really necessary any more.
1999-03-09 02:59:25 +00:00
oster
585c77594e
Move rf_update_component_labels() from here to rf_netbsdkintf.c.
1999-03-09 02:57:29 +00:00
mrg
ab80268653
no need to use __P inside __P.
1999-03-09 00:42:41 +00:00
mrg
fbda6bed6d
make this compile on SUN4U. XXX icky, reader beware.
1999-03-09 00:42:20 +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
drochner
1b9cb332aa
Don't try to selftest the keyboard port. PC keyboard controllers have
...
shown up which break in 3 different ways, so the test is becoming
pointless.
1999-03-05 10:40:54 +00:00
pk
df7a15e33c
* sparc => __sparc__
...
* wrap Sun disklabel code in `#if __sparc__ || __sun3__' for now.
1999-03-05 10:38:16 +00:00
dante
199f99d192
fix second level interrupt handler to allow 64 bits pointers
1999-03-04 20:15:53 +00:00
mjacob
fefcc128bf
a kindler gentler fix
1999-03-04 02:38:19 +00:00
mjacob
7790083b17
adjust format args for compiler changes
1999-03-04 02:20:13 +00:00
nisimura
439c3fc0cb
- Nuke "PMAD-BA " match string because it is an internal name of IOASIC
...
assisted LANCE circuit found only in IOASIC DECstations. This file is
for 3MAX builtin and PMAD-AA TURBOchannel option card.
1999-03-04 01:39:04 +00:00
pk
80b321b11a
sparc => __sparc__
1999-03-03 12:58:14 +00:00
nathanw
bd7b26e37d
Add ISA attachment for ess chips.
1999-03-02 20:42:10 +00:00
nathanw
64fffdfef9
Add support for the 1788 AudioDrive chip.
...
Some minor cleanup; refer to more registers by macros rather
than raw hex constants.
1999-03-02 20:36:50 +00:00
oster
98d8c12355
Update for recent changes including component label support, clean
...
bits, rebuilding components in-place, adding hot spares, shutdownhooks, etc.
1999-03-02 03:18:48 +00:00
nisimura
e19cedee17
- Make sfb_emulops standard feature of sfb wscons. Scrolling is now
...
acceptable. Still lacks of horizontal copy and glyph rendering with
SFB ASIC assistance. TGA could be benefitted in the similiar way.
1999-03-02 00:22:42 +00:00
nisimura
f85c9832ac
- Fix cursor image validity check error in set_cursor().
1999-03-01 02:45:04 +00:00
explorer
729bfc4dd7
undo commit made in error
1999-02-28 19:03:11 +00:00
explorer
c1ab1c57fb
don't collect or estimate on network devices by default
1999-02-28 19:01:30 +00:00
explorer
6b24c4b0fd
Cleanup (in preparation for using gzip to estimate entropy)
...
(1) remove unused and probably bad (from an API POV) ioctls,
(2) split tyfl into type and flags,
(3) collect an array of samples, and add them all at once. Soon, this
will be using gzip to estimate the entropy, but for now the original
estimation methods are still used.
(4) kill rnd_add_data() -- it compliated the API for little benefit
1999-02-28 17:18:42 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
pk
87ae97e3f0
Fix what is probably a past-o.
1999-02-28 17:01:49 +00:00
drochner
0d46b0d0fd
Make "1" an acceptable result in port tests.
...
This is a workaround for crappy hardware, normal keyboard controllers
return a "0".
Should fix PR port-i386/6636 by Krister Walfridsson and problems
reported by chopps and fvdl.
1999-02-28 14:26:38 +00:00
augustss
9929e72099
Fix some buglets pointed out by "Brett D. Slager" <bds@snarf.thnet.com>
1999-02-28 10:05:00 +00:00
pk
5c062abb64
Fix the bus print function.
1999-02-27 22:21:13 +00:00
pk
331694119a
Our device name differs from the PROMs node name.
1999-02-27 13:17:08 +00:00
oster
ee9187f136
After a vn_close(), set the vnode * to NULL so we don't try closing it
...
again later.
1999-02-27 03:43:20 +00:00
oster
a76f56098c
Do the VOP_UNLOCK() on an initialized vp, rather than random garbage.
1999-02-27 01:48:13 +00:00
nathanw
ea0550413c
Make these compile on the alpha when AUDIO_DEBUG is defined.
1999-02-26 01:18:09 +00:00
dante
198f1f5c48
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:21:33 +00:00
dante
ceef7fa3d7
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:20:30 +00:00
jwise
8ef8f5c8fb
Fix typo.
...
Fixes last part of PR bin/6883 from Soren S. Jorvang <soren@t.dk>.
1999-02-24 18:54:03 +00:00
rh
46e61f2db1
regen to correct "generated from" as pointed out by Matthias Drochner, thx!
1999-02-24 18:26:37 +00:00
rh
5ff2e5a369
Add entry for Terratec AudioSystem EWS64 CoDec.
1999-02-24 15:37:34 +00:00
oster
65be57243f
Minor cleanups and code rearranging. Now knows a little about component
...
labels and how to deal with hot-adding spare components. Still work in
progress -- component labels and hot-adding are not enabled (yet).
1999-02-24 00:00:03 +00:00
oster
be9eca67c8
Cleanup/remove unused cruft. First kick at component labels and clean bits.
...
Still work in progress. New code is there, but not enabled yet.
1999-02-23 23:57:53 +00:00
oster
07b6b89dce
Move vnode cleanup code into one place. Cleanup a bit.
1999-02-23 23:55:29 +00:00
oster
0d29172def
Do a VOP_UNLOCK() before a vn_close().
1999-02-23 23:53:37 +00:00
nathanw
281bba9355
Update for minor changes in the ad1848 back end.
1999-02-23 21:16:27 +00:00
dante
eab52d94b3
Fixed AdvanSys Ultra Wide driver to work on Alpha.
1999-02-23 20:18:16 +00:00
nathanw
fad6371a16
Update for recent changes in wssvar.h.
1999-02-23 09:14:05 +00:00
nisimura
d6715660b7
- Introduce the first cut of faster wsdisplay_emulops exploiting SFB
...
accelerator potential. Need more work to finish replacing rcons.
Premilinary tests were done with DECstation and TC Alpha.
1999-02-23 06:34:49 +00:00
bouyer
71036465a5
In cy693_setup_channel(), setup timings for IOR too (they were left to 0,
...
which is a way too higth timing for some devices). Thanks to Ken Wellsch
for trying the multiple debug kernels until the problem was located.
1999-02-22 10:12:00 +00:00
mycroft
71eb5693e6
Use DMAMODE_DEMAND.
1999-02-22 03:24:33 +00:00
mycroft
10817df7f0
Oops; remove obsolete code.
1999-02-22 02:33:48 +00:00
mycroft
bd575a4ff6
Add support for demand mode with auto-init.
1999-02-22 02:32:43 +00:00
mycroft
529c6c50aa
Use DMAMODE_LOOPDEMAND. Tested on a CS4231 in a WSS clone.
1999-02-22 02:25:20 +00:00
mycroft
7da867ec93
Use DMAMODE_LOOPDEMAND. Tested on a ViBRA16.
1999-02-22 02:16:40 +00:00
mycroft
ea50d6f672
Use DMAMODE_LOOPDEMAND.
...
Fixes the audible glitches (due to FIFO underruns) when receiving network
packets on the Shark.
1999-02-22 01:57:33 +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
ed418e30a2
Only define WDCDEBUG if not already define (e.g. by kernel option)
1999-02-21 00:52:04 +00:00
hubertf
37a9e5bb67
Only define WDCDEBUG if not already defined (e.g. by some kernel option)
1999-02-21 00:15:42 +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
mycroft
b81ad0de61
Fix the halt_input and halt_output routines to actually disable the channel,
...
not just the DMA FIFO. Fixes problems with sample misalignment.
1999-02-20 23:28:37 +00:00
augustss
5113c5b9c0
Move the bus reset up. This makes the VIA chipset work. From FreeBSD.
1999-02-20 23:26:16 +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
drochner
cc294f2cc5
complete the font tables for the DEC special fonts; assign some codes
...
from the private Unicode area (0xe000 ff.) to stuff I didn't find in
the Unicode database
1999-02-20 18:20:02 +00:00
scw
3a5b0d88ca
That #define splserial() really didn't want to be there...
1999-02-20 16:23:39 +00:00
ross
ea05c3b739
Fix typo.
1999-02-20 07:07:07 +00:00
scw
0ed9dc11d7
Delay serial port parameter changes until the Tx FIFO has emptied.
1999-02-20 00:27:29 +00:00
abs
ab9ab83d05
Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
...
may be broken (it choked under Windows), but it at least now probes.
1999-02-19 21:49:43 +00:00
leo
e54f78017e
This one needs <machine/bswap.h> too.
1999-02-19 20:58:51 +00:00
thorpej
598b05da47
Regen.
1999-02-19 19:12:09 +00:00
thorpej
d9c29083d4
Improve descriptions for DEC Ethernet chips.
1999-02-19 19:11:33 +00:00
mycroft
35399992bb
Indicate whether the decive is full or half duplex at attach time.
1999-02-19 17:09:16 +00:00
mycroft
1790450d8c
Fix structure names.
1999-02-19 16:59:36 +00:00
minoura
38803874bb
Translated Japanese comments.
1999-02-19 16:19:53 +00:00
mycroft
4449a6ef39
Kill vestiges of isa_establish().
1999-02-19 16:15:06 +00:00
mycroft
4822d3d0b0
Move IRQ setup into frontend. Need to move DRQ handling as well.
1999-02-19 16:10:44 +00:00
pk
c6c74098d0
Don't try to use the MII routines for the internal PHY.
1999-02-19 14:57:00 +00:00
thorpej
3f8a09bba4
Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
...
products.
1999-02-19 06:58:42 +00:00
thorpej
7248c3be19
Improve card descriptions.
1999-02-19 06:57:56 +00:00
thorpej
02df2bd5a5
Regen.
1999-02-19 06:56:53 +00:00
thorpej
1128dd593e
Improve the descriptions of 3Com Ethernet cards, and add the 3c905B-FX
...
and 3c980 Server Adapter products.
1999-02-19 06:55:15 +00:00
thorpej
3a63b5db2a
Regen.
1999-02-19 05:53:36 +00:00
thorpej
f43c45889a
Add several Tulip clone chips.
1999-02-19 05:53:00 +00:00
nisimura
c07be2882b
- Make sure SFB ROP register initialized with value 3.
...
- Turn off video signal during hardware initialization.
1999-02-19 03:42:42 +00:00
mycroft
28bc4dfeca
Oops; PCIC_INTR_ENABLE does something *very* different.
1999-02-19 03:14:00 +00:00
nathanw
58d4d7e933
Regen.
1999-02-19 02:53:06 +00:00
nathanw
6b150eb8f6
Fix typo.
...
XXX fix Makefile.pcmciadevs to catch this sort of thing.
1999-02-19 02:52:17 +00:00
mycroft
bd4cd051b9
This is an utterly revolting hack to work around the previously mentioned
...
lossage. On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...
1999-02-19 02:27:59 +00:00
nathanw
6e788dfcb5
Regen.
1999-02-19 00:44:15 +00:00
nathanw
3300c6ba4b
Add Fujitsu SCSI 600 card
1999-02-19 00:43: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
f2c4e7f8bd
Use the correct interrupt sharing type, and set PCIC_INTR_ENABLE(!).
1999-02-18 23:41:40 +00:00
mycroft
74028ea9fd
Regen.
1999-02-18 22:32:27 +00:00
mycroft
b71baddba7
Add ID for MagicRam SwapBox PCMCIA controller card.
1999-02-18 22:31:32 +00:00
thorpej
a473ed5477
Fix omission in previous.
1999-02-18 19:24:39 +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
mycroft
9907eda026
spaces -> tabs
1999-02-18 16:09:01 +00:00
mycroft
81bc49921a
Remove some superfluous softc elements.
1999-02-18 15:47:29 +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
bouyer
e96144a012
Add a missing ':'. pointed out by Dave Huang.
1999-02-18 14:44:34 +00:00
mycroft
699a815751
Pass the correct address (PCI bus address, not PA) to the card.
...
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits. Boom.
1999-02-18 09:22:17 +00:00
mycroft
e0b748e50c
Pass the correct address (PCI bus address, not PA) to the card.
...
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
mycroft
5e2fc07a14
Add separate halt_output and halt_input routines.
1999-02-18 07:08:35 +00:00
mycroft
c02bf3c4d7
Minor code munging.
1999-02-18 05:46:38 +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
thorpej
982603ce5b
Don't reset the interface when the media changes.
1999-02-18 01:24:29 +00:00
thorpej
78e18b8d8c
Back out to the previous stable revision of the fxp driver. The latest
...
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft
6ce15ae4e3
spaces -> tabs
1999-02-18 00:55:36 +00:00
mycroft
f1e84a4ec5
A few things:
...
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft
8b7b7cccc7
Fix a silly type.
1999-02-17 23:55:18 +00:00
mycroft
27963c294a
Use the trigger interface, and clean up a pile of cruft.
1999-02-17 23:05:28 +00:00
mycroft
71105fbda7
Update comments.
1999-02-17 21:44:55 +00:00
thorpej
6d0cb6e410
Change a straggling splimp -> splnet.
1999-02-17 09:11:29 +00:00
thorpej
69a4436f8b
Avoid initializing the interface in the SIOCSIFFLAGS if ! UP and ! RUNNING.
1999-02-17 03:40:59 +00:00
mycroft
7741cae143
Fix slight ommission in previous.
1999-02-17 02:43:13 +00:00
mycroft
e5f5e628d2
Pass the direction to the allocm and round_buffersize methods.
...
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
mycroft
88ad3aa42b
If we have an 8-bit DRQ, always pass that to isa_malloc().
1999-02-17 01:22:47 +00:00
is
2c7fa23c38
Fix Copyright dates
1999-02-16 23:34:10 +00:00
is
dc068e0d1f
Assign my files to The NetBSD Foundation, Inc.
1999-02-16 22:46:55 +00:00
bouyer
2ccd5cde74
Correctly compute PIO/DMA mode for sis and acer chips when the drive support
...
a DMA mode with higther capabilities than PIO mode.
1999-02-16 18:11:52 +00:00
bouyer
d683e62685
Be less strict on ATAPI signature, at last one CD puts 0x00 in sc instead
...
of 0x01.
1999-02-15 18:47:59 +00:00
bouyer
13e811e874
Revert to 1.23, this was not supposed to be checked in yet.
1999-02-15 18:43:08 +00:00
bouyer
18496766b2
For CDIOCCLOSE, ignore media changes, as some drive seems to return this
...
info here.
1999-02-15 18:41:04 +00:00
bouyer
379429d4df
If the REQUEST_SENSE command fails, issue a reset instead of XS_DRIVER_STUFFUP.
...
If REQUEST_SENSE succeeds but doens't return any data, return XS_SHORTSENSE
as the sense field will just contain a copy or the error register.
1999-02-15 18:40:01 +00:00
hubertf
56f2d188fc
RCS ID police
1999-02-15 04:54:34 +00:00
augustss
fd9002550c
Make the reset even longer do cater for really bad devices.
1999-02-15 00:32:16 +00:00
tron
210b267f84
Regen from pcidevs.
1999-02-14 22:44:36 +00:00
tron
acb24b6080
Add 3Dfx's Voodoo II. Fixes PR kern/7000 by Brett Lymn.
1999-02-14 22:38:18 +00:00
thorpej
e523f4968b
Make sure full-duplex is reflected in TXCON, and don't reset the interface
...
when the media changes.
1999-02-13 21:08:08 +00:00
minoura
4d5a04afc4
MI version of the Fujitsu MB89352 SCSI Protocol Controler (SPC) driver.
...
Based on experimental NetBSD/pc98 ISA/PISA version, which was derived
from the MD /sys/arch/x68k/dev/spc.c.
1999-02-13 17:33:14 +00:00
scw
94719c7b9a
New MI front-end for the Cirrus Logic CD240[01] Multi-protocol
...
Communications Controller.
This is still a work in progress, but it is functional enough to
be usable.
1999-02-13 17:05:19 +00:00
thorpej
70b91539e9
Restructure the interrupt handler and 1-second timer a bit, and tidy up
...
the lazy-transmit-interrupt logic, fixing a few minor logic problems.
Now unable to reproduce the lockup problem described in PR #6767 . Changing
PR's state to "feedback".
1999-02-13 02:12:59 +00:00
drochner
960dfa5227
oops - forgot to convert the trivial case (ASCII) to "match levels"
1999-02-12 15:49:43 +00:00
drochner
525932e022
make the probe stricter to catch cases where the chipset doesn't pull
...
the data lines to "high" for not-existant devices
1999-02-12 12:45:48 +00:00
drochner
b515442160
Display the danish o-slash as phi/Theta as proposed by
...
Soren S. Jorvang <soren@t.dk>, with a lower match level.
Display the other accented characters which are not present in the IBM
character set by their non-accented equivalents, with an even lower
match level.
1999-02-12 11:32:50 +00:00
drochner
dbdaf91650
change the "mapchar" interface to return a "quality" or "match level"
...
arguments which allows to find approximations for characters which are
not present in a font
1999-02-12 11:25:23 +00:00
drochner
2414f4ac80
"NEXT" is a keyboard type, not a keymap variation.
1999-02-12 11:14:49 +00:00
thorpej
e8823cc3f3
Cleanup of the EPIC/100 driver I did while hacking on the Rhine driver:
...
* Macroize hardware and software descriptor access (much easier to read).
* Simplify and optimize the transmit loop a bit, and use IFF_OACTIVE as
appropriate.
* Fix a potential race condition in the transmit loop. This change has
made the driver significantly more stable (almost completely eliminated
the "device timeout" errors that have plagued this driver).
* Implement transmit interrupt pacing.
* Add missing bus_dmamap_sync() calls (on transmit and receive descriptors
and fraglists). (Draining the write buffer when accessing these structures
may have also contributed to the increased stability of this driver on
the Alpha.)
1999-02-12 05:55:27 +00:00
thorpej
873e1d2a51
Fix printf format problems on Alpha.
1999-02-12 01:51:37 +00:00
thorpej
1ab6db8e5f
Fix printf format problems on Alpha.
1999-02-12 00:50:09 +00:00
thorpej
94962b67c7
Fix some printf format problems on Alpha.
1999-02-12 00:46:11 +00:00
thorpej
f83663b7ba
Garbage-collect some unneeded definitions.
1999-02-12 00:37:07 +00:00
thorpej
7b516b31bd
Major overhaul of the Rhine/Rhine-II driver, structuring it a little more
...
like the SMC83C100 EPIC/100 driver:
* Rather than using pointers to the head and tail of the transmit and
receive rings, use wrapping indexes into arrays. This is a little more
obvious when reading the code.
* More cleanly separate the hardware descriptor from the software descriptor.
* bus_dma it everywhere.
* Implement interrupt pacing and avoid a potential race in the transmit
loop.
Now this looks more or less like the Rhine driver I was working on when
this driver was committed :-) Update copyright notice to reflect that.
1999-02-12 00:36:48 +00:00
oster
6d72c8f0e7
Minor cleanups that got missed last time through.
1999-02-11 01:23:32 +00:00
minoura
c5847e98a9
void* -> u_int32_t
1999-02-10 16:00:54 +00:00
bouyer
6dd47fe65f
Abort transfer if b_blkno is negative. Closes PR kern/5553 by Johan Danielsson.
1999-02-10 12:29:50 +00:00
sakamoto
0b4e481612
add "mii" to vr driver.
1999-02-09 02:04:36 +00:00
mjacob
1a911bb798
roll internal release level
1999-02-09 00:54:07 +00:00
mjacob
3c21a2493b
Roll internal release tag. Print out if we're in a 64 bit PCI slot.
...
Use fast memory timing NVRAM parameter. Clean up and fix establishment
of default target parameters. Don't use NVRAM if are flagged as not to
do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC
mode but disabled disconnect/reconnect and wide!!). Fix delays after
resets. BUS resets not done in isp_init anymore- relegated to OS
specific outer layers. Fix a buglet where you can get in a loop for
a NULL xs in the completion list in isp_intr. Add in some defines that
can disable fast posting. Add in code for Loop Up/Loop Down events that
call into the outer layers as to what to do.
1999-02-09 00:52:23 +00:00
mjacob
0cf98e4e12
Roll internal release tag. Roll core version minor. Fix broken DPARM_DEFAULT
...
define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is
to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP
isp_async enums.
1999-02-09 00:46:25 +00:00
mjacob
d8d9458410
fix a couple of NVRAM defines
1999-02-09 00:44:42 +00:00
mjacob
c1adc949c2
roll internal release tag
1999-02-09 00:44:06 +00:00
mjacob
6a8ebccd6a
Do SCSI Bus resets in this layer (now). Don't do it for Fibre Channel yet
...
(we get LOOP DOWN events, and we'll hang on that at this time).
Add other isp_async cases- ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP. DOWN
will cause internal queuing until UP, whereupon a timeout will fire up
any pending xfers. It doesn't really keep commands from getting destroyed
by loop down events, but at least minimizes the damage. This was much
easier to implement with CAM.
1999-02-09 00:42:22 +00:00
mjacob
ee45547dde
Roll platform revision level. Add blocked flag and waitq to osinfo structure.
1999-02-09 00:37:35 +00:00
mjacob
c47d6855db
clean up pci configuration a bit
1999-02-09 00:35:35 +00:00
tls
e8690f9bd1
Fix ESS/SB confusion for 1868 and 1869 chips: because isapnpdevs is parsed by an awk script, you *must* comment out each line separately, which is why ess was still trying to attach chips it couldn't cope with. Note that this leaves isapnp ess with no matches -- shouldn't the 188X be in here? Also, add another isapnp PCIC.
1999-02-08 22:10:09 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
bouyer
1e0e78854a
There's no ATA draft where it is required for the drive to set DRDY | DSC when
...
the disk is ready to transfer data, and in ATA-5 the DSC has been obsoleted.
So only wait for DRQ to transfer data. This can be made conditional on the
ATA version if it's proven to break with some drives (worked with all the
drives I have access to).
While I'm there correct a few typos.
1999-02-08 15:22:28 +00:00
sommerfe
999d27da77
Don't bother copying output queue into automatic buffer; instead, pass
...
contiguous chunk of outq to emulation routine. Fix based on patch
from M. Drochner, modified to call output routine once with each
contiguous chunk when the ring buffer wraps around.
1999-02-08 14:48:07 +00:00
sommerfe
95ee03319d
Change WSDISPLAYBURST from OBUFSIZ-1 to OBUFSIZ*4, for a ~15x
...
improvement in the "cat /usr/share/misc/termcap" benchmark on 486/75
ttwrite queues data for us in OBUFSIZ chunks. If we only consume
OBUFSIZ-1 bytes per call to wsdisplaystart(), we're *guaranteed* to
fall behind when given maximum-sized reads (which will defer
processing the leftovers until ttrstrt gets called, after a timeout)
Note that OBUFSIZ*4 may be overkill; OBUFSIZ*3 may be sufficient to
get maximal performance; OBUFSIZ*2 resulted in only about a 2.5x
performance improvement, but it's 2am and I've done enough tweaking
for the night.
1999-02-08 07:05:51 +00:00
sommerfe
0d3a9dfce7
Don't bring scsi/atapi common files in under the "atapi" attribute.
...
Bring them in under atapibus since they're not needed unless something
attached to an atapibus is also attached.
Tested on i386 and arm32.
1999-02-07 22:58:43 +00:00
jonathan
c9d036d796
defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}.
1999-02-07 09:34:58 +00:00
thorpej
6eedee5c9d
Add entropy gathering.
1999-02-07 01:54:50 +00:00
cgd
6b77f11d67
put in better name/description for Simon G's board
1999-02-06 06:55:15 +00:00
cgd
04046c6dd7
add code to cope with multiple ports per BAR, as are found, for instance,
...
on the 8 port card Simon Gerraty has. In general, cards which have
this lots of ports also have a separate interrupt status register, but
this change is just to talk to the various ports independently. It works,
but it's not optimal. (XXX still need a good name for the card in the
comments, and to update the manual page.)
1999-02-06 06:29:54 +00:00
thorpej
23382bdfcb
Regen.
1999-02-05 22:55:40 +00:00
thorpej
0955479f29
Add some Olicom Ethernet device IDs, from FreeBSD's tl driver.
1999-02-05 22:55:19 +00:00
thorpej
d95d5b1488
Make this driver work on the Alpha. Apparently the receive DMA mechanism
...
has the same 4-byte alignment requirement that the transmit side does. This
causes the packet payload to be misaligned. So, on systems which require
strict alignment, we must copy the incoming frame to a new packet buffer,
suitably aligned.
1999-02-05 22:09:46 +00:00
thorpej
b52d1e44d0
Fix the interrupt handler to actually acknowledge the interupt to the
...
dispatch code (!!!). How did this work even on the i386 before?
1999-02-05 21:20:31 +00:00
thorpej
58beb19c16
Regen.
1999-02-05 20:20:04 +00:00
thorpej
53089c1ade
Add oui for Davicom Semiconductor, and add Davicom DM9101 10/100 PHY.
1999-02-05 20:19:44 +00:00
thorpej
dde3694c4c
Fix some formatting nits.
1999-02-05 08:42:03 +00:00
thorpej
82a54250be
Remove some duplicate softc members, and comment some of the softc
...
fields.
1999-02-05 08:27:46 +00:00
thorpej
8bf66d3eb2
Remove some unnecessary splnet's.
1999-02-05 08:21:31 +00:00
thorpej
50faf19d7d
splimp -> splnet
1999-02-05 07:53:24 +00:00
thorpej
adc9c40688
Use the generic MII support code, not our own.
1999-02-05 02:58:38 +00:00
thorpej
f9467ddb8e
Some PHYs are really braindead, and report incorrect IDs. Simplify the
...
test for this, and probe for PHYs based on media in the BMSR.
1999-02-05 02:46:34 +00:00
thorpej
ebf3a97519
Use MII command opcodes from <sys/dev/mii.h>
1999-02-05 01:17:24 +00:00
augustss
eade8dcad9
Don't use ess driver for ESS186[89], it doesn't work.
1999-02-05 01:15:01 +00:00
thorpej
909b90d2d4
Rename VR_MIICMD_DATAIN and VR_MIICMD_DATAOUT to actually match what the
...
data sheet says. (The names and their usage were exactly reversed in the
code.)
1999-02-05 01:10:30 +00:00
oster
0014588545
Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
...
and is much easier to read. No functionality changes.
1999-02-05 00:06:06 +00:00
mycroft
0c7afe477d
Separate the tiocm code into functions, like the z8530 code, and fix the same
...
DTR bug.
1999-02-03 23:57:27 +00:00
mycroft
568f4aa704
Minor changes to tiocm code.
1999-02-03 23:51:06 +00:00
pk
6db0ff6627
Update last prototyping change.
1999-02-03 23:40:22 +00:00
mycroft
9be96dda95
Fix an inconsistency: PPS was turned off on first open, but the mode may have
...
still claimed it was enabled.
1999-02-03 23:22:11 +00:00
mycroft
535f59cc81
Slight redux in PPS code.
1999-02-03 23:20:33 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
mycroft
b63b0fd80b
Redo the N previous changes, plus a couple of other things:
...
* Move the printf() delay to just after the printf(), where it actually makes
sense.
* Use zstty_stint() and zstty_softint() from zsparam(), to force an immediate
update of the carrier and flow control status. Abuse this in the attach and
open functions to defer all of that work. This insures that we don't lose
any status updates.
* Don't screw with register 1 when closing the console.
* Fix bugs in TIOCM??? (stay semicolon, clearing DTR while transmitting).
* Add comments in a couple of places.
1999-02-03 20:15:51 +00:00
mrg
4553ce553c
use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h>
1999-02-03 06:03:37 +00:00
pk
4bd6ed2a8b
Make this pass the `strict prototype' test.
1999-02-02 22:23:44 +00:00
ragge
13daba04a1
Another giant change: Allocate register space dynamic instead of compiled-in.
...
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
1999-02-02 18:37:20 +00:00
bouyer
5888b4354e
channel_map is called before setup_chip, so whe need to enable the channel
...
status bits in acer_channel_map().
1999-02-02 17:06:05 +00:00
bouyer
ca240ca7b5
Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing
...
the code, and to Takahiro Kambe who run several tests and finally found the
bug by himself :)
1999-02-02 16:13:59 +00:00
bouyer
0075c51a23
Bump CDRETRIES to 4. Now if a DMA error occurs, the driver should downgrade
...
to PIO mode and the command be retried properly.
1999-02-02 13:02:49 +00:00
bouyer
c0e7b6c5cb
If sense_key == UNIT_ATTENTION and ASC/ASQ == "Power On, Reset, or Bus Device
...
Reset", retry the command instead of returning an error. XS_RESET is useless
without this, as the retryed command will die with this unit attention.
1999-02-02 13:01:36 +00:00
bouyer
2bf6a99afb
For IDE/ATAPI protocols botches, reset the bus and return XS_RESET
...
instead of XS_DRIVER_STUFFUP.
1999-02-02 12:59:31 +00:00
thorpej
05cbb33e4c
Use pcidevs.h to get vendor and product IDs.
1999-02-02 00:32:21 +00:00
thorpej
b6a84f08e8
Take software-only structure definitions out of the register description
...
header.
1999-02-02 00:29:17 +00:00
thorpej
bb5edf7345
Remove support for FreeBSD from the driver; so many changes are going
...
to be required to make it properly portable to all of NetBSD's platforms,
that it just wouldn't be worth the effort.
1999-02-02 00:05:02 +00:00
thorpej
2bdfbafc37
Minimal changes to make this compile on the Alpha. Much more work is
...
needed to make this a truly portable driver.
1999-02-01 23:40:22 +00:00
marc
9231ba8603
- make sure that sc->handle[i].flags is initialized in all cases
...
- check PCIC_FLAG_SOCKETP before disabling the CSC_INTR.
1999-02-01 22:17:05 +00:00
wrstuden
36c50aaa14
Add the patch I floated on tech-kern. Andreas Eltrich <elchy@dahoam.de>
...
says it got pppd working for him.
1999-01-31 21:41:00 +00:00
mjacob
ee72ee212e
darn- 7.55 seems to be a little unstable- go back to 1.31
1999-01-31 04:56:20 +00:00
minoura
8ed711f1bc
MC68450 DMAC regs.
1999-01-30 14:58:26 +00:00
mjacob
6bcdc2b5d2
Implement and use Fast Posting for both parallel && fibre. Redo a bit of
...
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).
Roll internal release tags.
1999-01-30 07:31:50 +00:00
mjacob
513722ba25
Grrr.. Do the *correct* and *usable* 1.31 firmware. You have to power
...
cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!!
But anyway comment it out and use new SBus 7.55 firmware. We get fast posting
with this as well as 32 luns and target mode support.
1999-01-30 07:18:59 +00:00
mjacob
09ce6222fc
roll internal release tag
1999-01-30 07:14:26 +00:00
mjacob
5c5ac2958f
roll internal release tag and finally use bus_space I/O
1999-01-30 07:10:38 +00:00
mjacob
1ece20c808
roll internal release tag
1999-01-30 07:08:04 +00:00
drochner
b6867c91a4
make the timeout for process/vt synchronization "config" settable and
...
ddb/gdb patchable
1999-01-29 22:24:24 +00:00
bouyer
ce870816e0
Cosmetic changes, from Soren S. Jorvan.
1999-01-29 11:36:20 +00:00
bouyer
12868a7d80
Return ENODEV instead of EIO when we are trying to open a device without media
...
in the drive. restrict "opening of empty drive" to character devices only
(reading a block device returns a short read instead of ENODEV, which can lead
to confusion).
1999-01-29 11:17:58 +00:00
pk
f9e92fac23
Fix bit test
1999-01-29 07:35:05 +00:00
dbj
7919e08986
wscons based console video & keyboard support for the NeXT
...
from Matt DeBergalis
1999-01-28 11:46:22 +00:00
augustss
d6c1a3e198
Regen.
1999-01-28 04:34:31 +00:00
augustss
864e74c18d
Add S3 86C365 Trio3D.
1999-01-28 04:31:33 +00:00
mrg
59a6c3d4e7
KNF anality.
1999-01-27 10:41:00 +00:00
augustss
4146e9d547
Regen.
1999-01-26 22:32:22 +00:00
augustss
67bc102af8
Add Aladdin Knowledge Systems.
1999-01-26 22:21:55 +00:00
drochner
a7f50b8178
Debugger() -> console_debugger() to honour the ddb_fromconsole sysctl
1999-01-26 17:08:37 +00:00
drochner
309847b355
improve error handling in 2 cases:
...
1. If the current screen becomes invalid (ie no focus anymore), always
set the keyboard to translating mode. Otherwise, we could get stuck
because the command keystokes don't come through.
2. Catch errors in attaching to a process (X server) - For this,
implement a callback mechanism similar to the detach case. Add an
argument to report an errno via callback.
1999-01-26 14:22:14 +00:00
bouyer
f52c71b0e8
Allows the raw partition to be open()'ed, even when scsipi_start() fails
...
(no media or other ...) so that we can always send ioctl's to the device.
1999-01-26 13:59:44 +00:00
drochner
be7c382051
forgot to commit last week: define wsmouse type constants for busmice
1999-01-26 13:43:00 +00:00
drochner
56dd07cea5
don't wait for completion of keyboard enable/disable commands; this
...
might be called without process context, leading to tsleep() panics
(This is a workaround. The timeout() driven wscons glue code
should go instead.)
Fixes tsleep() panics reported by Mark Brinicombe <mark@causality.com>
and Eric Haszlakiewicz <haszlaki@UAccess.NET>.
1999-01-26 11:07:25 +00:00
bouyer
cafe97da38
Another CD drive that doesn't support REQUEST SENSE, from Patrick Welche.
1999-01-26 10:00:08 +00:00
sakamoto
fd094d79ee
NetBSD RCS id.
1999-01-26 06:31:28 +00:00
oster
58f7de552d
Nuke more bits of RAIDframe "demo" code. We're not "demoing" here,
...
we're doing the Real Thing!
1999-01-26 04:40:03 +00:00
oster
472e649cd8
More simulator bits going bye-bye.
1999-01-26 04:05:01 +00:00
oster
c52883118d
This stuff is no longer needed. Mostly simulator bits.
1999-01-26 03:56:21 +00:00
oster
a37be85529
rf_ccmn.h no longer needed. Nuke it's inclusion from rf_disks.c.
1999-01-26 03:49:49 +00:00
oster
d94a2c5b2a
These files are not used in the kernel driver. We don't need them any more.
1999-01-26 03:07:10 +00:00
oster
1eecf8e491
RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,
...
out-dated comments, and other unneeded stuff. This helps prepare
for cleaning up the rest of the code, and adding new functionality.
No functional changes to the kernel code in this commit.
1999-01-26 02:33:49 +00:00
wrstuden
ccf442a971
Fix thinko in part of rev 1.53.
...
Thanks to Scott for pointing this out to me (I got his mail and figured out
this change before seeing the discussion on tech-kern) and to Charles for
the initial explanation.
1999-01-25 17:53:13 +00:00
augustss
456a96e766
Regen.
1999-01-25 01:09:13 +00:00
augustss
9c673b9bd4
Add some Entrega products.
1999-01-25 01:02:59 +00:00
drochner
b1d62d20ee
-correction to PR kern/6814 from AW9K-NNK@asahi-net.or.jp
...
(Nonaka Kimihiro): grave accent and @ were the wrong way
-assign keysyms to the special japanese conversion keys (even if this
doesn't help wscons - but things must have names)
1999-01-23 17:04:43 +00:00
drochner
428461ab21
add definitions for the additional modifiers on japanese keyboards
...
(These are not of use for wscons, but we want to give names to the keys
at least.)
1999-01-23 16:59:22 +00:00
drochner
9b2859ca00
back to the roots: rename psm->pms
1999-01-23 16:05:56 +00:00
sakamoto
57d82cd1f3
Change bootverbose 1 to 0.
...
Add vr_lookup.
1999-01-22 05:34:36 +00:00
sakamoto
02bb7a4233
Add VIA Rhine/Rhine II Fast Ethernet files.
1999-01-21 12:02:00 +00:00
sakamoto
4f99746d57
Add NetBSD autoconfiguration support.
...
KNF.
1999-01-21 12:00:25 +00:00
sakamoto
bea8f807a7
Import FreeBSD's VIA Rhine fast ethernet PCI NIC driver
...
written by Bill Paul <wpaul@ctr.columbia.edu>.
1999-01-21 11:55:22 +00:00
bouyer
d86a570eac
Add a mitsumi CD that can't handle REQUEST SENSE command. From
...
Johan Danielsson <joda@pdc.kth.se>.
1999-01-21 10:31:39 +00:00
msaitoh
88176e7d20
Fix about insertion/removal event problem.
1999-01-21 07:43:32 +00:00
thorpej
c6aa25bfa1
Fix a st00p1d bug I introduced in rev 1.57, which would cause any activity
...
on non-0 CCD units to crash the system.
1999-01-21 00:35:15 +00:00
ragge
cb2675ff12
Fix some void pointers.
1999-01-19 22:57:47 +00:00
ragge
bef0af5311
Allocate (almost) all interrupt vectors dynamically. Simplifies much
...
work when adding support for new machines and devices.
1999-01-19 21:04:47 +00:00
bouyer
d8f58a3506
Move test for SDEV_NOSTARTUNIT quirk from sd.c to scsipi_start().
...
Add a SDEV_NOSTARTUNIT quirk entry for BCD-16X 1997-04-25", "", "VER 2.2"
CD-rom (from Michael Santos).
1999-01-19 10:57:11 +00:00
bouyer
f10115b632
"Memorex CRW-2642" CD-R can't properly handle REQUEST SENSE command.
...
Add it to the quick table, per PR kern/6844.
1999-01-19 09:31:58 +00:00
bouyer
a1471db64a
move wd.c:print_wderror() to ata.c:ata_perror().
...
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.
1999-01-18 20:06:24 +00:00
drochner
a1038a18af
remove wsdisplay_has_emulator(), this is not meaningful with virtual screens,
...
and it did not work with external (serial) consoles what can cause that
a display has no screen and thus no "focus"
1999-01-18 20:03:59 +00:00
mjacob
83270f242f
If you're BIG_ENDIAN and use bswapXX, pull in the header file that prototypes
...
these functions.
1999-01-18 19:17:00 +00:00
pk
2fa7bdbccd
Fix AF_NS code.
1999-01-18 13:29:01 +00:00
pk
ed55ba4db9
Need <machine/bswap.h>
1999-01-18 11:51:43 +00:00
pk
fb846bde24
Share ring buffer code and data structure for `be' and `qe' in
...
the QEC module. Adapt the QEC interrupt establish code to suit the
needs of the `qe' device.
1999-01-17 20:47:50 +00:00
pk
ad3176f350
Add `qe' network interface device.
1999-01-17 20:44:58 +00:00
pk
5e8fcd9428
Import Jason Wright's Sbus Quad ethernet (`qe') driver as found in OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
Also added: auto media selection; shared ring buffer code with `be'.
1999-01-17 20:44:18 +00:00
drochner
6424072ccd
extend the interface for reset-like commands from the keyboard
1999-01-17 16:01:38 +00:00
drochner
3bc0bad0af
adapt to "reset" interface change, pass "close all" to wsdisplay
1999-01-17 15:59:17 +00:00
drochner
b892856647
-extend the interface for reset-like commands from the keyboard,
...
add handling of a "close all" command
-split out code common with wsdisplay_delscreen() into
wsdisplay_closescreen()
-add ttymodem call to signal a HUP to the application if the screen
is closed
-add flag to force a "clear screen" on close (XXX should actually be
controlled from userland)
-remove checks for existence of "reset" entries in the emulations - this
is required now
1999-01-17 15:56:33 +00:00
drochner
b465a52a35
define a "close everything" keyboard command
1999-01-17 15:47:20 +00:00
drochner
b69b2fd8f4
define a "clear screen" command to the emulator and complete the
...
emulation's "reset" implementations as far as useful
1999-01-17 15:44:57 +00:00
pk
6d1f55bc7a
Initial revision
1999-01-16 13:19:11 +00:00
pk
c830c88dd2
Convert to bus_space(9).
...
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk
e0e761e420
Import Jason Wright's Bigmac driver, written for OpenBSD.
...
Heavily pounded on by me to make it fit our driver model.
1999-01-16 12:43:09 +00:00
drochner
76db984c6d
regen
1999-01-16 11:28:19 +00:00
drochner
1587097426
add another NCR chip, from Dave Sainty <dave@dtsp.co.nz> per PR kern/6819
1999-01-16 11:27:40 +00:00
nisimura
e02862b167
- Don't use void pointer for arithmetic.
1999-01-16 06:36:42 +00:00
thorpej
8ce7166aa3
__pmax__ -> pmax, like other ports.
1999-01-15 23:29:55 +00:00
explorer
edd259d12e
Make it so raidframe will only perform synchronous writes, and async
...
reads. This avoids a problem where many writes will cause the driver
to allocate way too much memory.
This needs to change to a queueing system later, which will provide a
way to limit the memory consumed by the driver.
Without these changes, raidframe would use 24M or more on my machine when
the buffer cache dumped all its dirty blocks. Now it uses around 200k
or so.
1999-01-15 17:55:52 +00:00
drochner
21a687eb01
add japanese keyboard map, from AW9K-NNK@asahi-net.or.jp (Nonaka Kimihiro)
...
per PR kern/6814
1999-01-15 16:12:25 +00:00
drochner
6efb3afd18
add definition for japanese keyboard
1999-01-15 16:00:33 +00:00
thorpej
d8f3aefec7
Use M_RAIDFRAME.
1999-01-14 22:49:05 +00:00
oster
4128f9df1e
Duh... check that malloc() hasn't returned a NULL *before* we zero the buffer,
...
not after. Pointed out by Michael Graff.
1999-01-14 20:29:38 +00:00
drochner
5c38fcea53
map the new "reset emulator" function to CTL-ALT-Backspace
...
(what somehow matches the effect on X11)
1999-01-14 11:57:48 +00:00
drochner
d90442b612
add a "reset terminal emulator" command pseudo-keysym and call the
...
corresponding callback if one is hit
1999-01-14 11:44:54 +00:00
drochner
624d9f505f
-actually reset the terminal emulator on close()
...
-add a callback to reset the terminal emulator by keyboard command
1999-01-14 11:40:58 +00:00
ross
5709f532d1
Random compile nits in BHADEBUG code.
1999-01-14 04:47:18 +00:00
augustss
14dff70fa3
Fix transpostion in translation table for XT scan codes.
1999-01-13 18:38:26 +00:00
drochner
23cfea8327
-implement new wscons font handling with separate download and selection
...
calls
-support use of 2 fonts simultanously; this costs the ability to
"highlight", ie to use the upper 8 colours
-define screen types "80x25bf" and "80x50bf" which use this ability
-add conditional code to deal with the weird mapping of pcvt's
supplemental fonts
1999-01-13 16:48:58 +00:00