ragge
6fa26360b3
Moved to ubareg.h,v
1999-05-27 16:04:28 +00:00
ragge
72cc499b27
Moved from ../dec/qbus/ubareg.h,v
1999-05-27 16:04:27 +00:00
ragge
24a2d9159f
Moved to uba.c,v
1999-05-27 16:04:14 +00:00
ragge
466e9982c9
Moved from ../dec/qbus/uba.c,v
1999-05-27 16:04:13 +00:00
ragge
3a1ea0ce2f
Moved from ../dec/qbus/files.uba,v
1999-05-27 16:03:57 +00:00
ragge
ea56e2d6a7
Moved to files.uba,v
1999-05-27 16:03:56 +00:00
ragge
a9f8e269bc
Moved from ../dec/qbus/dzvar.h,v
1999-05-27 16:03:41 +00:00
ragge
607566ab67
Moved to dzvar.h,v
1999-05-27 16:03:40 +00:00
ragge
fad3ee0de4
Moved from ../dec/qbus/dzreg.h,v
1999-05-27 16:03:13 +00:00
ragge
fd1e7f64df
Moved to dzreg.h,v
1999-05-27 16:03:12 +00:00
ragge
ca5b486e0b
Moved from ../dec/qbus/dz_uba.c,v
1999-05-27 16:02:50 +00:00
ragge
0377900670
Moved to dz_uba.c,v
1999-05-27 16:02:49 +00:00
ragge
ae0c1db46f
Moved to dz.c,v
1999-05-27 16:02:33 +00:00
ragge
4da3a5fea9
Moved from ../dec/qbus/dz.c,v
1999-05-27 16:02:32 +00:00
ragge
e9a34e1482
Moved from ../dec/qbus/dlreg.h,v
1999-05-27 16:02:04 +00:00
ragge
fecbb5dd59
Moved to dlreg.h,v
1999-05-27 16:02:03 +00:00
ragge
1506452890
Moved from ../dec/qbus/dl.c,v
1999-05-27 16:00:45 +00:00
ragge
547475d08e
Moved to dl.c,v
1999-05-27 16:00:44 +00:00
pk
61e5d73035
Fix bus_size_t/size_t/int confusion.
1999-05-27 14:22:28 +00:00
bouyer
b87dbb8918
in cdclose(), ignore "media change" when calling scsipi_prevent(), after
...
a 'eject -l' some ATAPI drives report this instead of illegal request.
1999-05-27 11:19:04 +00:00
bouyer
cc46db1ba6
For the PIIX, make sure the PIO_mode and DMA_mode get reset to the values used
...
by the controller for all drives.
1999-05-27 09:45:50 +00:00
ragge
f558ec11e2
Directory called qbus instead of uba, per request from Matt/Jason/...
...
(More describing name actually)
1999-05-27 03:45:21 +00:00
mrg
c346b0ace0
regen.
1999-05-27 03:05:32 +00:00
mrg
8c83c41668
add the UltraSPARC IIi PCI interface
1999-05-27 02:51:19 +00:00
ragge
12b6c6d04f
DL-11 driver bus'ified. UNTESTED.
1999-05-26 02:01:49 +00:00
ragge
e805bfec25
DZ-11 routines bus'ified. Small fixes to uba routines.
1999-05-26 01:26:17 +00:00
thorpej
88214f79d2
Pass the appropriate access type for uvm_vslock() based on the FP operation:
...
fpread == VM_PROT_READ|VM_PROT_WRITE, fpwrite == VM_PROT_READ.
1999-05-26 01:09:02 +00:00
ragge
7fb0d17b38
First step towards MI Unibus/Q22 bus code.
1999-05-24 20:12:57 +00:00
christos
61d84403a8
Regen
1999-05-24 13:05:40 +00:00
christos
cf715aec57
Fix PR/7634 properly, by adding the card to pcmciadevs
1999-05-24 13:05:12 +00:00
augustss
8fb4b44439
SMC 8022 PCMCIA ethercard entry for if_ne_pcmcia.c
...
From Zdenek Salvet <salvet@ics.muni.cz> in PR 7634.
1999-05-24 10:17:49 +00:00
veego
e21201e114
Regen.
1999-05-23 21:28:03 +00:00
veego
a674692065
Add several entries.
1999-05-23 21:26:54 +00:00
ad
080560c8c6
- Setting initial position of cursor is up to caller.
...
- Set cursor position properly for SPARC. From Juergen Hannken-Illjes.
1999-05-23 17:59:39 +00:00
augustss
eca0bbe20e
Update doc URL.
1999-05-23 16:07:04 +00:00
christos
544c14bcf6
KNF!
1999-05-23 00:48:46 +00:00
pk
6f9ad5b61d
Since we're now prepending the ethernet header to mbuf on incoming
...
packets, make sure to align the data after the ethernet header.
1999-05-21 13:08:50 +00:00
augustss
ac197c5354
Update documentation URLs.
1999-05-21 10:15:23 +00:00
ad
5bb340fef9
This file is superceded by rcons.h.
1999-05-20 21:16:57 +00:00
thorpej
332dd60029
Fix broken prototype.
1999-05-20 19:56:49 +00:00
augustss
4655ae1230
Keep track of vendor id and make sure the vendor string is NUL terminated.
1999-05-20 09:52:35 +00:00
augustss
3d6c3b5c03
Update for TI vendor id.
1999-05-20 09:51:13 +00:00
augustss
5d6176a144
Regen.
1999-05-20 09:50:39 +00:00
augustss
d25385e28e
Change vendor of id 0x0451 to Texas Instruments.
1999-05-20 09:50:09 +00:00
augustss
b9f32af4e5
Regen.
1999-05-20 09:23:33 +00:00
augustss
10713ae5ad
Change vendor id 0x11c1 to Lucent since that seems to be what it is now.
...
Add a Lucent USB controller.
1999-05-20 09:23:08 +00:00
ad
02bc362e3e
Add arg to rcons_init() that when set causes screen to be cleared.
1999-05-19 20:34:19 +00:00
ad
4bebd3ff7c
Don't clear screen upon startup unless we're running on a pmax (remedies
...
quirky behaviour of px boards). Shuffle come code in rcons_init_ops() in
order to be more clear.
1999-05-19 20:07:34 +00:00
bouyer
ba2e85e711
32 bits I/O ocasionally fails on some hardware, so the test succeed but
...
the kernel can get a 'protection fault trap' later. Enable the 32 bits I/O
test conditionally on a config flag, disabled by default (problem
reported by kurt.schreiner@uni-mainz.de ).
1999-05-19 14:41:25 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
29184c350f
Add a few more Communication Interface Class subclasses (including Ethernet
...
and *shudder* ATM).
1999-05-18 23:42:56 +00:00
ad
bb3a510fa2
Assign ownership & copyright to TNF. There is probably a procedure for this
...
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
augustss
8d38841260
Make it possible for this driver tp work again.
...
From Thomas Klausner - wiz@danbala.tuwien.ac.at
1999-05-18 16:41:07 +00:00
drochner
d2fe8176fd
regen
1999-05-17 17:08:08 +00:00
drochner
2187089e80
add NeoMagic 256AV Video/Audio chip
1999-05-17 17:07:00 +00:00
drochner
9c0c171c30
add some #ifdefs to make it link w/o wskbd
...
(especially for vax)
1999-05-17 16:53:43 +00:00
thorpej
8745214a3c
Make this build without wsdisplay.
1999-05-16 19:21:31 +00:00
mrg
f5af676456
white space.
1999-05-16 14:47:52 +00:00
augustss
011be0080e
Add vendor/product/release locators. Added in frustration as my HID
...
devices appeared as different devices after some plugging and unplugging. :-)
1999-05-16 13:51:05 +00:00
augustss
041a8536ac
s/revision/release/
1999-05-16 12:05:10 +00:00
augustss
00930acefa
Improve error handling. Mostly from FreeBSD.
1999-05-16 11:43:32 +00:00
drochner
d93fe6b483
now that wscons_glue is gone we can back out rev. 1.16 (which made
...
"pckbd_enable()" polling to deal with calls without process context)
1999-05-15 15:55:55 +00:00
drochner
b7a56e27df
Get rid of the timeout-driven wscons_glue stuff which caused a lot of
...
headaches.
Now console keyboard and display are connected at autoconfiguration time,
when the last of them is found. Other keyboards / displays remain
unconnected until a new ioctl (WSDISPLAYIO_SETKEYBOARD) is called.
1999-05-15 14:22:46 +00:00
ad
0d472fafcc
Add diagnostic measures to check for missing font.
1999-05-15 12:56:46 +00:00
ad
f4fedb6139
wsfont cookies <= 0 are invalid, not just those < 0.
1999-05-15 12:54:53 +00:00
augustss
9bf01fcbe5
Fix debug printf.
1999-05-14 19:38:44 +00:00
drochner
10584c9e73
Sort out the inclusion of wscons source files: the files are only
...
compiled if the corresponding devices are configured.
(Files calling wscons functions have to check whether these are present.)
1999-05-14 16:01:11 +00:00
drochner
0c3738a17b
The last change made the driver go into an interrupt loop after a while.
...
Obviously, the TX_DEFERRALS counter must be read.
1999-05-14 15:54:16 +00:00
drochner
23ddff5688
use the new "xx" prefixed OUIs because the mapping to the ID register
...
bits differs from the MII_OUI() way
1999-05-14 11:40:28 +00:00
drochner
48c49dcb82
regen
1999-05-14 11:38:05 +00:00
drochner
416a47bc88
Define OUIs in a more uniform way. OUIs are fixed entities registered
...
with IEEE, so use the "real" OUIs for definitions.
Now unfortunately vendors differ in how the MII ID register bits are
used wrt bit and byte ordering. There is a straightforward way - bits
numbered from LSB to MSB - used by AMD, Intel, NS and QS. This is used
by the current MII_OUI() conversion macro. ICS, Seeq, SiS and TI count
the bits as they appear on the wire, and some differ completely.
Account for these cases by "xx" prefixed OUI definitions which compensate
for this, so the MII_OUI() macro can still be used.
Add AMD (the "real" AMD this time) and the 79c973 PCnet internal PHY.
1999-05-14 11:37:30 +00:00
mrg
08db47ae0c
oops, forgot to add these files.
1999-05-14 07:07:16 +00:00
mrg
95e0190e23
split the sun ms/kbd drivers into frontend/backend parts at the serial
...
interface border, so that other serial interfaces can be attached to the
ms/kbd. zero functional changes and mostly involves moving code around
a bit. tested on the SS2.
this is necessary to attach the PCI ultrasparc keyboard/mouse drivers.
1999-05-14 06:42:02 +00:00
thorpej
0d0cc4aa14
Rework the way ukbd attaches itself as the console (again). We now allow
...
the code to pick the first USB keyboard instance as the console, ignoring
which USB controller it's on. Should eventually allow detaching of the
console keyboard.
From Jason Thorpe <thorpej@nas.nasa.gov>
1999-05-13 23:34:38 +00:00
augustss
e16867970c
More DIAGNOSTIC tests.
1999-05-13 23:29:41 +00:00
augustss
aed277e3de
More digitizer defines.
1999-05-13 23:29:11 +00:00
ad
daf0e5b05c
Replace two instances of TNF copyright with one (was replicated for two
...
separate contributers).
1999-05-13 21:46:17 +00:00
explorer
2fc0e43760
just say no to __BROKEN_INDIRECT_CONFIG
1999-05-12 22:55:14 +00:00
mjacob
61bf929d14
Do a fairly large internal restructuring to accomodate dual-bus host adapters
...
(e.g., the 1240). Include the new 1080/1240 NVRAM layout reading code. Some
moderately significant mailbox changes were necessary also to accomodate a
second channel.
1999-05-12 18:59:23 +00:00
mjacob
7f137a35ff
add a few missing mbox commands
1999-05-12 16:45:58 +00:00
mjacob
a10888f463
roll ISP 1080/1240 f/w to latest level
1999-05-12 16:45:04 +00:00
thorpej
9c5ccdf883
Don't count deferrals as output errors. It's only a (single) output error
...
if an excessive number of deferrals causes the transmission to abort.
1999-05-12 15:33:29 +00:00
augustss
d480a15932
Regen.
1999-05-11 09:56:56 +00:00
augustss
91e572f76d
Another mouse.
1999-05-11 09:56:32 +00:00
drochner
ee57a7f5ff
add swedish keyboard map from Johan Danielsson (joda@pdc.kth.se) per
...
PR kern/6983, and US-Dvorak from Matt Knopp (mhat@fundsxpress.com ) per
PR kern/7429
1999-05-11 09:24:11 +00:00
drochner
51a0e1a705
define swedish layout and "dvorak" variant
1999-05-11 09:21:07 +00:00
thorpej
83b019c919
Set the data link type to DLT_PPP_SERIAL so that tcpdump can do
...
something useful with our captured frames.
1999-05-11 02:57:58 +00:00
augustss
ea2a114cf0
Fix a serious bug in bandwidth accounting that thrashed memory.
...
Thanks to Joel Chen <jchen@nc.com> for tracking it down.
1999-05-09 22:48:35 +00:00
thorpej
c9ee8bf3c4
Fix a couple of problems w/ 3c574 support. Doesn't quite work yet, but
...
it's a little closer.
1999-05-09 18:48:52 +00:00
ad
90d35111e1
In rasops_erasecols(), try word aligned case before halfword aligned.
1999-05-09 17:50:27 +00:00
augustss
69e451c1ce
Call ws routines at spltty() from interrupt routines.
1999-05-09 15:10:30 +00:00
augustss
aaa0308140
Handle exclusive open bit differently.
1999-05-09 14:38:01 +00:00
augustss
d11fcba216
More debug.
1999-05-09 14:37:18 +00:00
augustss
63e051b6cf
Minor rearrengment for better readability.
1999-05-09 14:36:42 +00:00
augustss
86bb7f7d58
Add some Mass Storage constants.
1999-05-09 14:35:50 +00:00
augustss
cbec5fc966
Regen.
1999-05-09 14:35:13 +00:00
augustss
e4b1b00d56
Add Microsoft DDS80.
1999-05-09 14:34:41 +00:00
hwr
fbdd142801
Regen.
1999-05-07 21:20:12 +00:00
hwr
0fd4ff06c2
Added CIRRUS CL_PD6832 from "Johnny C. Lam" <lamj@stat.cmu.edu> in kern/7119.
1999-05-07 21:19:06 +00:00
hwr
4d524d7360
Regen.
1999-05-07 21:11:20 +00:00
hwr
91ddf1d6a6
Added TI PCI1251 from joda@pdc.kth.se (Johan Danielsson) in kern/6873.
1999-05-07 21:09:31 +00:00
drochner
1669ea470b
regen
1999-05-07 15:40:57 +00:00
drochner
1ce7678fb8
add another AGP graphics chip and a PCI-VME interface
1999-05-07 15:38:40 +00:00
nisimura
1d082ddc15
- Sweep abit preparing for code merge to have common 'vdacops' across
...
various graphics cards.
1999-05-07 08:00:30 +00:00
matt
307a48b721
Regen
1999-05-07 00:57:46 +00:00
matt
e735c2bf67
Add TI LYNX FireWire Controller (as used in the Apple B&W G3)
1999-05-07 00:56:46 +00:00
thorpej
375d7c32f2
Add a way for machine-dependent code to tell a USB controller that it
...
has the console input device. The USB keyboard driver uses this to
attach the first USB keyboard instance as the console keyboard.
Unfortunately, this must still be deferred to autoconfiguration time,
but there's not much we can do about that right now.
1999-05-06 19:12:22 +00:00
mrg
8c630939a3
regen
1999-05-06 14:29:21 +00:00
mrg
10c5298d7e
add pci devices found in U5's:
...
- ati weird mach64
- ebus bus
- `network' hme compatible ethernet
- `simba' PCI bus
1999-05-06 06:17:39 +00:00
thorpej
964b69ec84
Back out previous. Thanks to cgd for pointing out another way to do this.
1999-05-06 01:10:28 +00:00
thorpej
2a4490daa5
Add a `bus' member to the pci_attach_args. This is not normally used,
...
but some child drivers might need to know this information.
1999-05-06 01:01:19 +00:00
thorpej
bb619306e2
Add needs-flag to the ukbd device.
1999-05-06 00:42:16 +00:00
perry
f8e8703b5e
Add patch from Manuel Bouyer -- his mail message said:
...
By code inspection I found 2 bugs in the ATAPI code, one may be the cause
of your problem: A counter is not reset when issuing the request_sense
command. This is c_skip, the counter used to track the offset in the data
buffer when a data tranfer needs multiple phases. The effect of this is that
the sense data transfered may be stored outside the sense buffer (sense buffer
+ some, potentially several KB, offset). This can only occur in PIO mode,
DMA is not affected.
This doesn't occur in "normal" use because when reading a data CD, either
the sense is issued for a non-data command (in which case c_skip stays to
0), or an error occured and no data has been transfered, and c_skip is still 0.
I can't see a case where a data READ/WRITE could cause a sense tranfer without
error.
The second problem is that b_resid can be set to a false value (resulting of
the sense tranfer and not the data transfer). Again this is not a problem with
usual data tranfers because both values ends up being 0 when no error occurs.
1999-05-05 21:35:15 +00:00
bouyer
9893727873
Fix the way we compute the mode to use: for multiword DMA, the used mode was
...
2 less than the one we could really use, so for multiword DMA mode 0 or 1,
the driver tried to use DMA mode 255 or 254 (0 - 2 with a u_int8_t).
1999-05-05 15:24:59 +00:00
tsubai
dc8d07a096
Fix OFW_PCI_PHYS_HI_DEVICEMASK value.
1999-05-05 08:09:34 +00:00
thorpej
dbe4c0c061
Make this compile again.
1999-05-04 23:55:27 +00:00
thorpej
9382ef37c1
Define some things related to the PCI Bus binding to OpenFirmware.
1999-05-04 20:08:04 +00:00
ad
5aa72a711d
Pull in slightly modified ioctl() routine from psm.c (handles WSMOUSEIO_SRES).
1999-05-03 15:50:38 +00:00
ad
04888a4736
Update ioctl routine to handle WSMOUSEIO_SRES case.
1999-05-03 15:45:16 +00:00
ad
0a77d05407
Add ioctl definitions for setting mouse resolution, scale factor and sample
...
rate. Add two new display types (DEC PX, PXG). Replace instances of '???' in
comments about DEC hardware with meaningful representations.
1999-05-03 15:43:25 +00:00
ross
7bffc1e720
Protect WDCDEBUG from multiple definitions.
1999-05-03 07:44:47 +00:00
thorpej
1a1efc6b68
In lance_mediachange(), if there is no callback to the front-end, just
...
return 0 instead of EINVAL. In this case, there will only be one media
type, and the upper-level if_media code will ensure that the user is setting
to that type.
In other words, don't require the front-end to provide the no-op.
1999-04-30 18:15:04 +00:00
bad
b7ae9f8e40
Convert some bogus panic()s into printf()s.
1999-04-30 15:29:24 +00:00
nisimura
b2c6b9a41d
- Nuke debugging aids mistakenly committed.
1999-04-30 09:43:23 +00:00
nathanw
4f8cf68674
Rototillage; make this actually useful. To wit:
...
- Initialize more of the Bt463's registers, instead of leaving them
in undefined states. Notably, the window type table is set up
with 8-plane pseudocolor and 24-plane truecolor modes.
- Bus-space-ify, mostly. Could use some more cleanup, but not until
the rest of the tga stuff is converted, too.
- Do the TGA/RAMDAC communication dance more carefully.
- Explain a lot more of what's going on in comments.
1999-04-30 02:47:42 +00:00
nisimura
b14028acc2
- I finally learned CSR_A register of IMS G332 VDAC must be treated as
...
write only. Read-motify-write operation breaks its video mode.
- VDAC regiters are now initialized as ULTRIX does.
1999-04-30 00:44:11 +00:00
bad
8fb6c6124b
From Onno van der Linden:
...
Reorganise the driver some what.
Rename tr_reset() to the more appropriate tr_stop().
Create a common tropic reset routine and use it in the frontends.
Move the code in tr_config() which is only used in the card attachment
routines into a new tr_attach() function.
Take adapter off the ring through tr_shutdown() in a shutdown hook.
This simplifies the bus-specific frontend.
1999-04-29 15:47:02 +00:00
ad
53af2d0054
Initialize db in copycols() to zero to pacify gcc, as noted by Simon Burge.
...
This doesn't change anything until it's fixed.
1999-04-29 03:38:39 +00:00
ad
34480e41c4
Add cookie for wsfont to rasops_info.
1999-04-29 02:49:40 +00:00
ad
e2db3e3f25
Update usage comment.
1999-04-29 02:42:43 +00:00
ross
770b67425d
Accelerate scrolling. Originally by Roland Dowdeswell, revised by
...
{drocher,ross}@netbsd.org.
1999-04-28 23:24:33 +00:00
jonathan
5847397a4d
Add EEPROM_SSI EEPROM field (hardware revision-level info).
1999-04-28 22:47:44 +00:00
dean
188c3f6ae5
Fix for PR kern/7483: ex driver gets bogus MAC address with 3c905B
1999-04-28 17:34:01 +00:00
jonathan
894ce34c9d
Improved 509B-in-PnP mode detection (Christoph Badura, Jonathan Stone):
...
Verify EEPROM checksum, extract card rev-level, test capabilities
word, then test high-order config bits to verify card is in PnP mode,
and skip if so.
1999-04-28 01:20:01 +00:00
thorpej
55fd59f1e0
Make PCI IDE DMA work on big-endian systems.
1999-04-28 00:18:12 +00:00
augustss
a9cd83c7af
Regen.
1999-04-27 21:32:05 +00:00
augustss
9fb29eae72
Update vendor names from an official(?) list.
1999-04-27 21:30:53 +00:00
augustss
d992bbf22c
Regen.
1999-04-27 18:09:00 +00:00
augustss
c05572b5b7
Add Gravis GamePad Pro (from Soren Jorvang).
1999-04-27 18:08:35 +00:00
thorpej
0837de9c4b
Add support for the Fujitsu Towa LA501 Ethernet card. PR #6524 , Stephen Ma.
1999-04-27 04:56:18 +00:00
thorpej
ae3e4919c2
Regen.
1999-04-27 04:52:04 +00:00
thorpej
7931c9f84e
Add the Fujitsu LA501 Ethernet card. PR #6524 , Stephen Ma.
1999-04-27 04:48:43 +00:00
thorpej
d5a491540c
Disable power management until the bug that caused it to hang the
...
machine can be found.
Addresses kern/6488, from Thorsten Frueauf.
1999-04-27 02:53:30 +00:00
ad
3dc48bf302
Bump WSFONT_L2R/R2L by +1 so 0 can mean no specific order is required.
...
Change entry for QVSS to match bitorder.
1999-04-26 23:41:57 +00:00
thorpej
82f0525910
Make the 3Com Etherlink XL driver work on big-endian systems. From
...
Izumi Tsutsui, PR #7279 .
1999-04-26 23:28:31 +00:00
thorpej
1eb689a712
Make the VIA Rhine driver work on big-endian systems. From Izumi Tsutsui,
...
PR #7305 .
1999-04-26 23:19:10 +00:00
kleink
5ea46286eb
mii_phy_auto(): don't rely on an implicit declaration of the waitfor argument.
1999-04-26 14:48:57 +00:00
ad
a6f7f56fde
Remove crud remaining from userland mockup.
1999-04-26 04:29:12 +00:00
ad
f9510a4f4b
Innumerable fixes and improvements. README contains list of remaining bugs
...
that need to be squashed.
1999-04-26 04:27:47 +00:00
ad
caf44885ea
Change WSFONT_LITTLE/WSFONT_BIG to WSFONT_L2R/WSFONT_R2L to reduce possible
...
confusion.
1999-04-26 04:24:22 +00:00
pk
569836a986
It is no longer necessary to protect bus_dma_[un]load() at splbio, since
...
sparc bus_dma*() functions now protect their own internals..
1999-04-25 10:40:53 +00:00
simonb
6aaa1ee1b7
Shut 'gcc -Wuninitialized' up.
1999-04-25 03:02:05 +00:00
thorpej
4c7a2ee3b0
Fix a couple of problems in the PCscsi-PCI driver:
...
* resid in pcscp_dma_intr() should also be set in the data out phase.
* Don't set up DMA in the transfer pad operations.
* Change URL of the PDF technical manual to the index page.
* include <machine/bswap.h> on big endian machines.
Fixes timeouts writing large blocks to tapes. From Izumi Tsutsui,
PR 7252.
1999-04-25 01:20:02 +00:00
thorpej
207f873ac2
Fix an mbuf leak in the strict alignment case of packet reception.
1999-04-24 22:09:56 +00:00
thorpej
83f9ab3c87
Implement asynchronous autonegotiation when driven by the MII tick
...
(one-second clock). Prevents .5s delays every 5 seconds when the interface
is up but there is no link. Fixes PR 7361.
1999-04-23 04:24:32 +00:00
pk
c3f1aa0d3e
Don't send any data upstream if we're not open yet.
1999-04-22 20:37:37 +00:00
mycroft
3800206dc5
Map the Home and End keys as xterm does.
1999-04-22 20:06:02 +00:00
augustss
afe636b9fa
Add some digitizer usage codes.
1999-04-22 01:57:01 +00:00
ad
6ee9a851df
Let `mapchar' in operations set decide if characters (c > 127) are printable.
1999-04-22 00:46:36 +00:00
thorpej
81eb5b98aa
Add a couple of missing splbio()/splx() pairs that caused pool corruption.
1999-04-21 22:14:15 +00:00
augustss
1fcbe7ae13
Use the right buffer in immediate mode.
1999-04-21 19:02:26 +00:00
jonathan
cc3feba3f5
Don't attach an 3bc509B as ep? at isa if the EEPROM is set to to PnP mode.
...
See PR# port-i386/7428
1999-04-20 22:07:37 +00:00
pk
52db3a158e
Correct QESTAT `%b' format string.
1999-04-20 20:24:39 +00:00
pk
d93e27676e
Remove splbio()/splserial(), which should not try to protect bus_dma*(9)
...
internals.
1999-04-20 20:21:04 +00:00
mrg
713d4e0462
KNF nits.
1999-04-20 06:48:58 +00:00
jonathan
055b827e11
Calling DELAY() during polling for command completion of the normal
...
per-packet discard of every received packet increases latency and
decrease throughput. INstead, Spin on S_COMMAND_IN_PROGESS for enough
iterations as the expected time to completion. Only do DELAY()/poll
loops (as suggested by Jason Thorpe) if spinning fails.
Take PCI as fastest case and compute worst-case estimate.
Shorten DELAY() in S_COMMAND_COMPLETE polling-loop up 10, loop-count
down. to speed up epreset() completion (m/c filter change, ifup/ipdown, etc).
1999-04-20 04:40:24 +00:00
jonathan
07c7535688
* Make doubly sure that the ep shutdownhooks are run at splnet() or above.
...
* Clear the `enabled' bit in the softc so late hardware interrupts
(e.g., just after the full reset) done as part of shutdown) are dropped.
* Eliminate loops that poll forever on S_COMMAND_IN_PROGRESS to complete.
Add inline function with bounded loopcount plus small delay, to avoid
bugs in EISA hardware which never sets S_COMMAND_IN_PROGRESS.
Use for both TX_RESET/RX_RESET/GLOBAL_RESET cmds, and polling for
discard-Rx completion
1999-04-19 23:26:48 +00:00
ross
4b0326d939
Get rid of delay() in com_common_putc() because the Shark delay() is borked
...
and can't be called until after the timers are setup. (It should not use
a timer, or it should have a fallback algorithm.)
1999-04-19 19:27:31 +00:00
thorpej
552465011e
Revert revision 1.159. The correct answer was not to re-break the
...
serial console support, but rather to fix the Shark delay().
1999-04-18 22:02:47 +00:00
ad
fe72ae262f
Rebuilt from 'isapnpdevs'.
1999-04-18 13:21:01 +00:00
ad
690bd69d3e
Add Diamond Supra 336i to device list.
1999-04-18 00:35:30 +00:00
abs
c28fffe947
Fix enet_vendor entries for Compex Linkport Enet B (PR 7238)
1999-04-16 22:35:49 +00:00
pk
cd6eaa20b1
Print register contents before we modify it.
1999-04-16 13:35:41 +00:00
mjl
6224c1beda
Correct wrong board IDs (used ID definition from FreeBSD)
1999-04-15 23:51:44 +00:00
bouyer
b5f3e628a3
If setting to pio mode < 3 fails, try to set pio mode 3 before returning
...
EIO. The spec says ATAPI devices should support "PIO 3 or better".
They are supposed to support less as well. Setting the device to a highter
mode than the controller shoul'nt be a problem, and this is likely what
happens with legaty ISA controllers.
Solve problem reported by Ruey-Shyang Guo.
1999-04-15 16:21:27 +00:00
bouyer
94d00cdb29
Bump timeout to 10s only for ATAPI devices, 1s is fine for IDE drives once
...
they are ready.
1999-04-15 09:41:09 +00:00
ad
c0735a01c5
Replace qvss8x15 with version from NetBSD/vax, which contains the full ISO
...
character set.
1999-04-14 23:06:26 +00:00
jonathan
380d12dfbd
Complete bugfix in rev 1.3: increase read-parameter-block timeout to 10s
...
(as used for the hardware for which rev 1.3 was made.)
1999-04-14 22:23:15 +00:00
ad
9603b90966
Add missing RCONS_2BPP and RCONS_16BPP options for compatibility with code
...
that has not yet changed over to 'rasops'.
1999-04-14 18:43:24 +00:00
ad
619320f97d
Remove courier11x18 due to licensing concerns. Fixup license on lucida16x29.
1999-04-14 18:25:47 +00:00
jonathan
af729a150c
initialize 'p' for lame gcc-2.7.2.2 flow analysis.
1999-04-14 03:26:34 +00:00
jonathan
0028097812
Fix ex_read_eeprom() for 3c57x.
1999-04-13 23:07:25 +00:00
jonathan
979a80207e
Fix duplicate "3com" from attach, as noted in PR#7607.
1999-04-13 22:34:05 +00:00
augustss
4084111fca
Make copyrights conform.
1999-04-13 20:37:21 +00:00
jonathan
2bf9a70e67
Endian-ness bugfix for elink3 on big-endian hosts.
...
Big-endian CPUs should use bus_space_{read,write}_multi_stream methods
to PIO packet data to NIC in 16-bit or 32-bit chunks.
Make it so.
Since we don't have stream methods on all ports yet (esp. i386), use
the bus_space_{read,write}_multi methods if the compile-time
stream-method feature-test macro is not set.
Originally from tsubai@netbsd.org , via HAYAKAWA koichi's cardbus patches.
1999-04-13 20:23:52 +00:00
ad
1c9990c901
Removed pending write of fully-functional MI driver.
1999-04-13 19:06:54 +00:00
ad
ce7a13c654
Remove px driver pending write of fully-functional MI driver.
1999-04-13 19:06:53 +00:00
ad
8fe6730f9a
Many enchancements to rcons to support ANSI color and all attributes
...
properly. All output now performed using a 'struct wsdisplay_emulops'.
1999-04-13 18:43:17 +00:00
ad
a9ef1be75b
iso8x16 font removed until such time as licensing can be clarified.
1999-04-13 18:34:13 +00:00
ad
d8a02e8017
Code cleanup. Add ri_bswap member to 'struct rasops_info' to indicate that
...
framebuffer endianness differs from CPU (for 15,16,32-bit displays).
1999-04-13 03:02:40 +00:00
ad
de43e7cc8d
Fixed licensing due to a foobar on my behalf.
1999-04-13 00:40:07 +00:00
ad
7db08b6507
Initial import of wsfont, an in-kernel font table for wscons/rcons.
1999-04-13 00:24:05 +00:00
ad
14d2ed835e
Initial import of 'rasops', the new raster operations set for wscons/rcons.
1999-04-13 00:17:57 +00:00
jonathan
9e87738e9d
Add entries for TI, Ricoh, Toshiba PCI-to-cardbus bridge chips, so
...
we can identify them as cardbus chips supported by the cardbus patches.
Add entry for OPTI chipsets whose interrupts arent properly set up by
some BIOSes.
From cardbus patches<ftp://nandra.iri.co.jp/pub/NetBSD/CardBus by
HAYAKAWA Koichi <haya@tcad.ulsi.sony.co.jp>.
1999-04-12 23:18:16 +00:00
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00
oster
4882ae464f
Fix a couple of compiler warnings on the Alpha. Pointed out by Tim Rightnour.
1999-04-12 19:39:59 +00:00
mjl
4622761326
Enable workaround for isapnp assigning already used interrupts to pnp
...
cards by masking them out with a "options ISAPNP_ALLOC_INTR_MASK=..."
in kernel config.
1999-04-12 19:31:27 +00:00
cjs
ecab881e98
PR 6852 from Chris Jones <cjones@hideo.nervana.montana.edu>.
...
This handles the interrupt structure of Compex boards.
1999-04-12 04:31:55 +00:00
bouyer
503de51fdd
Fix probe code for IDE devices:
...
- Don't rely on ATA signature: some ide controllers seems to not transmit it
properly (SIMIDE on arm32 machines). Instead, when we guess a drive is here
after reset, just mark it as ATA and OLD is it's not ATAPI.
- at attach time, use IDENTIFY to eliminate ghost from the probe. If the
drive had the old flag and IDENTIFY failed, issue a WDCC_RECAL command
to detect a pre-ATA disk. If IDENTIFY succeded, remove the OLD flag,
it's obviously not a pre-ATA disk.
- add a new controller flag, WDC_CAPABILITY_PREATA, used to shorcut parts
of the probe (not necessary, but makes the probe/attach faster). This is
only set by the ISA front-end, all other controllers supported can't have
pre-ATA drives attached.
The mechanism used are more or less the same as before, they have just been
reordered. Should solve port-arm32/7324 (waiting for feedback).
1999-04-11 20:50:28 +00:00
drochner
2a614bc836
add support for 80x40 screens
1999-04-10 14:02:11 +00:00
abs
71c5a6babd
Fix ethernet address location for Compex Linkport ENET-B. From PR 7238.
1999-04-09 23:19:27 +00:00
bad
57ba75e2fc
Correct a misleading comment copied over from the PCIC version of this file.
1999-04-08 16:14:29 +00:00
bouyer
e91bdf1c67
Add SCSI_IGNORE_NOT_READY to the flags for CDIOCCLOSE: some devices will
...
attempt to spin up, and report an error if there's no CD. Fixes port-i386/7345.
1999-04-08 16:12:31 +00:00
bouyer
c2752835f7
Fix a long-standing bug with the ACAP_* flags:
...
- the cap field is a u_int8_t, so none of the defined flags would fit in.
Looks like nobody had a drive using 16 bytes commands.
- the ACAP_DRQ_* flags are all wrong. Just remove them and use the definitions
from ata/atareg.h, there's no need to duplicate theses. The effect of this
was that we were always polling for the command phase, even for drives
with interrupt DRQ. This didn't break until the code was changed to support
shared interrupts.
Should fix the lookup problems or 'boot hangs' reported by some users, and
kern/7111.
1999-04-08 11:29:01 +00:00
oster
9f560505d4
Allow re-writing parity on a RAID 0 to trivially succeed, and to set the
...
clean bit. This is somewhat bogus as RAID 0 does not have any parity,
but is a slightly cleaner than other solutions, and makes the handling
of clean bits for RAID 0 consistent with the handling of clean bits at
other RAID levels.
1999-04-07 14:17:10 +00:00
bouyer
29936d77d4
Now that we do real use of CDIOCCLOSE, we can have SSS_START|SSS_LOEJ
...
in scsipi_start(). Adjust test so that timeout will let enouth time to
the drive to spin up.
1999-04-07 12:47:27 +00:00
dbj
4397d4c1fd
convert tabs to spaces in ascii art circuit diagram
1999-04-07 10:21:31 +00:00
christos
29ddb0a0af
regen
1999-04-07 08:21:42 +00:00
christos
7fdc304a14
Add another USR modem
1999-04-07 08:21:25 +00:00
augustss
cadb84965d
Use complete sentences in the generated comments.
1999-04-06 23:03:44 +00:00
augustss
17c3351354
Regen.
1999-04-06 23:02:31 +00:00
augustss
31f94ae97e
Add Leopard 56k PnP, from PR 7330.
1999-04-06 23:02:09 +00:00
pk
c40eb1cd97
Fix a pasto in copyright text which has been procreating like rabbits..
1999-04-06 20:09:18 +00:00
bouyer
2198b984e8
Kill an extra 'pciide0: ' in a printf
1999-04-06 17:49:14 +00:00
mycroft
7a304dfe1b
If scsipi_command() fails, always print out the error code.
1999-04-05 19:19:34 +00:00
bouyer
bf88fc82eb
Adjust timeout for 'ielem' to match the comment: 5 mn (not 5s) per element +
...
10mn initial.
1999-04-04 12:20:48 +00:00
mjacob
2b311c7218
roll internal revs
1999-04-04 02:29:51 +00:00
mjacob
a529f8f3b4
firmware revision now a triple
1999-04-04 02:29:34 +00:00
mjacob
cd0cf2b5ca
Make firmware revision a triple. Clean up some FC init stuff for
...
board versions with no BIOS. Separate mailbox interrupts from
IOCB interrupts. Read OUTMAILBOX5 while RISC_INT is active- not
after you clear it (potential race condition). Clear out older broken
BIG_ENDIAN goop. Don't negotiate narrow/async for LVD busses at startup
if already in LVD mode. Note usage of presumptive 1040C revision. For
all the LIP, PDB Changed, Loop UP/DOWN async events, mark fw state
as unknown as well as marking the need to do a getpdb on targets- after
a LIP for certain the f/w has to do PRLI/PLOGI for all targets again
and marking f/w state as unknown gives us a fighting chance to (start
to) hold up for that to complete.
1999-04-04 02:28:53 +00:00
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