augustss
4b06fc39aa
Regen.
2001-11-29 13:58:41 +00:00
augustss
7a7025366e
Add some ISD devices.
2001-11-29 13:58:22 +00:00
augustss
c01e71bac5
Plug a memory leak in an error case.
2001-11-29 11:07:12 +00:00
thorpej
636e9cd08b
Add a "cacheline_size" argument to pci_configure_bus(). It is used
...
to set the cacheline size in the BHLC register. This should be the
size of the largest D-cache line on a system.
2001-11-28 23:48:34 +00:00
christos
c563f940be
ELINK_W4_UBYTESOK is 0x0d. This is probably why kim is getting x2 numbers
...
in stats.
2001-11-28 23:46:42 +00:00
jdolecek
8528a3409b
Match also product id 0x627c, it was omitted by mistake.
...
Problem pointed out by Carl Drougge on tech-kern, thanks!
2001-11-28 20:56:47 +00:00
lukem
ecb81c3f6d
- convert usage of "defopt" to "defflag" where the relevant option does
...
not support a value (e.g., it's to be used as "options FOO" instead of
"options FOO=xxx"). options that take a value were converted to
defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
lukem
71376e0797
use #ifdef MEMORY_DISK_DYNAMIC (for consistency with the rest of the kernel)
2001-11-28 05:55:34 +00:00
lukem
9f42ccc795
use #ifdef DDB (for consistency with the rest of the kernel)
2001-11-28 05:45:27 +00:00
lukem
371fd3fc10
use #ifdef RAID_AUTOCONFIG (for consistency with the rest of the kernel)
2001-11-28 05:39:13 +00:00
fredette
4fd267f75d
Added the new defopt SCSI_OLD_NOINQUIRY; this is used instead
...
of sun2 to wrap code that conjures up INQUIRY responses for
certain specific old devices.
2001-11-28 01:04:49 +00:00
yamt
dc2a9f16a0
don't allocate a mbuf cluster if we don't need.
2001-11-27 21:40:55 +00:00
fredette
73001afb44
When opening the mouse port, be sure to open it for 8 data bits.
...
The sun2 PROM can leave the port configured for 7.
2001-11-27 16:19:43 +00:00
onoe
afdb23ddea
Set ONES (must be ones) bits in tmd1 of tx descriptors.
...
This fix avoids VMware 3.0/WinXP to crash.
2001-11-27 13:49:03 +00:00
yamt
b2dc60987f
add isapnp frontend for cs driver.
2001-11-27 12:23:31 +00:00
yamt
e9dd0249c8
regen for IBM EtherJet ISA.
2001-11-27 12:21:49 +00:00
yamt
dcb7807cbe
add IBM EtherJet ISA.
2001-11-27 12:20:39 +00:00
enami
60adc294b9
Regen.
2001-11-27 03:25:53 +00:00
enami
f349dc8748
cvs -q update -j1.147 -j1.148 pcmciadevs
2001-11-27 03:25:16 +00:00
fredette
f0002ba642
Added macros for the bits in the SYSBUS byte, and macros
...
for the i82596 PORT access interface, from the documentation
for that chip. These help clarify writes to the SYSBUS
part of the SCP, and PORT usage by i82596-aware drivers.
2001-11-26 23:30:59 +00:00
fredette
83c021b2a7
Added quirk entries for Adaptec and Emulex SCSI interposer boards.
...
Decode a limited set of SASI/SCSI-1 sense codes, and under sun2
only, conjure up INQUIRY responses for these boards.
2001-11-26 20:39:29 +00:00
augustss
380fd47edb
Change wchan name for usb task thread.
2001-11-26 20:16:55 +00:00
fredette
ec3eeda2fe
Use bus_space on sun2.
...
Update the comment to match list of bus_space-using ports.
Removed some old unused asm() labels.
2001-11-26 20:15:48 +00:00
yamt
adbdd3e6f6
add $NetBSD$ and copyright notice and rcsid.
2001-11-26 19:55:38 +00:00
yamt
f6b0ec4cce
- regen for IBM SCSI PCMCIA.
2001-11-26 19:49:34 +00:00
yamt
64b2149540
add IBM SCSI PCMCIA.
2001-11-26 19:48:55 +00:00
yamt
dbaca00330
move dev/isa/cs89x0{.c,{var,reg}.h} into dev/ic
...
and split isadma parts into /dev/isa/cs89x0isa*.
2001-11-26 19:17:05 +00:00
yamt
9324423e84
remove "stg", that I accidentally commited.
...
thanks, Tsutsui-san.
2001-11-26 14:21:33 +00:00
yamt
b43f7a4791
add pcmcia frontend for cs driver.
2001-11-26 11:17:34 +00:00
yamt
7af704bf48
- add power management code.
...
- use ether_ioctl instead of its own code.
(make ifconfig down works properly.)
2001-11-26 11:14:50 +00:00
tron
e75321130b
Back out new "hme" driver because it causes a performance regression on
...
"netio" on an U5.
2001-11-26 10:39:29 +00:00
tron
7287466499
Bug fixes for VLAN handling supplied by Klaus Klein in private e-mail.
2001-11-26 06:51:12 +00:00
ichiro
a103dcf333
support BUFFALO CFtype WLAN card
...
wi0 at pcmcia1 function 0: BUFFALO, WLI-CF-S11G,
wi0: 802.11 address 00:07:40:0f:03:ea
wi0: using RF:PRISM2.5 MAC:ISL3873, Firmware: 1.3 variant 4
2001-11-26 04:34:56 +00:00
ichiro
1c1ddcc034
regen
2001-11-26 04:19:12 +00:00
ichiro
3dcc51c184
add device: BUFFALO AirStation CFtype WLAN Card
2001-11-26 04:18:26 +00:00
itojun
969cf96980
make it compile without INET
2001-11-26 02:41:20 +00:00
jonathan
879d358535
* Add entry for Dolphin Peripherals 4036 dual-serial card.
...
(Note: PCI ID conflicts with Dolphin Peripherals 4025; a 4025 may
attach two serial units, but I cannot find one to test).
2001-11-26 00:41:24 +00:00
tron
99756bfe86
Pull in Jason Wright's latest changes to the "hme" driver from OpenBSD.
...
This supports direct DMA from and into mbuf cluster, and VLAN
handling is done a bit differently.
2001-11-25 22:12:01 +00:00
augustss
a6ba091eef
Add a quirk for Olympus C-1. From FreeBSD (by iedowse)
2001-11-25 19:15:46 +00:00
augustss
596224e54f
Pay attention to the timeout value passed down by the scsipi layer.
2001-11-25 19:05:22 +00:00
augustss
6fcfa35836
Regen.
2001-11-25 17:17:42 +00:00
augustss
f070b78088
Add Olympus C-1.
2001-11-25 17:17:22 +00:00
yamt
ce170de115
- add (partial?) i/o mode support.
...
- add partial cs8920 support.
- add detach code.
- add a quirk for EtherJet PCMCIA with cardbus bridge.
(above "partial" means "engough to support EtherJet PCMCIA")
2001-11-24 20:18:55 +00:00
jdolecek
67238c609c
The header part of driver overhault:
...
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* other misc cleanups
2001-11-24 12:46:15 +00:00
jdolecek
211d58f020
don't need opt_mcaverbose.h here
...
print 'memory configured' instead of just 'configured' for memory expansion
cards
2001-11-24 12:33:14 +00:00
jdolecek
bb23eba3d8
MCA DMA hooked via bus_dma, so remove one
...
add entry regarding AHA-1640 (the driver needs testing)
2001-11-23 22:57:34 +00:00
jdolecek
07312f0fbb
Convert over to use the new MCA DMA facilities, which encapsulate
...
the MCA DMA controller access. This also means we gain >16MB RAM support.
While here, overhaul the driver to saner state, especially:
* simplify and clean the attach code a lot, and support the 'drive'
locator
* pass proper dev_t to readdisklabel() - formerly, the passed value was
completely broken (used incorrect major and wrong minor), but worked
by accident
* worker thread is now spawned per controller, rather than per-drive;
i/o cannot be done concurrently by different drivers, only one
i/o can be pending at any time
* simplify the command queue code, just sleep appropriately when
!poll case, g/c 'async' code formerly needed, move the bio code
from ed_mca.c to edc_mca.c:edc_bio()
* put all string arrays used by edc_dump_status_block() within #ifdef EDC_DEBUG,
and use numbers instead if it's not defined; this cuts object size by 5KB
* other misc cleanups
2001-11-23 22:53:09 +00:00
jdolecek
90fac765da
add 'drive' locator to mca edc
2001-11-23 22:35:46 +00:00
enami
71651851a4
Match against EPSON GT-9700F.
2001-11-23 10:31:54 +00:00
enami
674f6e4d18
Regen.
2001-11-23 10:30:49 +00:00
enami
9930efdacf
Add product id of EPSON GT-9700F.
2001-11-23 10:29:30 +00:00
enami
fe972558c0
Use __func__ instead of __FUNCTION__.
2001-11-23 10:20:47 +00:00
augustss
cdc819cd8a
Improve xfer abort sequence.
...
Fix another bug in qTD chain allocation.
2001-11-23 01:16:27 +00:00
augustss
6d8419a6cc
Handle Zip quirks differently.
...
Ugh! This driver need major overhaul.
2001-11-23 01:15:28 +00:00
augustss
6f95b070ca
Update mass storage protocol numbers.
2001-11-23 01:14:45 +00:00
simonb
1b1e4bd3d1
Remove hardcoded values for HZ (under different names!) from mcclock.c
...
and clock_machdep.h, so that now HZ can be any supported frequency of
the mc146818a/ds1287a RTCs.
Tested at 256Hz and 2048Hz.
2001-11-23 01:04:11 +00:00
augustss
37c8189778
Correct a comment.
2001-11-22 21:59:33 +00:00
jdolecek
d5c1ba9ed2
add a comment clarifying the DMA support, g/c the commented
...
out isa_dmacascade() call
some minor intendation changes, while here
2001-11-22 20:25:58 +00:00
yamt
5bf4d5554b
use little-endian crc on multicast hash for admtek chips.
2001-11-22 05:03:04 +00:00
augustss
7467533f5a
Improve dump routine slightly.
2001-11-22 04:31:01 +00:00
augustss
6e3a855c27
Fix a bug in qTD chain allocation.
...
Fix a qTD leak.
Handle out of memory conditions better.
My USB 2.0 CD-RW now mounts nicely and I can access files.
Performance is still lacking (it's at about 2Mbyte/s).
2001-11-22 04:20:49 +00:00
augustss
b5e0d97bf7
Add some DIAGNOSTIC tests.
2001-11-22 00:57:14 +00:00
augustss
37f2beed3e
Close multiplxees BEFORE removing the event variable they are
...
using (an interrupt at the wrong point caused disaster).
2001-11-22 00:54:23 +00:00
wiz
1fd7eeefcd
"than" instead of "then".
2001-11-21 19:14:19 +00:00
wiz
1f1e26bd6d
Presence looks better with a 'c' instead of an 's'.
2001-11-21 19:01:31 +00:00
wiz
55e6492076
Explicitly write explicitly without a second e.
2001-11-21 17:33:26 +00:00
augustss
bc136d1c2e
Make it compile without debug.
2001-11-21 16:22:58 +00:00
augustss
9dae283057
Add another "feature".
2001-11-21 16:12:56 +00:00
augustss
b2dc7b3fd3
Follow a safer protocol when updating the QH.
...
The EHCI driver isn't really working properly, but now the SCSI driver
correctly identifies my CD-RW drive! :-)
2001-11-21 16:05:13 +00:00
augustss
2c4813fa9d
Use NULL not 0.
2001-11-21 15:48:37 +00:00
augustss
df1a49923c
Fix indentation and typos.
2001-11-21 15:37:41 +00:00
augustss
5539d5afe6
Implement (incorrect?) data toggle clear method.
...
Implement allocation of qTD chains.
2001-11-21 14:00:12 +00:00
augustss
6bba920516
Wrap dump routine prototypes in #ifdef USB_DEBUG
2001-11-21 13:44:47 +00:00
augustss
ca0b46691f
Mask correct interrupt after error interrupt.
2001-11-21 13:43:38 +00:00
augustss
02f41ec3e6
Mask the correct interrupt after a door bell interrupt.
2001-11-21 13:42:19 +00:00
augustss
0adc2bbba2
Implement bulk transfers.
2001-11-21 13:04:50 +00:00
augustss
2d72c2726c
Add some interrupt processing.
2001-11-21 12:28:23 +00:00
augustss
4d4da7e06a
Fix typo in comment.
2001-11-21 12:25:55 +00:00
enami
eca8404326
Don't use __func__ as variable. It prevents compilation.
...
Use __FUNCTION__ instead.
2001-11-21 09:08:38 +00:00
augustss
1029005107
Pay more attention to if the HC is being unplugged.
2001-11-21 08:18:39 +00:00
itojun
bf755aea42
make it compilable without OHCI_DEBUG
2001-11-21 05:52:50 +00:00
augustss
c907a8fbbd
Add missing }
2001-11-21 02:47:07 +00:00
augustss
4f7b354305
Set up control xfers.
...
Handle xfer timeouts.
Better debug messages.
2001-11-21 02:44:30 +00:00
augustss
28a6a57942
Use a task to perform the timeout abort so we have a process context when
...
sleeping.
2001-11-21 02:41:18 +00:00
augustss
5506bb0f06
Some more debug stuff.
2001-11-21 02:39:31 +00:00
augustss
2478d1b320
Cast some args to bitmask_snprintf().
2001-11-21 02:38:35 +00:00
augustss
b171d0908b
Create a special kernel thread to run the usb short lived tasks (instead
...
of using the device discovery threads).
2001-11-20 23:53:26 +00:00
augustss
9716a5f26d
Don't bother with interrupts when being disconnected.
2001-11-20 21:12:46 +00:00
augustss
a8de831b24
Support port indicator light.
2001-11-20 16:25:35 +00:00
augustss
2f560c9410
Sanity check max packet lengths.
2001-11-20 16:09:01 +00:00
augustss
7679101a11
Add a comment.
2001-11-20 16:08:37 +00:00
augustss
e5353fd3b5
Use longer reset for root hubs (as told in the spec).
2001-11-20 16:08:10 +00:00
lukem
0fa231134c
- replace "defopt" with "defparam" for options which must take a value,
...
as config(8) will warn for value-less defparam options
- minor whitespace/formatting cleanup
- consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
2001-11-20 14:34:18 +00:00
augustss
8366f16a80
Don't wait for door bell interrupt when controller has been disconnected.
2001-11-20 14:28:44 +00:00
augustss
86e6ea35eb
Update for new speed handling.
2001-11-20 13:50:07 +00:00
augustss
a598bed92e
Simplify async list handling.
2001-11-20 13:49:23 +00:00
augustss
b38958f960
Use device speed in setup.
...
Simplify async list handling.
2001-11-20 13:49:07 +00:00
augustss
7e4459fe10
Keep track of device speed for USB 2.0.
2001-11-20 13:48:03 +00:00
augustss
482dbdf4e3
More USB 2.0 definitions.
2001-11-20 13:46:09 +00:00
lukem
99bccc3cab
- pull in opt_kgdb.h where necessary
...
- replace opt_kgdb_machdep.h with opt_kgdb.h
- defparam opt_kgdb.h:
KGDB_DEV KGDB_DEVNAME KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
- move from opt_ddbparam.h to opt_ddb.h:
DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE DDB_BREAK_CHAR SYMTAB_SPACE
- replace KGDBDEV with KGDB_DEV
- replace KGDBADDR with KGDB_DEVADDR
- replace KGDBMODE with KGDB_DEVMODE
- replace KGDBRATE with KGDB_DEVRATE
- use `9600' instead of `0x2580' for 9600 baud rate
- use correct quotes for options KGDB_DEVNAME="\"com\""
- use correct quotes for options KGDB_DEV="17*256+0"
- remove unnecessary dependancy on Makefile for kgdb_stub.o
- minor whitespace cleanup
2001-11-20 08:43:19 +00:00
oster
d11d1bd6fe
Cleanup some whitespace that indent got wrong a long time ago.
2001-11-20 02:37:29 +00:00
tsutsui
859356d03b
Add a new quirk value PQUIRK_CAP_SYNC for SCSI1 devices which support
...
sync transfers, and set PERIPH_CAP_SYNC for them in scsi_probe_device().
As per discussion on tech-kern.
2001-11-19 22:50:00 +00:00
soren
eefc317219
Remove duplicate struct scsipi_start_stop.
2001-11-19 17:18:08 +00:00
soren
27e3d258cd
Floptical drive needs PQUIRK_NODOORLOCK as well.
2001-11-19 16:54:20 +00:00
imp
98576a36a5
regenerate for 1.147
2001-11-19 05:25:22 +00:00
imp
cd84d65811
Merge from FreeBSD:
...
o Add devices from OpenBSD
o Minor sorting problems in my sorting attempt.
o A few additional -1 vendors for better card pattern generation.
o Add Zoom Air_4000 (needs to be added to awi)
o Add Netgear FA411 info (needs to be added to ne, plus quirks/fixes
to base pccard stuff before it will work).
o Merges through FreeBSD 1.22
2001-11-19 05:24:26 +00:00
augustss
2db9b8d2c8
Start of pipe open routine.
2001-11-19 02:57:16 +00:00
augustss
dfbba4149c
Injecting events into a mux that is not open is not an error.
2001-11-19 00:37:22 +00:00
soren
ae27210d46
Insite Floptical drive needs PQUIRK_NOLUNS.
2001-11-19 00:22:47 +00:00
christos
56cffa29dc
Add Titan 200H (from Wojciech Puchar)
2001-11-18 20:20:25 +00:00
tsutsui
c8f45396b3
Fix formatting of scsi_quirk_patterns[] and wrap long lines.
2001-11-18 17:22:43 +00:00
augustss
99c9ca8ab5
ANSIfy driver.
2001-11-18 17:15:48 +00:00
augustss
bf5b461387
Don't use a static variable in the power hook. It doesn't work with more
...
than one device.
2001-11-18 16:59:08 +00:00
tsutsui
aca8e01877
- Use MI ADAPTER_REQ_SET_XFER_MODE callback
...
- Move values in sc_sync[] member to sc_tinfo[]
- Change some u_int8_t values to int
- Remove unused wide negotiation states
- Misc cleanup
2001-11-18 14:50:11 +00:00
tsutsui
689089f7a9
- Use MI ADAPTER_REQ_SET_XFER_MODE callback.
...
- Nuke some magic numbers.
2001-11-18 14:33:10 +00:00
tsutsui
acd87a7687
Misc cleanups:
...
- correct trm_clock_period[] value
- pass BUS_DMA_{READ,WRITE,STREAMING} to bus_dmamap_load() as appropriate
- make sure to call bus_dmamap_unload() even after request sense
- saved srb params on request sense do not seem to be used,
so remove them from struct trm_srb
- handle target status more properly in trm_srb_done() and no need
to handle error retry in lower driver layer
- fix some comments
XXX Maybe need more cleanup around TQING for MI SCSI callback..
2001-11-18 13:02:30 +00:00
mrg
dbcf46ce8a
match the linksys prism2 card.
2001-11-18 04:27:49 +00:00
mrg
9d4995d7d6
regen
2001-11-18 04:26:16 +00:00
mrg
fa216ca465
add entries to allow one to match:
...
The Linksys Group, Inc., Instant Wireless Network PC Card, ISL37300PRevA
2001-11-18 04:25:43 +00:00
someya
275c5352b7
add Trident 4DWAVE based (4DWAVE DX/NX,SiS 7018,ALi M5451) PCI audio driver
2001-11-18 03:16:02 +00:00
augustss
0f70418027
Add more fields to hardware structs.
...
Add memory allocation for various data structures.
2001-11-18 00:39:46 +00:00
tsutsui
11a1ddc5dd
- make sure to call bus_dmamap_unload() even after request sense
...
- fix usage of scb flags
- misc cleanup
2001-11-17 21:26:12 +00:00
perry
4c7e639df1
fix a trivial lint warning
2001-11-17 05:31:27 +00:00
augustss
1f6462461a
Make it possible to report device speeds with ioctl(USB_DEVICEINFO).
2001-11-17 01:49:53 +00:00
augustss
25ffd2ae73
Regen.
2001-11-17 01:44:03 +00:00
augustss
c434bdf8c7
Yet another device.
2001-11-17 01:43:40 +00:00
thorpej
1466b9ca1d
Back out the last two changes I made to this driver -- some people
...
have reported lossage.
2001-11-17 00:56:04 +00:00
augustss
b2b2b2b448
Implement port reset sequence correctly.
2001-11-16 23:52:10 +00:00
christos
bdb84bd0cd
Regen
2001-11-16 18:34:08 +00:00
christos
d10a585999
add another USR modem.
2001-11-16 18:33:35 +00:00
augustss
b10f58ec3e
Add ehci.
2001-11-16 17:10:30 +00:00
augustss
f73c358f8c
Add some more data structure defs.
2001-11-16 15:33:13 +00:00
augustss
3b323cfaae
Better error message.
2001-11-16 02:21:54 +00:00
augustss
3db4a768d4
Handle devices that disappear during reset gracefully.
2001-11-16 01:57:47 +00:00
augustss
07ea2e28cb
Recognize port status changes.
...
Hand over low and full speed devices to companion controller.
2001-11-16 01:57:08 +00:00
augustss
122d2863d8
Add root hub emulation.
2001-11-15 23:25:09 +00:00
bouyer
1952efa437
Support Ultra/100 on CMD 0649.
2001-11-15 20:48:17 +00:00
augustss
b684cbc2a7
usbd_interface2device_handle() cannot fail.
2001-11-15 15:15:58 +00:00
lukem
2565646230
don't need <sys/types.h> when including <sys/param.h>
2001-11-15 09:47:59 +00:00
bouyer
0b74b95459
If the controller doesn't support UDMA, don't allow enabling UDMA via
...
config flags.
2001-11-14 20:18:11 +00:00
augustss
effc318eca
Regen.
2001-11-14 17:50:44 +00:00
augustss
77a68c4bf2
Add another printer dongle.
2001-11-14 17:50:21 +00:00
augustss
6a161b0a72
Add a DISGNOSTIC message.
2001-11-13 17:45:07 +00:00
lukem
071697f107
fix RCSID
2001-11-13 13:32:34 +00:00
lukem
a4bae8b066
add/cleanup RCSID
2001-11-13 13:14:31 +00:00
lukem
13ac430285
add RCSID
2001-11-13 13:01:57 +00:00
lukem
0e9163223a
cleanup RCSID
2001-11-13 13:01:22 +00:00
lukem
f61cbe7489
add RCSID
2001-11-13 12:51:12 +00:00
lukem
dca6ccc83f
add/cleanup RCSID
2001-11-13 12:49:45 +00:00
lukem
b84f53efc5
add RCSID
2001-11-13 12:47:33 +00:00
lukem
05b019ba0f
add RCSID
2001-11-13 12:24:11 +00:00
augustss
cec12bf775
Remove trailing `b' in some numbers for lengths. It just makes them look
...
like hex.
2001-11-13 08:01:40 +00:00
lukem
3f7d8d47b6
add RCSID
2001-11-13 08:01:09 +00:00
augustss
d6e38a1474
More test for NULL pipes.
2001-11-13 07:59:32 +00:00
augustss
9dcae667ee
Small changes to behaviour when disconnecting.
2001-11-13 07:57:22 +00:00
lukem
9d2580ff16
add RCSID
2001-11-13 07:56:39 +00:00
augustss
b93fa89e60
Fix pasto in a debug printf.
2001-11-13 07:56:04 +00:00
augustss
8b1e2b3b6d
Add some #endif comments.
2001-11-13 07:55:30 +00:00
lukem
4be2902b43
regen for RCSID
2001-11-13 07:54:18 +00:00
lukem
6f230ccce0
add RCSID to generated .c file
2001-11-13 07:52:41 +00:00
lukem
9048aaae21
add RCSID
2001-11-13 07:48:40 +00:00
lukem
8b7bb91219
add RCSID
2001-11-13 07:38:28 +00:00
lukem
57119f25e5
cleanup RCSID
2001-11-13 07:35:02 +00:00
lukem
045ae768cb
add RCSID
2001-11-13 07:30:37 +00:00
lukem
ab5d9d2b0c
add RCSIDs
2001-11-13 07:24:43 +00:00
lukem
9ab2c47148
cleanup RCSID (to be consistent with use in rest of kernel)
2001-11-13 07:23:15 +00:00
lukem
a3746e00b7
add RCSIDs
2001-11-13 07:11:12 +00:00
lukem
cb1dc621e6
add/cleanup RCSIDs
2001-11-13 07:00:23 +00:00
lukem
7ba10b3532
add RCSIDs
2001-11-13 06:54:32 +00:00
lukem
640249d1e9
add RCSIDs
2001-11-13 06:28:55 +00:00
lukem
6a3181d38f
add/cleanup RCSIDs
2001-11-13 06:26:09 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
lukem
139747fb15
add/cleanup RCSIDs
2001-11-13 06:17:46 +00:00
lukem
b589588216
add RCSIDs
2001-11-13 06:08:32 +00:00
lukem
98bd235d29
remove superfluous NSEQUENCER > 0 test
2001-11-13 06:07:13 +00:00
lukem
2bbe2de647
add RCSIDs
2001-11-13 05:32:49 +00:00
enami
e5a47b8cfa
Include stdio.h when compiled in userland to pull in declaration of printf etc.
2001-11-13 03:12:44 +00:00
uwe
9380edd8ad
In fb_bell call kbd_docmd only #if NKBD > 0.
...
This allows kernels without kbd at zs to be linked.
(JavaStation-1 does not have zs, it uses pckbc instead)
2001-11-12 08:14:30 +00:00
atatat
e6de03653d
Don't set 'atapi_probe_device' if no atapi busses are being configured.
2001-11-11 23:21:18 +00:00
mhitch
c873b07b2d
After modifying transmit descriptors, write-back cache needs to be flushed.
...
Fixes DEFTA on R4x00 DECstations.
2001-11-11 18:47:03 +00:00
martin
cd67a5ce17
Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>.
2001-11-11 11:48:56 +00:00
tsutsui
78b0b559e3
- Fix some bogus comments.
...
- Add a missed splx(s) in error case.
2001-11-11 05:28:55 +00:00
christos
09b14fa42a
Oops, missed one.
2001-11-11 00:34:52 +00:00
perry
82540eeaca
fix a couple of signed->unsigned warnings lint found
2001-11-11 00:25:23 +00:00
christos
ddf09edfc0
merge duplicate register definitions.
2001-11-11 00:24:16 +00:00
christos
257a5919a3
Get rid of duplicate RID definitions.
2001-11-11 00:16:07 +00:00
perry
7a702dcf66
trivially rename some macro parameters to avoid lint warnings.
2001-11-10 22:48:09 +00:00
augustss
48ea68d3d9
Make wsdisplay_set_console_kbd() a little less twisted.
2001-11-10 17:14:51 +00:00
augustss
9a444aef81
Get rid of unused abort_handle.
2001-11-10 17:11:38 +00:00
augustss
21f0709fbe
Abort any xfers on the control pipe before closing it on detach.
2001-11-10 17:10:42 +00:00
augustss
ff875692db
Improve dump routines.
2001-11-10 17:09:28 +00:00
augustss
3d3d59f852
Fill the companion controller array.
2001-11-10 17:07:21 +00:00
augustss
1b0216af5c
Add some register defines.
...
Print companion controllers.
2001-11-10 17:06:11 +00:00
augustss
3d963db4f2
Add some dump routines for debugging.
2001-11-10 16:54:56 +00:00
augustss
02186d8353
Small portability improvement.
2001-11-10 16:53:32 +00:00
thorpej
b1ec255377
Add a "firstbus" argument to pci_configure_bus(), indicating the
...
first bus number to use, rather than always assuming that we should
start at bus #0 .
2001-11-09 19:29:12 +00:00
thorpej
716af300ee
In query_bus(), use the parent pciconf_bus_t's PCI chipset tag,
...
not the new bus's (which is potentially uninitialized when some
calls are made).
2001-11-09 19:20:19 +00:00
augustss
495b9bd7d5
Fix a bug in xfer abort processing when the HC executes ahead of what
...
the driver aborts.
Don't block RHSC interrupts.
2001-11-09 15:01:57 +00:00
augustss
3dd8433864
Add a debug message.
2001-11-09 14:59:11 +00:00
augustss
1315ed7da5
Regen.
2001-11-09 05:49:53 +00:00
augustss
1018a07d67
Add a device (from OpenBSD).
2001-11-09 05:49:09 +00:00
christos
64a6ea2e08
Regen.
2001-11-08 17:05:58 +00:00
christos
c7a7458e1e
PR/14503: Cesar Crusius: Add Xircom XE2000.
2001-11-08 17:05:42 +00:00
haya
fd0fac251e
Regen w/ devlist2h.awk ver 1.4.
2001-11-08 09:08:41 +00:00
haya
ba93570e3c
Bugfix; to create compilable pcmciadevs_data.h. kern/11659
2001-11-08 09:02:17 +00:00
thorpej
4cd18f3872
Fix the Bridge Control Register bit definitions, add ones that
...
appeared in PCI 2.2.
2001-11-08 03:18:12 +00:00
thorpej
ea1dce5b44
Regen; correct i80312 description.
2001-11-07 21:13:26 +00:00
thorpej
4fd2586143
Correct i80312 description.
2001-11-07 21:12:49 +00:00
bjh21
479d71be35
Add support for feeding entropy to rnd(4).
2001-11-07 20:01:58 +00:00
thorpej
a3c15f8aaf
Regen; add Cyclone PCI-700 (IQ80310).
2001-11-07 18:55:29 +00:00
thorpej
bbc76f7954
Add product ID for the Cyclone PCI-700 (IQ80310).
2001-11-07 18:53:51 +00:00
augustss
a7fd78b8b5
Fix a bug in the DIAGNOSTIC version of the detach.
2001-11-07 14:13:35 +00:00
augustss
4cfba4290a
Ad a debug message. (With { } this time.)
2001-11-07 13:36:43 +00:00
enami
58a47f4ae2
Have necessary braces.
2001-11-07 12:57:33 +00:00
augustss
2158da33e3
Improve diagniostic message.
2001-11-07 03:26:06 +00:00
augustss
14e5f669c2
Improve some debug messages.
2001-11-07 02:55:04 +00:00
augustss
6e85b5b6c5
Add a workaround for broken ports (e.g. macppc) that do not call
...
cnpollc before cngetc in DDB. DDB now works with USB console on Macs.
Don't frob the LEDs if nothing changes.
2001-11-07 02:52:47 +00:00
augustss
a1ba73d6c3
Add a quirk for a USB CD/RW.
2001-11-06 13:31:20 +00:00
augustss
80c2d1c262
Regen.
2001-11-06 12:59:45 +00:00
augustss
0c8d23832b
Add DMI CD/RW drive (my first USB 2.0 device!).
2001-11-06 12:59:17 +00:00
augustss
4469f30685
Add some USB 2 related definitions.
2001-11-06 12:29:48 +00:00
augustss
cd86b27aad
ehci can attach to cardbus too.
2001-11-06 03:18:53 +00:00
augustss
58de8e2de6
Add ca_bus field.
2001-11-06 03:18:18 +00:00
augustss
7ae1e6394f
Add some data structures to keep enable finding companion controllers
...
for EHCI.
2001-11-06 03:17:36 +00:00
augustss
c342a3beab
Add some useful macros.
2001-11-06 03:16:17 +00:00
augustss
d8cebea1fc
Make some messages only appear with bootverbose.
...
Add bus number to attach args.
2001-11-06 03:11:10 +00:00
fvdl
7812d678d8
Initialize the cn_magic goo for kgdb (bah, that should really not
...
be necessary).
2001-11-05 21:39:24 +00:00
enami
480bb2c9a8
Fix typo in comment.
2001-11-05 08:22:24 +00:00
tsutsui
3b0f229027
Fix a couple of bugs:
...
- make sure to allocate memory for sc_tempsrb properly.
- correct links of SRB queue in trm_link_srb().
Now trm driver works on arc.
2001-11-04 17:17:22 +00:00
tsutsui
064be15283
Use common macro to check message length.
2001-11-04 12:03:41 +00:00
tsutsui
5e6dd3ae03
Add common macro to check message length.
2001-11-04 12:03:03 +00:00
itohy
c0f59fbbeb
AD1845 on my AlphaStation 255 doesn't match the AD1845 doc.
...
Try to detect AD1845 (unfortunately this is not always correct)
and work around the problems.
2001-11-04 08:08:25 +00:00
itohy
bd78bc67aa
Re-implement the mixer
...
o Implement SPDIF selection/monitoring function.
Now, say, playback to both analog output and SPDIF is possible.
o Implement support of AUX input, MIC preamp and MIC recording gain.
o L-R selection of record source doesn't seem to work on cmpci.
Therefore, the *.swap mixer functions are and deleted.
o Following SB mixer registers don't exist on cmpci, and they are removed.
input gain, output gain, AGC, equalization (bass, treble)
o Other mixer changes, including
inputs.XXX.mute -> (deleted)
outputs.XXX.mute -> inputs.XXX.mute
inputs.pc_speaker -> inputs.speaker
spdif.* -> reorganized to spdif.input.*, spdif.output.*
o Current status:
I have tested these and confirmed to work fine.
- Output and recording from Line-in, AUX, CD and MIC analog inputs,
- Output and recording from FM synthesizer,
- Output from PC speaker input,
- Output wave playback.
- SPDIF (44.1kHz) input selection (#1 , #2 (6ch version only),
wave to spdin), phase selection, monitoring and recording,
- SPDIF (44.1kHz) playback, through (SPDIF in to SPDIF out)
and monitoring.
I haven't tested these but may work.
- SPDIF 48kHz input and output,
- Full-duplex operation,
- Recording wave output.
I don't think these are working.
- Legacy (wave + FM synthesizer) to SPDIF output (and the monitoring),
- Exchanging front and rear outputs,
- Surround.
These are not implemented.
- 4ch / 6ch support,
- Joystick port support.
2001-11-04 06:57:40 +00:00
itohy
ab43d67621
Introduce "flags 1", which causes left and right channels swapped.
2001-11-04 06:44:31 +00:00
wiz
a1264327ae
Sort alphabetically.
2001-11-03 22:39:25 +00:00
wiz
f56dfeb08b
add trm (MI)
2001-11-03 22:35:33 +00:00
tsutsui
d3701fc18a
Add a driver for the Tekram DC-395U/UW/F and DC-315/U SCSI host adapters,
...
which have the Tekram TRM-S1040 ASIC.
This driver is written by Rui-Xiang Guo <rxg@ms25.url.com.tw>,
and a number of cosmetic changes by me.
Tested on i386 by the author, and on macppc and sparc64 by me.
XXX On arc, kernel got panic in ltsleep() called from scsipi_execute_xs(),
XXX but I'm not sure what is wrong...
2001-11-03 17:01:16 +00:00
tsutsui
f82eb7bfa1
Replace a magic number with macro.
2001-11-03 15:52:03 +00:00
augustss
d1ff85c9aa
Improve debug messages a little.
2001-11-02 13:02:20 +00:00
itojun
9d7baa72da
recognize fxp on IBM thinkpad T23. from akimichi@wide.ad.jp
2001-11-02 03:40:47 +00:00
haya
2c903bf2c0
Add PCI power management control. If the power state of a bridge is
...
not D0 at device attaching or resuming, set the bridge D0 mode.
2001-11-02 03:32:33 +00:00
uch
6195437083
missing NBPFILTER > 0
2001-11-01 17:32:33 +00:00
augustss
41756e36f8
Regen.
2001-11-01 17:25:37 +00:00
augustss
16c1f136e5
Reorder two entries in numerical order.
2001-11-01 17:25:05 +00:00
augustss
492a03edae
Regen.
2001-11-01 11:06:45 +00:00
augustss
44345ed1ac
New device (from OpenBSD).
2001-11-01 11:06:18 +00:00
imp
fdf7743003
Add Intel PRO WLAN 2011.
2001-11-01 03:00:51 +00:00
augustss
246b858752
Inject events in the right place in the buffer.
2001-10-29 01:02:11 +00:00
augustss
46679564db
Add a DIAGNOSTIC test.
2001-10-28 17:16:58 +00:00
augustss
3deca4b069
Use the usb callout macros.
2001-10-28 16:53:21 +00:00
augustss
87746219bd
Put in some tests to see if the input source is NULL before using it.
...
Suggested by Havard Eidnes <he@netbsd.org>.
2001-10-28 10:30:22 +00:00
augustss
546b6e4434
Cosmetics.
2001-10-27 13:52:57 +00:00
ichiro
8f9f77356d
add entry ELSA XI-800 CF wavelan card
2001-10-27 08:16:17 +00:00
ichiro
3fc98e32f6
regen
2001-10-27 08:15:22 +00:00
ichiro
bfc10c9a50
add ELSA CF wavelan card
...
XI-800
2001-10-27 08:05:21 +00:00
augustss
14fc12f3b4
Cosmetics.
2001-10-27 00:39:29 +00:00
augustss
b609967aa7
Don't enable/disable kbds that belong to a display; they are always enabled.
2001-10-27 00:35:48 +00:00
augustss
48673c604a
Having a display does not preclude the mux from being open.
2001-10-27 00:34:57 +00:00
augustss
49c2ea7a87
Compare against coreect value to determine if we belong to a mux.
2001-10-26 20:48:47 +00:00
augustss
eadca0dfa3
Remove TODO list.
2001-10-26 20:45:05 +00:00
augustss
a5d3f7530d
Small rearrangement and more error checking.
2001-10-26 20:36:27 +00:00
augustss
6d55fe438e
Change a debug message.
2001-10-26 20:35:55 +00:00
augustss
17ba384efc
s/usbd_alloc_report_desc/usbd_read_report_desc/
2001-10-26 17:58:21 +00:00
augustss
dc901ef1f3
Compare pointer with NULL instead of using them as a condition.
2001-10-26 17:53:59 +00:00
augustss
53adfd4111
Add Via KT266 as an ATA100 controller.
2001-10-26 10:38:12 +00:00
mycroft
a79508e9d8
Regen.
2001-10-26 03:47:47 +00:00
mycroft
ff3d1952b4
Disambiguate Orbit symbols.
2001-10-26 03:47:31 +00:00
mycroft
4f05bf08da
Regen.
2001-10-26 03:29:02 +00:00
mycroft
0b572b9434
Add a different ID for the Kensington Orbit.
2001-10-26 03:28:03 +00:00
augustss
dddb1ab51d
Add some conditional compilation so we can have atapibus, but not scsibus.
2001-10-25 23:56:02 +00:00
augustss
e0ec4407e6
Better debug messages.
2001-10-25 22:43:24 +00:00
bouyer
b495351fbf
Commit changes I posted to tech-kern on Oct 14, which makes the ethernet part
...
of my Xircom RealPort Ethernet 10/100 + Modem (REM56G) work.
The modem part is still not usable (this would need some PCMCIA magic that
I don't know how to do; see my message to tech-kern on Oct 07).
Change to pcmcia_cis.c from OpenBSD.
I checked that this doesn't break a 3com 3C562D (ethernet+modem) which I
also have.
2001-10-25 20:20:24 +00:00
augustss
59121d58f5
Change back to have a wseventvar in the softc for event sources. This
...
way the effect of FIOASYNC survives close()/open(). Later versions
of XFree86 relies on this bug/feature.
Also add some more debug stuff.
2001-10-25 14:46:41 +00:00
augustss
437bf56d24
Fix pasto. From Andreas Johansson <ajo@rockstorm.se>.
2001-10-25 13:45:16 +00:00
augustss
8076bdb790
Regen.
2001-10-25 13:43:56 +00:00
augustss
c6f7926716
Add Logitech Cordless Desktop Optical.
2001-10-25 13:43:30 +00:00
shin
a9df6b6421
make this compile without WSDISPLAY_COMPAT_RAWKBD.
2001-10-25 13:19:41 +00:00
augustss
d148d21082
Regen.
2001-10-25 11:57:44 +00:00
augustss
bee35a9613
Add some VIA KT266 numbers.
2001-10-25 11:57:15 +00:00
augustss
12cafbf382
Regen.
2001-10-25 11:17:46 +00:00
augustss
78bed7c076
Remove Inc, Ltd, AB, Gmbh, etc. to be consistent (and save a few bytes).
2001-10-25 11:17:18 +00:00
augustss
bcab1556e8
Regen.
2001-10-25 11:04:36 +00:00
augustss
782a2cd1cc
Add Olympos C-700. (From FreeBSD)
2001-10-25 11:04:18 +00:00
haya
3aee8d644f
Prevent hang-up when a CardBus card is removed during the card is working.
2001-10-25 10:02:12 +00:00
augustss
ea0061b951
Change reset sequence to get status change bits set right on startup.
2001-10-25 02:08:13 +00:00
augustss
61406d282b
Force BIOS out of the game by setting the LEGSUP register to its default
...
value.
2001-10-25 01:46:26 +00:00
augustss
8c7d06c6f9
Add commented out match level feature.
2001-10-24 22:31:04 +00:00
augustss
3c51e46294
Regen.
2001-10-24 21:49:07 +00:00
augustss
5bd2b33be2
Add a PS/2 adapter.
2001-10-24 21:48:38 +00:00
augustss
1f93717101
Some more paranoia tests when entering the interrupt routine.
2001-10-24 21:04:04 +00:00
augustss
80d988187f
If we are the console and we have DDB then events must not be delivered
...
from the interrupt routine since this will enter the USB interrupt
processing recursively during polling.
Now ukbd can be used as console keyboard for DDB!
2001-10-24 21:02:18 +00:00
augustss
adca9c589f
More debug.
2001-10-24 20:20:03 +00:00
augustss
9e06709975
Clear wskbd_console_device when console keyboard is detached.
2001-10-24 15:44:50 +00:00
augustss
5c2ee5ebed
Make sure interrupt pipe is closed when detaching console keyboard.
2001-10-24 15:31:06 +00:00
augustss
97d4315865
Better debug message.
2001-10-24 15:30:17 +00:00
augustss
2f1f0a1702
Major rototilling of the wsmux code. No user visible changes (except that
...
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events. This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.
2001-10-24 14:07:31 +00:00
augustss
1c11481abf
More null pointer checks in dump routine.
2001-10-24 00:42:05 +00:00
thorpej
9b17b651ee
Regen; Add product IDs for the Powerhouse Systems PowerPro and PowerTop
...
PowerPC system controllers.
2001-10-24 00:19:21 +00:00
thorpej
7bbddedbbd
Add product IDs for the Powerhouse Systems PowerPro and PowerTop
...
PowerPC system controllers.
2001-10-24 00:18:49 +00:00
thorpej
d9756b0f59
Regen; more Intel Gig-E fixup, and add Intel i82544 IDs.
2001-10-24 00:14:47 +00:00