soren
0011842ea8
Regen.
2000-06-16 08:13:50 +00:00
soren
567c710f2b
Add some S3 chips.
2000-06-16 08:13:25 +00:00
soren
18b4be2a92
Update from Onno:
...
- Add a tr_reopen() and use that instead of tr_init() for callouts.
- As tr_reinit() and tr_reopen() are used as callouts, protect them at splnet.
2000-06-15 19:55:27 +00:00
ragge
8aeaa34651
"files" file for the XMI bus.
2000-06-15 19:01:33 +00:00
augustss
fca2f40972
Regen.
2000-06-15 17:58:45 +00:00
augustss
032bdde358
Add Compaq's Personal Jukebox (I got one as a birtday present!)
2000-06-15 17:58:14 +00:00
pk
297445c2a2
Turn on the hash filter enable bit in the RX configuration register
...
when loading the multicast hash filter (noted by itojun@iijlab.net ).
2000-06-15 15:34:32 +00:00
matt
91e31abb8a
Add preliminary ieee1212reg.h (csr architecture which is the base spec for
...
1394).
2000-06-15 03:43:40 +00:00
soren
d157be73ff
Update from Onno: add media selection.
2000-06-14 22:54:37 +00:00
thorpej
17de155949
Make sure we use firmware->host communication channel in cz_intr(), from
...
Bill Studenmund.
2000-06-14 17:54:33 +00:00
pk
f67e2cd132
Eliminate a race condition reported by mouse on port-sparc.
2000-06-14 08:01:26 +00:00
soda
c521ba58c1
yet another change for NEC RISCstation 2250 of arc port.
2000-06-14 00:34:33 +00:00
tron
3e3d2d7344
Regen.
2000-06-13 22:44:51 +00:00
tron
d643d25eb9
Add CMD PCI0648.
2000-06-13 22:44:19 +00:00
soren
0ea5e0720a
IBM Tropic Token Ring PCMCIA attachment. XXX Needs work.
...
Many thanks to Onno van der Linden for his help in getting this working.
2000-06-13 20:03:47 +00:00
soren
ca34a6a69a
Call frontend enable/disable functions in the ioctl path.
...
Use _sc prefixes for some softc members.
A few minor cleanups.
2000-06-13 20:00:02 +00:00
nathanw
a5598651e8
Arrange to use the right RAMDAC cookie at console initialization time.
...
[I thought I committed this months ago....]
2000-06-13 17:21:06 +00:00
soren
45bdc51fa2
Regen.
2000-06-13 15:37:29 +00:00
bouyer
22a10be43e
sheduler->scheduler, as pointed out by Klaus Klein
2000-06-13 13:59:15 +00:00
ad
3553879fc2
Use my proper name.
2000-06-13 13:36:42 +00:00
soren
a6c8d6231e
Regen.
2000-06-13 02:18:19 +00:00
soren
d15c2a6a04
Include vendor name for IBM products.
2000-06-13 02:18:00 +00:00
sommerfeld
9769dedd5b
Let this build on LP64 if DEBUG is defined.
2000-06-12 23:45:45 +00:00
gmcgarry
6ab5c3364c
- add mmap support
...
- correct bug which wouldn't free allocated DMA segments
2000-06-12 22:40:20 +00:00
nathanw
31c0cc5f46
Regen.
2000-06-12 22:33:41 +00:00
nathanw
72d31d8d37
Add AMD 79c978 PCnet-PCI Home.
2000-06-12 22:33:06 +00:00
bouyer
26bbb4f200
Regen.
2000-06-12 21:25:20 +00:00
bouyer
034590578d
Shorter description for the HPT366
2000-06-12 21:25:01 +00:00
bouyer
b21bc1b5b6
- add a pciide_irqack() callback, which clears the IDE DMA status bit once
...
the IRQ has been cleared on the drive.
- use pa->pa_class instead of re-reading PCI_CLASS_REG when possible
- Add support for Highpoint HPT366 and HPT370 (370 untested), based
on patches from Roger Brooks <R.S.Brooks@liverpool.ac.uk> posted on
current-users Mach, 15. Given how Highpoint docs have been wrong for the
366, the 370 is likely to not work.
Thanks to Chris Cappuccio <chris@dqc.org> for sending me the Highpoint
docs, and to Total Archive (http://www.totalarchive.com/ ) for sending
me hardware.
2000-06-12 21:20:51 +00:00
bouyer
8642ac97bf
Regen.
2000-06-12 21:12:59 +00:00
bouyer
1970e14b93
Add HPT366/370 device ID.
...
XXX Is 'TRIONES' the rigth vendor name ?
2000-06-12 21:12:30 +00:00
bouyer
12d3bf8c1a
Add a callback (*irqack), for controllers that need special action to ack
...
the interrupt once it has been ack'd on the drive.
2000-06-12 21:10:40 +00:00
bouyer
221a99f782
Handle "scsi bus mode change" interrupts on 895 and higther.
...
Thanks to Hal Murray for reporting the problem and testing the fix.
2000-06-12 20:13:41 +00:00
ad
397fa0e4e2
Fix a couple of pastos.
2000-06-12 11:07:45 +00:00
mrg
b9140fbc0c
KNF a line.
2000-06-12 05:25:48 +00:00
mrg
305e44c869
check for when cnopen() will call itself recursively, and panic instead of losing badly.
2000-06-12 05:02:22 +00:00
bouyer
7bb3d03448
Relax condition on 'sn' for atapi probe, it can be different from 0x1 with
...
some controllers/devices. Fixes a problem reported by Markus Illenseer.
2000-06-11 17:09:34 +00:00
oster
7a0d138818
Nuke a (mostly) now-incorrect comment.
2000-06-11 03:35:38 +00:00
sommerfeld
ea313649ff
defopt MIIVERBOSE
2000-06-11 02:13:34 +00:00
ragge
cc483219bc
Must be able to compile without "mtc".
2000-06-10 19:44:55 +00:00
sommerfeld
8e8ecc1bb5
portability fix: when rotating, don't do shifts >= wordsize.
2000-06-10 17:01:15 +00:00
wrstuden
eb21ed4746
Adapt to going back to decemal device numbering.
2000-06-09 18:00:45 +00:00
wrstuden
8d04cd3f90
Rather than assinging 64 tty's per pci card, assign tty's as found.
...
Cyclades says driver should work with up to 128 tty's per pci card
even though they only support 64 now. Also matches FreeBSD behavior.
Print located tty's using new tty naming scheme - ttyCZ?? where ?? are
two hex letters.
Make firmware load on macppc - one le32toh() was missing.
2000-06-09 16:53:23 +00:00
drochner
7b82c5ef6c
add EGA display type
2000-06-09 16:07:55 +00:00
onoe
73a779fa1f
Restore the original copyright notice by Bill Sommerfeld
...
<sommerfeld@netbsd.org> since it is based on the original code.
2000-06-09 14:36:25 +00:00
onoe
7b45a44396
Add Farallon SkyLINE Wireless LAN Card for awi(4) driver.
...
Tested on FreeBSD 3.4-RELEASE by Dirk-Willem van Gulik <dirkx@webweaving.org>.
2000-06-09 13:05:02 +00:00
enami
5a4b9fcbbf
Prevent a process being swapped out during I/O if the data buffer is
...
allocated on stack. This potential problem is noticed by Noriyuki Soda
and the idea and sample code to fix is given by Jason R. Thorpe.
2000-06-09 08:54:19 +00:00
gmcgarry
f44d7a9a53
Rename remaining references from xe to xi. Clean up debug messages.
2000-06-09 08:22:13 +00:00
onoe
4da3935bae
cleanup haeders.
...
add opt_awi.h to define AWI_DEBUG, AWI_WEP_ARC4.
show the firmware version at attach.
create a framework to support WEP (encryption code is not included for now).
a new wiconfig compatible ioctl interface replaced the awictl interface.
fix memory leak in selecting AP
fix bugs in ESSID selection
changes from FreeBSD-current by Warner Losh:
revision 1.2
date: 2000/04/17 22:58:15; author: imp; state: Exp; lines: +16 -1
Provide mem* for compat with NetBSD to fix LINT
fixes from FreeBSD-current by Guido van Rooij:
revision 1.4
date: 2000/05/29 19:58:10; author: guido; state: Exp; lines: +5 -2
Fix a panic resulting from an obvious null pointer deref.
Apparently some other panics still exist in this driver, but with
this fix, it was at least possible to run the Nokia card at SANE 2000.
2000-06-09 05:31:15 +00:00
soda
0f76c56f2d
increase number of parameters of pckbc_cnattach(), since offset of command port
...
is not 4 (KBCMDP), but 1 on jazz based platforms of arc port.
2000-06-09 04:58:32 +00:00
soda
8ac7bdd00c
changes for NEC RISCstation 2250 of arc port.
2000-06-09 04:48:12 +00:00
soda
77625cf7ec
long long constant needs "LL" suffix.
2000-06-09 04:45:53 +00:00
augustss
b8f4f2be87
Regen.
2000-06-09 00:21:08 +00:00
augustss
def28a5cd2
Add some PCI devices found in the IOpener (commited from the IOpener itself :).
2000-06-09 00:20:18 +00:00
cgd
1e158fae9a
nuke bogus use of s = spl0() / splx(s). reviewed by Jason Thorpe.
2000-06-08 22:43:15 +00:00
gmcgarry
6dd21e55a9
Make attach messages consistent with PCI drivers. Make function pointer
...
usage consistent with other drivers.
2000-06-08 22:15:52 +00:00
ragge
944b6966e9
Fix a transmit bug and get a little more out from the receive logic.
2000-06-08 19:58:49 +00:00
cgd
625dbd8f87
in allegedly-MI code, if we're gonna use '#pragma pack(N)', #pragma pack()
...
should be used to reset the packing. (#pragma pack(4) was used here
before. "wrong!")
2000-06-08 18:22:15 +00:00
haya
b6a821f042
Change IPL when bridge's interrupt handler calls child device's
...
interrupt handler (This solution is not very good).
2000-06-08 10:28:28 +00:00
cgd
d8dcb11d4f
don't include ISA headers. these have been properly abstracted so that
...
the ISA headers are unnecessary, and they're used by PCI VGA. There may
not be any ISA at all.
2000-06-08 07:01:19 +00:00
scw
295ed77595
The OPTi controller supports a 32-bit dataport after all.
...
Also detect when the chip is sitting on a 25MHz PCIbus and
set the timing registers accordingly.
2000-06-07 20:42:52 +00:00
ad
887d4555cd
Regen.
2000-06-07 19:53:17 +00:00
ad
4837200a8c
Add vendor/device ID for 3ware Escalade IDE RAID controller.
2000-06-07 19:52:07 +00:00
tsutsui
3f94f56142
Adapt struct scsipi_adapter changes.
2000-06-07 14:40:20 +00:00
mrg
a67130a218
regen.
2000-06-07 09:55:22 +00:00
mrg
09b843b7f6
fix a couple of the sun entries.
2000-06-07 09:52:16 +00:00
haya
dca97557cd
Add CB_BCR_RESET_ENABLE in bridge control resister's bit definition.
2000-06-07 09:02:46 +00:00
thorpej
b15bbb90f9
Add missing break;
2000-06-07 04:31:49 +00:00
soren
13ed0863f8
Regen.
2000-06-07 01:58:17 +00:00
soren
e2c1012576
Add Trident 9397DVD.
2000-06-07 01:57:30 +00:00
thorpej
23ef490928
Deal with the fact that tsleep() may be a macro.
2000-06-07 00:33:51 +00:00
thorpej
c85d6d7ca3
Improve the Cypress name a little.
2000-06-06 22:56:06 +00:00
thorpej
a452638f06
In pciide_mapreg_dma(), check to see what type the BAR is before
...
mapping the registers, as suggested by a comment in that function.
2000-06-06 22:47:22 +00:00
jdolecek
d98bf28b13
Make the frontend print a newline (follows similar change for isa and pcmcia front-ends)
2000-06-06 20:09:20 +00:00
soren
10e30038a9
Fix braino in previous, pointed out by Jaromir.
2000-06-06 18:42:47 +00:00
soren
a4f554c4ac
Add CS4235 MPU id.
2000-06-06 18:08:51 +00:00
soren
ba5df2479b
Shorten names of VIA controllers to fit in 80 columns with versions.
2000-06-06 17:48:12 +00:00
thorpej
c40fa3c4d4
Actually program the DMA mode of the drives into the Cypress
...
controller. Fixes a long-standing problem where IDE DMA wasn't
working on the AlphaPC 164SX.
2000-06-06 17:34:22 +00:00
soren
3b8b24cffe
Only wait 100 ms instead of 1 s for the SEEPROM to come ready. This is
...
still plenty for cards with SEEPROM's and reduces the delay on platforms
without, which conveniently also avoids triggering the O2 watchdog timer.
2000-06-06 17:29:40 +00:00
soren
b4b667c0a0
Make ID printing a little more robust in case of problems reading
...
AC97 registers.
2000-06-06 17:25:52 +00:00
soren
d862695c41
Make 3Com names a little more consistent.
2000-06-06 17:21:42 +00:00
soren
f0d0078f1b
Add Olicom GoCard.
2000-06-06 17:19:59 +00:00
soren
cd4324537d
Density codes are usually given in decimal, so print them that way.
2000-06-06 17:16:02 +00:00
soren
8b0390203b
Some minor diagnostics cleanups.
2000-06-06 16:41:33 +00:00
soren
63649c5744
Make the frontend print a newline.
2000-06-06 16:27:49 +00:00
soren
1ec719ccc0
Add power management hooks.
2000-06-06 16:26:57 +00:00
sommerfeld
f1802cf848
Fix previous change: guard against missing subdevices of pckbc.
2000-06-06 16:21:22 +00:00
soren
4b7ec26c89
One comment too much..
2000-06-06 16:16:36 +00:00
soren
c4df411abd
Add comments for a few drivers and the lines for the Tropic attachment.
2000-06-06 16:15:31 +00:00
tsutsui
499db14bcb
sun3 always defines Debugger(), so don't redefine it.
2000-06-06 14:24:05 +00:00
pooka
e1e9261889
fix typo
2000-06-06 14:01:40 +00:00
augustss
1c94b92bc4
Initialize pointer before doing free of it.
2000-06-06 11:36:21 +00:00
kleink
05d7f969b9
Regen.
2000-06-06 07:55:50 +00:00
kleink
aed5858e8b
Add the product ID for the ESS Maestro 3 modem function as well.
2000-06-06 07:55:17 +00:00
thorpej
21d9669e4f
Common routines for read/writing Cypress 82c693 control registers. Needed
...
by `pciide' and the Alpha `sio' (PCI-ISA bridge) driver.
2000-06-06 03:07:39 +00:00
sommerfeld
bbca3924cd
Replace "timestamp" with "counter" in previous change, to avoid any
...
possible confusion that it has anything to do with accurate
measurement of time.
New names:
__HAVE_CPU_COUNTER
cpu_counter()
cpu_hascounter()
2000-06-06 01:33:15 +00:00
sommerfeld
7497ddcce5
/dev/random code cleanups:
...
- Add comments about which spls apply to which data structures.
- Consistently protect the rnd_samples queue (the queue of
unprocessed samples) at splhigh().
- allow MD code to supply cpu_timestamp() and cpu_havetimestamp() for
an optional higher-resolution clock/roulette wheel source.
- Collect more statistics on the pool state (keeping track of where
collected bits are going, in addition to where they came from).
- Add RNDGETPOOLSTAT ioctl to get the additional stats.
- Flush a few unused rndpool calls.
- XXX XXX Cryptographic changes:
- 32-bit rotate is:
((val << rp->rotate) | (val >> (32 - rp->rotate))),
not
(val << rp->rotate) | (val >> rp->rotate)
or
((val << rp->rotate) | (val >> (31 - rp->rotate)))
- Avoid overloading of rp->rotate and double-rotation of data
(which limited pool mixing somewhat; "rotate" never got above 7).
- Be more paranoid (but probably not paranoid enough) about mixing
output back into the pool. This is an improvement, but it needs
revisiting soon.
We should follow the spirit of some of the recommendations in
the Schneier PRNG papers:
http://www.counterpane.com/yarrow-notes.html
http://www.counterpane.com/pseudorandom_number.html
including:
- two (or more) stage operation for better isolation between inputs
and outputs.
- use of keyed one-way functions (probably better even than
invertible keyed functions like 3DES) at key points in the data flow,
so that breaking the PRNG is clearly as hard as breaking the function.
2000-06-05 23:42:34 +00:00
gmcgarry
fc43b2daa3
Replaced by xi(4).
2000-06-05 23:21:35 +00:00
gmcgarry
d0241b393f
Replace references to xe with xi. Clarify description to avoid
...
confusion with the Xircom tlp-based cards.
2000-06-05 23:18:50 +00:00
gmcgarry
3129070fd6
New driver for Xircom CreditCard PCMCIA Ethernet. Replaces xe driver which
...
didn't work. Renamed to avoid clash with next68k network driver.
2000-06-05 23:14:22 +00:00
gmcgarry
63ce2b1954
Clean up usage of XIRCOM/TDK identifiers.
2000-06-05 23:06:31 +00:00
gmcgarry
923b803b77
Regen.
2000-06-05 23:05:30 +00:00
gmcgarry
b1cff781b9
- Clean up XIRCOM entries
...
- Add entry for Xircom CreditCard Ethernet + Modem 28
- Add entry for Intel EtherExpress PRO/100
- Add entry for Compaq Netelligent 10/100 Ethernet
2000-06-05 23:04:04 +00:00
gmcgarry
c2a8e26e11
- remove conditional compilation on NAUDIO
...
- use preprocessor for constants
2000-06-05 23:02:04 +00:00
sommerfeld
bcf02ec8ff
If rnd is configured into the kernel, do rnd(4) entropy collection
...
from devices connected to pckbc:
- Do actual sample collection in pckbc.
- Add rndsource_element_t to the slot data.
- Change pckbc_set_inputhandler() to take an additional argument,
the name of the device, which is (eventually) passed into
rnd_attach_source() to identify the source.
- Change callers of pckbc_set_inputhander() appropriately.
2000-06-05 22:20:54 +00:00
bouyer
0e7cd755f4
use the correct variable in a debug printf().
2000-06-05 21:47:25 +00:00
chs
d4ffcd0cec
change ifdef __sun3__ to sun3, since the former isn't defined on sun3.
...
(not that it matters, since the sun3 currently has its own copy of
these files anyway, but it's nice to be consistent.)
2000-06-05 15:58:43 +00:00
tsutsui
5138b1b1bb
Well, this is esp_pcmcia, not esp_pci.
2000-06-05 15:36:45 +00:00
tsutsui
a12331c461
Oops, struct scsipi_adapter was changed recently.
2000-06-05 15:19:42 +00:00
tsutsui
8c4d1bf1f9
Adapt MI ncr53c9x changes.
2000-06-05 15:08:00 +00:00
kleink
ca3d9c7fa7
Regen.
2000-06-05 11:34:07 +00:00
kleink
428a7ca4e3
Add the ESS Maestro 3 product ID as well.
2000-06-05 11:33:35 +00:00
kleink
9b40e3731a
Regen.
2000-06-05 11:31:15 +00:00
kleink
be40495bb0
ESSTECH:
...
* add what's allegedly the Maestro 1's product ID.
* align product names with data sheets.
2000-06-05 11:29:28 +00:00
nisimura
4371d91433
Have MI ncr53c9x_attach() the 2nd and 3rd arguments for scsipi_adater
...
and scsipi_device respectively, with size reduction of ncr53c9x_softc.
Specifying NULL instructs the driver to use default adapter and default
device codes. Every target port has ncr53c9x_attach(sc, NULL, NULL) anyway.
2000-06-05 07:59:50 +00:00
matt
6204fa3c99
Update to new evcnt stuff
2000-06-05 02:28:19 +00:00
matt
2f85fe7adb
Adjust to new evcnt stuff.
2000-06-05 00:09:17 +00:00
gmcgarry
745e3fef63
pciiide -> pciide
2000-06-04 22:22:12 +00:00
gmcgarry
a5156a5c97
Cleanup #if 0 cruft.
2000-06-04 22:21:09 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
fvdl
c8c1e5854f
Fix wrong test for (software) queue blocked condition.
2000-06-04 11:42:55 +00:00
matt
0bd304e528
More event counter stuff. Plus a little cruft cleanup while doing it.
2000-06-04 06:16:53 +00:00
oster
6dcc553fae
Remove outdated comment.
2000-06-04 02:16:05 +00:00
matt
11ab56a399
Start counting interrupts.
2000-06-04 02:14:42 +00:00
matt
576faa0c31
Start couting interrupts.
2000-06-04 02:14:12 +00:00
oster
0b63accce0
Merge rf_update_component_labels() and rf_final_update_component_labels().
2000-06-04 02:05:13 +00:00
oster
1dcc041500
Minor prototype cleanup.
2000-06-04 01:39:49 +00:00
fair
e3a9f21a5f
Change the debug level from 1 to 3 for "skipping target" diagnostic
...
which spews unreasonably for a Qlogic SCSI-2 narrow controller, which
does not have ID's above 7.
2000-06-03 22:44:43 +00:00
oster
2c127bf249
Allow getting a component label from a spare disk.
2000-06-03 16:44:43 +00:00
matt
2c336f1de3
Add VAX display types along with the SPARCbook P9100.
2000-06-02 23:45:13 +00:00
tsutsui
f44619d89d
KNF some lines.
2000-06-02 18:34:05 +00:00
oster
66e6338ac9
Use 'componentN' rather than leaving blanks for non-existant disks
...
in the 'raidctl -s' output.
2000-06-02 01:17:14 +00:00
gmcgarry
9ee45aaf3a
Remove wbflush(). These are not necessary with the new IOASIC bus_space
...
framework. From Tohru Nishimura.
2000-06-01 21:46:17 +00:00
augustss
c6ddc6009b
Make it compile with USB_DEBUG.
2000-06-01 15:51:26 +00:00
augustss
fff66007d9
Reorder a little.
2000-06-01 15:43:32 +00:00
augustss
5218e2a490
Improve some portability items.
2000-06-01 14:37:51 +00:00
augustss
ed9486e158
Bring the coding style into the 80s, i.e., get rid of __P and use
...
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss
87a5ae384c
Update URLs.
2000-06-01 09:58:19 +00:00
matt
c9aff328d9
Make booted_device global (and booted_parition for consitency).
...
Eliminate it from header files and other extern definitions.
2000-06-01 00:49:49 +00:00
cgd
e4c35df1c9
kill __P in these files. (I had to look at them anyway with an eye for
...
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:22:52 +00:00
phil
d09ecbdf2a
Add an entry for the HP ScanJet 6300C.
2000-05-31 23:10:39 +00:00
augustss
7173e7efaf
Add a comment.
2000-05-31 16:16:49 +00:00
augustss
ca8d562f6e
Be more careful when setting the alternate interface.
2000-05-31 16:15:49 +00:00
augustss
18cd73168e
Be more careful when setting the alternate interface so we don't end up with
...
nothing set at all if it fails.
2000-05-31 16:14:42 +00:00
augustss
6731216c72
Rename a define.
2000-05-31 16:13:31 +00:00
augustss
cedf73b36a
Regen.
2000-05-31 16:12:29 +00:00
augustss
b9406eb3e2
Add a Chuntex hub.
2000-05-31 16:12:08 +00:00
fvdl
c0f99cc74a
Initialize xs_status to 0 after allocating a scsipi_xfer struct. Makes life
...
easier for driver debugging.
2000-05-31 11:14:25 +00:00
augustss
d86618eb5a
Implement the scsipi_getgeom method and guess the geometry of floppies
...
based on the number of sectors.
2000-05-31 09:17:13 +00:00
augustss
72684ce3ec
Add a method, scsipi_getgeom, to the adapter struct. If this method is
...
present it will be used to get the drive geometry if the MODE SENSE fails.
2000-05-31 09:15:48 +00:00