thorpej
0272b2ab8e
Whole lotta cleanup wrt. how configuration data is stored internally, and
...
just lockmgr(), not our home-grown locking functions.
1999-01-12 00:21:47 +00:00
augustss
76b8bd8961
Add a (partial) list of what's left to do.
1999-01-11 22:46:51 +00:00
tron
edd69ba694
Because memory mapped access doesn't fail only with the docking station
...
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
thorpej
67e9d2a3bf
Fix a few glitches in the nwscons tga driver, PR #6655 , Brett Slager.
1999-01-11 22:11:36 +00:00
thorpej
ae8a556ce5
Add missing XS_SELTIMEOUT case in user command completion path, returning
...
SCCMD_TIMEOUT. Based on PR #6720 , Andreas Wrede.
1999-01-11 22:07:08 +00:00
drochner
1eba733d91
remove dummy "load_font" entries
1999-01-11 21:35:54 +00:00
drochner
33b1cd5328
Oops, "square root" is Unicode 221a, not 211a!
1999-01-11 20:48:10 +00:00
drochner
2379551296
add 2bpp support, for sake of NeXT monochrome displays, from
...
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
augustss
5c5590465e
Avoid `void *' arithmetic. Fixes PR 6783.
1999-01-10 21:57:19 +00:00
tron
3fbb44a7bb
Make MTIOCRDSPOS, MTIOCSLOCATE, etc. work with write protected tapes.
...
Patch supplied by Dave Huang in PR kern/5305.
1999-01-10 21:46:39 +00:00
augustss
f963dc8ddb
Some minor updates from FreeBSD.
1999-01-10 19:13:15 +00:00
augustss
af7f630631
Some patches from FreeBSD.
1999-01-10 18:42:10 +00:00
augustss
ebd59cb48c
Make sure to check the modifier map for the windows keys.
1999-01-10 18:36:57 +00:00
augustss
c437dc4229
Remove redundant test if the unit numbers is in range.
1999-01-10 18:22:14 +00:00
augustss
d47a7fb7e0
Rename the "windows" keys and add the new keys to the keyboard maps.
1999-01-10 16:56:35 +00:00
augustss
17570494a7
Add back a line that was lost somehow.
1999-01-10 16:38:54 +00:00
drochner
9b1eddc4f1
- Set up the interface watchdog timer on sends. This fixes the hangups
...
reported by Matthias Scheler <tron@lyssa.owl.de> in PR kern/6772.
- After receiving, check whether the receive DMA pointer became 0
what obviously happens if the list runs out of entries. Simply reinit
in this case. This fixes receive lockups after DDB use observed
by myself.
Unstall the receive engine if the ELINK_UPPKTSTATUS indicates that it
was stalled. (Don't know when this might happen. FreeBSD does so.)
1999-01-10 14:19:46 +00:00
augustss
851c51418d
Add definitions for Pause and Print_Screen keys.
...
(Why were these keys missing? Or am I missing something obvious here?)
1999-01-10 13:20:41 +00:00
drochner
a15a03eff2
Since ukbd has an own map, this file is not needed anymore.
1999-01-10 13:20:21 +00:00
augustss
fe099e481b
Add definitions for left and right "Windows" keys and menu key.
1999-01-10 13:14:42 +00:00
augustss
3fb390a04f
Fix buglets in translation to raw scancodes.
1999-01-10 13:11:25 +00:00
augustss
07e0165b97
Update/add URLs to relevant USB specs.
1999-01-10 11:13:36 +00:00
augustss
9e121cf158
Add ukbdmap.c.
1999-01-10 11:09:02 +00:00
augustss
ddb8209b40
XXX Add a disgusting hack to make the CS sound chips work in PnP mode.
...
XXX Read about it in isapnp.c.
1999-01-10 10:23:24 +00:00
augustss
1a68014a66
Move a declaration.
1999-01-10 10:17:54 +00:00
mjacob
ec1a086c80
Make the error condition of neither 0x70 or 0x71 error codes a tad
...
more informative than the lower case 'error code %d'.
1999-01-10 06:26:23 +00:00
mjacob
e618c0c7d7
turn on SBUS bursts
1999-01-10 06:22:12 +00:00
mjacob
9d702f60ed
+ Some basic deadchip detection.
...
+ Enable FIFO bursts, but also detect bogus 1040A with busted FIFO.
+ Use new MEMZERO crossplatform define.
+ Handle RQCS_QUEUE_FULL status case and let upper layer parse SCSI ststus
byte if nonzero (should be 0x28- Queue Full status)
+ Fold ISP_NVRAM_FIFO_THRESHOLD_128 into isp_fifo_threshold tag.
1999-01-10 05:07:53 +00:00
mjacob
f1dfa06e13
bump isp_fifo_threshold tag top 3 bits
1999-01-10 05:04:46 +00:00
mjacob
b503bb5337
cross platform define MEMZERO added
1999-01-10 05:04:18 +00:00
mjacob
4401c8bdd7
oops. Forgot to turn on PCI burst.
1999-01-10 03:41:47 +00:00
augustss
b2acf0b9f2
Change from bcopy/bzero to memxxx. From PR 6778 by
...
Erik Bertelsen <erik@q610.ebe.uni-c.dk>.
1999-01-10 00:28:21 +00:00
augustss
17e4ccc73d
Use a special map for USB key code translation instead of first translating
...
to an XT scancode and then to the wscons code.
XXX The XT translation is still available in "raw" mode.
1999-01-10 00:23:32 +00:00
drochner
422d1bfb5d
implement the option to swap left CTL and caps lock key, from
...
URA Hiroshi <ura@yamato.ibm.co.jp> per PR kern/6775
1999-01-09 16:21:10 +00:00
drochner
a2b9f1ba6e
add a definition for the "swap ctl and caps" option
1999-01-09 16:18:38 +00:00
drochner
5639141200
add ioctl()s for screen allocation/deallocation
1999-01-09 15:44:45 +00:00
drochner
a541ccbcb2
rename "struct wsdisplay_conf" -> "struct wsscreen_internal" to reflect
...
its real meaning
support allocation and deallocation of virtual screens at runtime
implement a "control device" (minor number = 255) and ioctl()s for screen
allocation/deallocation
minor fixes to consistency checks / error handling
1999-01-09 15:42:34 +00:00
drochner
98e630dbe0
Allow to deallocate also the currently visible virtual screen (unless
...
it is the console).
This requires vva_show_screen() to catch the case where it has no screen
to switch from, ie no need to save the current state.
1999-01-09 15:29:26 +00:00
augustss
9b3e9f45bf
A minor fix for FreeBSD.
1999-01-09 12:16:54 +00:00
drochner
c3283b267e
there is no "cnattach" member in "struct wskbd_accessops" (yet?)
1999-01-09 12:10:36 +00:00
thorpej
268eb959c4
Make this compile again after the void * arith changes.
1999-01-09 03:16:17 +00:00
thorpej
1a56840ec0
Make this compile again after void * arithmetic changes.
1999-01-09 03:05:19 +00:00
thorpej
c35b8b591b
One more cosmetic change, from Izumi Tsutsui.
1999-01-08 19:55:17 +00:00
augustss
0d32a9a78b
Fix more `void *' arithmetic.
1999-01-08 19:22:34 +00:00
augustss
332d7c138f
Avoid arithmetic on `void *' since that's not ANSI C.
1999-01-08 18:10:35 +00:00
augustss
875aa92d2c
Various little fixes from the FreeBSD version.
1999-01-08 11:58:25 +00:00
augustss
d7154c29c9
Regen.
1999-01-08 11:19:57 +00:00
augustss
5ea77d0457
Remove some non-products.
1999-01-08 11:18:38 +00:00
augustss
d8a5db5c2c
Regen.
1999-01-07 22:30:36 +00:00
augustss
df6da0d80b
Generate appropriate RCS headers.
1999-01-07 22:18:23 +00:00
augustss
012d8f3eab
Fix typo in FreeBSD part of the code.
1999-01-07 22:12:08 +00:00
augustss
86f2e214ed
Add some line continuations in the FreeBSD part of the file.
1999-01-07 22:09:00 +00:00
augustss
2fba866c77
On popular demand, back out the generation of a FreeBSD ID.
1999-01-07 03:27:26 +00:00
augustss
e4b5e096e8
Fix some FreeBSD compiler warnings.
1999-01-07 02:22:50 +00:00
augustss
07b2b872de
Fix some pastos.
1999-01-07 02:22:20 +00:00
augustss
8b76024ac9
regen.
1999-01-07 02:18:10 +00:00
augustss
1f1524514a
Ooops, I didn't mean to commit that. Back out.
1999-01-07 02:06:05 +00:00
augustss
02369a7cd2
Add another paranoia test in the interrupt routine.
1999-01-07 01:59:24 +00:00
augustss
1e0c9685af
Add a copyright header.
1999-01-07 01:57:11 +00:00
augustss
65a13df4e6
Generate FreeBSD RCS id as well.
1999-01-07 01:54:28 +00:00
augustss
028aac1137
Add Micro$oft Intellimouse.
1999-01-07 01:51:12 +00:00
thorpej
3dc31bab2f
Device declaration for the PCscsi-PCI SCSI chip driver.
1999-01-06 23:25:53 +00:00
thorpej
671d0ae88d
Device driver for the AMD Am53c974 PCscsi-PCI SCSI chip (i.e. the chip used
...
on the Tekram DC-390 SCSI cards), from Izumi Tsutsui, PR#6654. Minor
cosmetic changes by me.
1999-01-06 23:23:33 +00:00
thorpej
71c86e3e92
Changes to NCR53c9x driver necessary to add support for the AMD Am53c974
...
PCscsi-PCI SCSI controller. From Izumi Tsutsui, PR #6654 .
1999-01-06 19:19:38 +00:00
drochner
69d3aa9606
don't install wskbdmap_mfii.h to userland
1999-01-06 12:24:51 +00:00
drochner
ed3f310c95
use new KS_KEYCODE macro from wsksymdef.h
1999-01-06 12:04:09 +00:00
drochner
1cd0f92455
add british keymap, from Patrick Welche per PR kern/6735
...
use new KS_KEYCODE macro from wsksymdef.h
1999-01-06 12:01:09 +00:00
drochner
f8402fc0be
add definition for british keyboard
1999-01-06 11:45:12 +00:00
augustss
363ea8b7ff
Regen.
1999-01-04 22:41:58 +00:00
augustss
67e990eed1
Add USR 56K Faxmodem, from jbernard@ox.mines.edu in PR 6729.
1999-01-04 22:39:42 +00:00
is
bfb7f2aaf3
Multisession-CD-Support, by Torsten Duwe <duwe@ns.lst.de>.
1999-01-04 15:32:08 +00:00
augustss
87121c3217
Regen.
1999-01-03 23:57:11 +00:00
augustss
c3ddc00ec9
Add an Acer scanner.
1999-01-03 23:55:01 +00:00
augustss
3744944266
Regen.
1999-01-03 11:06:31 +00:00
augustss
d621c7bd68
Add Kensington Mouse-in-a-Box.
1999-01-03 10:56:33 +00:00
augustss
497a2c58c3
Regen.
1999-01-03 01:15:01 +00:00
augustss
c5412a11a4
Minor changes.
1999-01-03 01:12:41 +00:00
augustss
302f42d891
Add more CDC definitions.
1999-01-03 01:09:18 +00:00
augustss
6d990bf7f3
Add an ugly workaround for a bug (feature) in the NetBSD open()/close()
...
protocol.
1999-01-03 01:03:22 +00:00
augustss
bf1154922d
Add a length paarmeter to usbd_do_request_flags().
1999-01-03 01:00:56 +00:00
ragge
d0e7a99a8a
Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
...
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".
The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
christos
000c8bbf35
Regen
1999-01-01 19:30:52 +00:00
christos
512db6124c
Add Xircom Netwave driver from Michael Eriksson
1999-01-01 19:30:03 +00:00
augustss
c1edefd961
Fix bug in reading from interrupt pipe.
...
Make read and write on bulk pipes interruptible.
1999-01-01 15:31:24 +00:00
augustss
df2d00dcff
Add more structs.
1999-01-01 15:28:24 +00:00
augustss
16a2a55378
Add usbd_bulk_transfer(), a function to do interruptible transfer that
...
do not time out.
1999-01-01 15:25:57 +00:00
augustss
b7ae463e9f
Fix bug setting up endpoint descriptors for an interface.
1999-01-01 15:21:42 +00:00
augustss
a02f8e62f5
Add uDWord type for 4 byte USB structure fields.
1999-01-01 15:18:17 +00:00
augustss
bf9647a056
Set the correct transfer count on interrupt transfers.
1999-01-01 15:15:33 +00:00
christos
dfd0f0f949
PR/6669: Michael Eriksson: pcic_chip_mem_alloc() can't handle large requests
1999-01-01 14:05:18 +00:00
augustss
87f8cbd14e
Add a Communication Class header file.
1999-01-01 07:43:13 +00:00
augustss
3a16b606a6
Implement autorepeat in raw keyboard mode.
1998-12-30 19:25:27 +00:00
augustss
a971be193b
Add USB keyboard type.
1998-12-30 19:15:11 +00:00
augustss
20f51aae57
Split usbd_delay_ms() into two functions, one can be used in
...
device drivers.
1998-12-30 18:06:25 +00:00
augustss
87fea0705b
Implement raw keyboard mode for X.
1998-12-30 18:03:37 +00:00
augustss
85ff7a3234
Fold line.
1998-12-30 17:48:48 +00:00
augustss
3b9a669a7d
Remove #include that slipped in at FreeBSD merge.
1998-12-30 17:46:20 +00:00
augustss
503bbd973d
Allow the wsmouse device to be opened for writing even if it is already
...
open, this way ioctl() can be performed on it and wsconsctl works.
1998-12-30 14:02:18 +00:00
augustss
44df4dcc85
Add a wscons display type `unknown' that the generic VGA driver can
...
return until someone fixes it for real.
1998-12-30 13:54:03 +00:00
hwr
446f262aa5
Regen
1998-12-30 13:50:42 +00:00
hwr
4d3847e0ea
Add NeoMagic MagicGraph 128ZV graphic chip.
1998-12-30 13:49:49 +00:00
augustss
a4a02fda54
Make it compile without USB_DEBUG, fixes PR 6689. Patch from
...
taca@sky.yamashina.kyoto.jp (Takahiro Kambe).
1998-12-30 13:25:54 +00:00
augustss
0ae031028d
Add a special wsmouse type for USB mice.
1998-12-30 13:14:21 +00:00
dbj
3fec12a459
Added parens around ADD_BYTES_LIM() macro definition to protects its
...
use of the low precedence ?: conditional operator. This fixes a bug
in scsipi_interpret_sense when printing out debugging info.
1998-12-30 11:17:34 +00:00
augustss
85299e125c
Regen.
1998-12-30 03:55:49 +00:00
augustss
cce7071d57
Add iMac devices.
1998-12-30 03:52:30 +00:00
augustss
21e272bf01
Do not blindly assume that a device supports language id 0, instead
...
ask it what languages it supports.
1998-12-29 16:02:55 +00:00
augustss
c047e03d90
Update copyright to the TNF standard.
1998-12-29 15:57:46 +00:00
augustss
9bcfc24c6b
Add some #if 0 code for keyboard console attachment.
1998-12-29 15:42:30 +00:00
augustss
5aa16bd113
Don't set configuration unnecessarily, some (broken) devices seem to break
...
if you do.
1998-12-29 15:33:10 +00:00
augustss
961d81ade7
Return more info in ioctl(USB_DEVICEINFO).
1998-12-29 15:27:16 +00:00
augustss
0f94f62616
The Peracom serial converter (like some other devices) claim to have
...
string descriptors, but gets very upset if you read them.
1998-12-29 15:23:59 +00:00
augustss
32f13388c5
Regen.
1998-12-29 15:21:33 +00:00
augustss
a7147eda73
Add Peracom serial converter.
1998-12-29 15:19:40 +00:00
augustss
6b5d35ee9d
Minor change in a debug printf.
1998-12-29 14:29:53 +00:00
augustss
683fd3dfba
Add some more useful #defines.
1998-12-29 14:27:33 +00:00
marc
9ada0bf40f
check for end of tuple while reading cfe data
1998-12-29 09:03:15 +00:00
marc
0380eb8f98
added SVEC_LANCARD
1998-12-29 09:00:50 +00:00
marc
5d9e772403
added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD
1998-12-29 09:00:28 +00:00
marc
0de74697c4
rebuilt from pcmciadevs
1998-12-29 08:59:14 +00:00
marc
b5f4f4dcfe
add SVEC losing ethernet card
1998-12-29 08:58:37 +00:00
augustss
47ff9e7c63
Implement short transfers.
1998-12-29 05:08:57 +00:00
augustss
fe9a1b2b2d
Implement short transfers.
1998-12-29 04:15:04 +00:00
augustss
3064141641
Make it possible to specify the request flags when issuing a raw USB request.
1998-12-29 03:13:10 +00:00
augustss
16b49a78c6
New USB attach args.
1998-12-29 03:09:48 +00:00
augustss
4c9147cd38
Remove part of the bigendian patch that was not supposed to be commited.
1998-12-29 03:01:44 +00:00
augustss
d4fa2978fa
Imprive debugging message.
1998-12-28 21:05:47 +00:00
augustss
4386ae98b0
Send more information to USB attach routines so that they can claim
...
multiple interfaces.
1998-12-28 21:05:26 +00:00
augustss
dfad58d4e0
Change the host controller internal API a little and add some incomplete
...
support for isochronous transfers.
1998-12-28 20:13:59 +00:00
mjacob
d6cab14b00
clean up headers
1998-12-28 19:12:26 +00:00
mjacob
8ac99457db
I mean *really* clean up headers
1998-12-28 19:12:04 +00:00
mjacob
b51e3fbf3c
clean up headers; remove early revision 2100 workarounds
1998-12-28 19:11:32 +00:00
mjacob
e5e787230b
clean up headers; move uninit/watch to outer layers
1998-12-28 19:10:43 +00:00
mjacob
9ccf227085
clean up header
1998-12-28 19:07:38 +00:00
augustss
c9cf2c5601
Fix typo.
1998-12-28 16:41:11 +00:00
augustss
1256add6be
Update for new name in usb.h
1998-12-28 16:13:44 +00:00
hannken
bf9e279952
Prepare for wsconsctrl:
...
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.
1998-12-28 13:48:24 +00:00
augustss
020a909cba
Add a lot of byte swapping to get the code to work on big endian machines.
...
Patch from Tsubai Masanari <tsubai@iri.co.jp>.
Add an extra controller reset. According to the OHCI spec it shouldn't
be necessary, but without some machines don't work.
1998-12-28 12:56:19 +00:00
augustss
3c6b7ccc2a
Cosmetics.
1998-12-28 12:52:38 +00:00
augustss
f4133e9fae
Update timing again (for bad devices).
1998-12-28 12:35:27 +00:00
augustss
be8213d207
Add some isoc defines.
1998-12-28 03:27:00 +00:00
augustss
2e0dbd3cc0
Add another power up wait so that some devices (that do not follow
...
the spec) start up more reliably.
1998-12-28 02:23:25 +00:00
augustss
cd36ca65dd
Fix typos.
1998-12-28 02:20:28 +00:00
augustss
8fe37fa62c
Cosmetics.
1998-12-28 02:06:25 +00:00
augustss
6afab47ac5
Be more careful when forming the TD endpoint field.
1998-12-27 23:40:52 +00:00
augustss
5c3f51a42a
Add quirk for bad version no. in audio control descriptor.
1998-12-27 23:38:13 +00:00
augustss
33f1482ece
Make sure recording is started before we return EWOULDBLOCK in a read().
1998-12-27 23:25:32 +00:00
augustss
496387c419
Fold lines to 80 chars.
1998-12-27 22:52:23 +00:00
augustss
da39a16267
Fold lines to 80 chars.
1998-12-27 13:03:58 +00:00
augustss
e0c228ae9c
Merge changes to make the USB stack work with FreeBSD. The original
...
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00
msaitoh
2718914e14
fix incorrect panic message
1998-12-25 16:50:08 +00:00
marc
ae7cea0a83
initialize a variable to avoid a false compiler warning.
1998-12-25 00:54:46 +00:00
marc
b5afabb89a
check in generated files again so the included CVS id is correct
1998-12-25 00:54:11 +00:00
marc
1a6e9eab49
add quirk support for cards which lie extensively about their CIS
1998-12-24 04:51:59 +00:00
marc
2636bc951d
add code to permit pcmcia intr debugging
1998-12-24 04:50:43 +00:00
marc
2cf34a47e0
The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
...
3c562.
1998-12-24 03:59:00 +00:00
marc
b6a56aac7f
add an entry to the products array for the
...
PCMCIA_PRODUCT_3COM_3CXEM556.
This device requires the same CCR hack as the 3c562.
1998-12-24 03:57:45 +00:00
marc
c9ffa39a53
add product id for 3Com/Megahertz 3CXEM556
1998-12-24 03:55:54 +00:00
oster
e392d933c8
Clean up some debugging stuff, and make it compile without warnings
...
with -DDEBUG on alphas.
1998-12-22 20:03:14 +00:00
leo
c81639d273
Change quirk entry: "FX320S", "", " q01" to: "FX320S", "", "q01". This
...
space does seem to matter...
1998-12-21 21:40:12 +00:00
drochner
71fa656b19
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:56:06 +00:00
drochner
c896b644ba
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:40:01 +00:00
drochner
ac7ba300c0
add two of the newer register definitions
1998-12-21 20:31:54 +00:00
augustss
ebbe6623e2
Regen
1998-12-21 17:22:33 +00:00
augustss
2da45b8352
Fix typo.
1998-12-21 17:18:29 +00:00
augustss
84f4ab4fd0
Regen.
1998-12-21 15:45:20 +00:00
augustss
3c75aecaf5
Add ADS ethernet adapter.
1998-12-21 15:42:59 +00:00
drochner
45b5108fb1
regen
1998-12-21 13:43:11 +00:00
drochner
70a2fcddc2
change name of 82443BX according to Intel's data sheet
...
correct "no AGP" case to real topology of the chip
clarification: s/AGP Device/AGP Interface/
1998-12-21 13:37:00 +00:00
christos
ce816d0c65
Regen
1998-12-21 07:57:17 +00:00
christos
e0bd7401e6
PR/6619: Rick Byers: Add Motorola ModemSurfr
1998-12-21 07:57:00 +00:00
christos
981a2987e6
Regen
1998-12-20 18:54:52 +00:00
christos
b8041892e9
Add another modem.
1998-12-20 18:54:37 +00:00
nathanw
788ff053de
Fix up support for PCI attachments of pcic devices on i386 in general,
...
and the Cirrus Logic CL-PD6729 in particular.
From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
drochner
2e81b6b5f8
regen
1998-12-20 16:06:25 +00:00
drochner
6eb0418fdb
add a Zoran multimedia controller chip
1998-12-20 16:05:32 +00:00
drochner
6292c7eda0
Make midi_attach_mi() and audioprint() available also if MIDIBUS
...
(but not necessarily MIDI) is defined.
Fixes PR port-i386/6615 (Krister Walfridsson <cato@ulysses.df.lth.se>).
(XXX this should probably go into a separate file to get rid of
the #ifdef mess)
1998-12-20 14:26:44 +00:00
nathanw
e3504362c9
Regen.
1998-12-20 03:53:03 +00:00
nathanw
7003241eab
Add IBM Wireless LAN Entry and Xircom CreditCard Ethernet+Modem.
1998-12-20 03:52:40 +00:00
nathanw
d114556e2a
Avoid using "generic" configuration table entries during first
...
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.
1998-12-20 03:49:53 +00:00
nathanw
9670878a82
Regen.
1998-12-19 23:48:39 +00:00
nathanw
f920aee0b3
Add original Xircom CreditCard Ethernet.
1998-12-19 23:47:51 +00:00
thorpej
d15dc38fd9
Changes from FreeBSD:
...
Implemented a more sophisticated mechanism for handling transmitter
interrupts which now defers them until the transmit queue if filled
up with completed buffers. This has two advantages: first, it reduces
the number of transmitter interrupts to just 1/120th of the rate
that they occured previously, and two, running down many buffers
at once has much improved cache effects.
Defer rundown (m_freem) of completed transmit buffers for no longer
than 1 second.
This brings us up-to-date with the most recent "fxp" driver in FreeBSD.
1998-12-19 01:14:37 +00:00
thorpej
cb707caaeb
Add the Compex Linkport ENET-B Ethernet card, PR #6349 , Ingolf Koch.
1998-12-18 22:10:29 +00:00
thorpej
95b5eb860d
Regen.
1998-12-18 22:07:53 +00:00
thorpej
fc685b5db5
Oops, tyop.
1998-12-18 22:07:39 +00:00
thorpej
e2614a90c2
Regen.
1998-12-18 22:07:00 +00:00
thorpej
1142e9ca93
Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
...
PR #6349 , Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej
f64a09cf13
Replace a use of << with the LSOP macro, to fix a specific problem on
...
little-endian machines. PR #6390 , Ben Harris.
1998-12-18 21:59:34 +00:00
thorpej
875666be42
Add the SVEC/Hawking Tech. Combo card. PR #6461 , Rafal Boni.
1998-12-18 21:54:14 +00:00
thorpej
1f7f191ac9
Regen.
1998-12-18 21:53:08 +00:00
thorpej
f86bb230f6
Add the SVEC/Hawking Tech. combo card. PR #6461 , Rafal Boni.
1998-12-18 21:52:53 +00:00
thorpej
92229a04c1
Quiet some diagnostic messages when we might expect them to happen.
...
PR #6460 , Rafal Boni.
1998-12-18 21:50:16 +00:00
thorpej
d9e7d7e6a1
Add support for the Corega PCC-T Ethernet, PR #6603 , Takahiro Kambe.
1998-12-18 21:14:17 +00:00
thorpej
75553e60bf
Regen.
1998-12-18 21:12:32 +00:00
thorpej
eee452e216
Add Corega vendor ID and product CIS info for the PCC-T Ethernet card.
...
PR #6603 , Takahiro Kambe.
1998-12-18 21:12:14 +00:00
thorpej
30f21adec4
Regen.
1998-12-18 21:08:37 +00:00
thorpej
6779120f4a
Add product ID for the Yamaha 724 Audio device. PR #6605 , Dave Sainty.
1998-12-18 21:08:19 +00:00
explorer
9595b984ec
teach fxp about rnd_*()
1998-12-17 23:25:29 +00:00
gibbs
c9eb836a6a
Return ENODEV when the device capability check fails for MOVE and EXCHANGE
...
operations.
1998-12-17 22:28:07 +00:00
gibbs
1b30d7e440
Correct the definition of the changer device capabilities page. The
...
previous definition confused some reserved bytes for exchange capabilities.
1998-12-17 22:27:18 +00:00
msaitoh
2d5b32dd03
fix an invalid panic message.
1998-12-17 17:45:08 +00:00
bouyer
85078af6c4
Add a new quirk flags, "ADEV_NOSENSE", for devices that don't
...
handle properly the request sense command. Add <FX320S, , q01> as being
sense-unfriendly in the quirk table.
1998-12-17 13:05:05 +00:00
bouyer
f1addbd3fd
Defer mapping of pci interrupt to pciide_mapregs_native(). This way,
...
the native interrupt shouldn't be mapped if a channel is in native mode,
but disabled.
1998-12-16 13:21:26 +00:00
bouyer
945acd7834
Leave some room for the string-terminating char in temp. buffers.
...
Pointed out by Scott Presnell (thanks !).
1998-12-16 13:06:52 +00:00
bouyer
c37bf0ccb4
Keep track of DMA errors, and downgrade the transert mode (UDMA ->DMA,
...
DMA->PIO) in case of 2 consecutive errors. Don't downgrade if the
PIO/DMA/UDMA modes were forced by a config flag.
1998-12-16 13:02:03 +00:00
bouyer
1f0d6730cc
Switch to single-sector transfert mode only for the last retry, to let
...
a chance to the underlying driver to downgrade the mode first.
1998-12-16 13:00:02 +00:00
bouyer
2093338697
Rearange the modes setup to allow these to be dyanmically changed. Fill
...
in the new "set_mode" callback.
1998-12-16 12:48:45 +00:00
bouyer
94f32463dc
Add a callback to re-compute the modes used on a channel.
1998-12-16 12:46:47 +00:00
christos
bbe8b4dde5
Add Byte Runner Technologies TC-400 and TC-800 driver from Eric S. Hvozda
1998-12-16 11:33:50 +00:00
augustss
b4cf442656
Fix a MIDI buffer overflow problem. Fixes PR 6583.
...
Patch from Ales Krenek <ljocha@ics.muni.cz>
1998-12-15 18:03:07 +00:00
drochner
4f720cad14
make sure programs cannot write to the screen while it is in graphics mode
1998-12-15 14:25:59 +00:00
augustss
cb022e620d
Initialize field to indicate fragment block.
1998-12-14 23:44:04 +00:00
drochner
2e89d55ed4
Deal with an unusual response on port selftest commands. This makes at
...
least John Kohl's crappy Dell box work.
1998-12-14 13:54:25 +00:00
nisimura
8bb7627336
- Fix typos in commentary description.
1998-12-14 02:45:51 +00:00
thorpej
b33907f299
Don't DMA the scsi command from or the sense data to the scsipi_xfer
...
directly. That would require that we map the scsipi_xfer into DMA
space. Instead, copy to/from the NCR CCB, which the script already
has to DMA to/from. These copies are small, and don't seem to affect
performance.
1998-12-13 00:11:37 +00:00
thorpej
178fc3cc05
Step 3:
...
Use DMA maps for the actual data transfers.
1998-12-12 23:41:56 +00:00
mycroft
95aa0d0b7d
Simplify the copy loops a bit.
1998-12-12 16:58:10 +00:00
mycroft
90b7cbc727
Simplify argument to MGET(), to generate better code.
1998-12-12 16:36:24 +00:00
mycroft
a6717054a4
Slight simplification to previous.
1998-12-12 16:31:34 +00:00
augustss
eeb8a988a9
Oops, I commited the wrong version before.
1998-12-12 12:18:26 +00:00
augustss
f8c84e3e97
Initialize variable to make gcc happy.
1998-12-12 12:06:53 +00:00
augustss
ef6d3553ea
Move initialization of sce around.
1998-12-12 11:59:28 +00:00
thorpej
3cc30b3641
Step two:
...
Use DMA-safe memory for the script instances. The most important thing
here is that is guarantees that the script is contiguous in DMA space.
1998-12-12 00:19:13 +00:00
thorpej
086b4b0bf1
Step one of bus_dma'ing the PCI NCR driver:
...
Separate the ncb (i.e. softc) members that are accessed by the script into
a separate structure. Allocate one of these structures in DMA safe memory
using bus_dma, and change RELOC_SOFTC to use the DMA address of this
structure.
1998-12-11 23:21:11 +00:00
bad
fe3ce4e89a
Simplify the code dealing with the mbuf chain in dp8390_get().
1998-12-11 18:03:55 +00:00
augustss
09dd50c412
Regen.
1998-12-11 17:44:41 +00:00
augustss
d39ff672ac
Add Imation disk.
1998-12-11 17:43:31 +00:00
bad
ba8bdebedd
Change a comment to reflect reality.
1998-12-11 16:01:16 +00:00
augustss
3e85b3dd48
Move spls around.
1998-12-11 00:05:07 +00:00
augustss
46e04a18a1
Take care of some lines > 80 chars.
1998-12-10 23:16:47 +00:00
augustss
b94cb7b768
Add a driver for the S3 SonicVibes chip. From OpenBSD and
...
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org ) with
some changes by me.
XXX The driver still needs work.
1998-12-10 18:47:18 +00:00
mjacob
7f5c8f7db2
add Adaptec RAID units as devices that do not return geometry pages
1998-12-10 18:13:29 +00:00
augustss
95f1a325a2
Change a printf a little.
1998-12-10 16:13:48 +00:00
thorpej
93e17878d1
Regen.
1998-12-09 23:57:58 +00:00
thorpej
02d7f1236c
Some more touchup on the VIA Rhine chip model number, and so some
...
sorting.
1998-12-09 23:57:35 +00:00
tls
2fbbdcc0cb
Fix bug that caused all ifp's to have if_xname ntwo0, which was rather inconvenient. Should use config_found on each port instead, but this works for the moment and it's quick.
1998-12-09 23:25:41 +00:00
drochner
35345a1311
make compile without USB_DEBUG, wrap lines to 80 cols
1998-12-09 19:24:28 +00:00
thorpej
7a9cc5bfbc
Update for changed scsipi_xfer struct.
1998-12-09 08:37:50 +00:00
leo
5335909035
BVME410 ethernet driver by 'maximum entropy'.
1998-12-09 07:33:59 +00:00
augustss
1fdafa2f13
Insert some splusb() since memory allocation and deallocation can
...
occur from an interrupt.
1998-12-09 01:02:29 +00:00
augustss
c8736358e3
Clear stall condition on interrupt pipe.
1998-12-09 01:01:24 +00:00
augustss
f8b9a417f0
Improvement to the ugen driver.
...
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
augustss
28d60e8711
Use plaintest error messages for debugging.
1998-12-08 15:48:18 +00:00
augustss
d26c277522
Add a generic USB driver. It allows easy access to descriptors, the
...
control pipe via ioctl() and read() and write() access to bulk and
interrupt pipes.
1998-12-08 15:39:00 +00:00
augustss
4d19a06c27
Some minor API changes and additions.
1998-12-08 15:18:45 +00:00
augustss
dfff19e3d3
Take care of return code from uiomove().
1998-12-08 15:12:24 +00:00
augustss
43c3030bd5
Print plain text error codes.
1998-12-08 14:34:08 +00:00
augustss
0280322dcb
Change debug level of a printf.
1998-12-08 14:31:58 +00:00
augustss
1b499d8ce6
Make the OPL information string more informative.
1998-12-08 14:26:56 +00:00
bouyer
997074f17c
Add a missing 'return' in an error path; noticed by Matthias Drochner.
1998-12-08 13:29:31 +00:00
thorpej
10d50739c7
Actually, restructure scsipi_wait_drain() slightly.
1998-12-08 00:26:22 +00:00
thorpej
8ebf1e8824
Remove xs_free_list; it no longer exists.
1998-12-08 00:20:16 +00:00
thorpej
624619a881
When closing, wait for pending xfers to drain before deleting the reference
...
to the adapter.
1998-12-08 00:19:27 +00:00
thorpej
dcc5f32c2b
When closing, wait for pending xfers to drain before unlocking the door,
...
and wait again before deleting the reference to the adapter.
1998-12-08 00:18:46 +00:00
thorpej
1ddd2ffec0
- When allocating a scsipi_xfer, add it to the specified device's
...
pending_xfers queue.
- When freeing a scsipi_xfer, remove it from the device's pending_xfers
queue. If the queue is empty, and SDEV_WAITDRAIN is set, wakeup
those waiting for the queue to drain.
- Implement scsipi_wait_drain(), which waits for a device's pending_xfers
queue to drain.
1998-12-08 00:17:21 +00:00
thorpej
98194169ea
When allocating a device's scsipi_link, initialize the pending_xfers
...
queue.
1998-12-08 00:14:41 +00:00
thorpej
126dc6bfcc
- Remove the "free_list" member from scsipi_xfer. Add "adapter_q" and
...
"device_q" TAILQ entries. The former is for use by the adapter driver,
as it sees fit. The latter is for the scsipi middle layer to track
pending xfers per device.
- Add a pending_xfers queue to scsipi_link, to track pending xfers per
device.
- Grow scsipi_link's flags to int, and add SDEV_WAITDRAIN, to indicate that
we're waiting for the pending_xfers queue to empty.
1998-12-08 00:13:58 +00:00
mjacob
337eb43541
NOMODESENSE for all Seagate ST19171- not just FC
1998-12-05 20:52:47 +00:00
mjacob
d610e1ad3f
Update BA for new max_lun parameter for SCSIbusses. Clearify maximum luns
...
for FC HB based upon a SCCLUN define (15 for normal- 255 out of a possible
65535 for SCCLUN). Propagate loopid as adapter_target.
Roll minor platform version. Roll core version number.
Update mailbox definitions with cleaner target mode structure definitions.
Clean up some ENDIAN stuff. Correct botched ISP2100_NVRAM_HARDLOOPID offset.
1998-12-05 19:48:23 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
mjacob
4b8245a959
Add a max_lun property to match with the max_target property. Shorten
...
max_target to int16.
1998-12-05 19:41:31 +00:00
mjacob
33fde1ad76
Eliminate the moreluns entry as it makes no sense for fat SCSI busses (e.g,
...
FC loops). Change the semantics of scsi_probedev so that it returns 1 if
you should continue probing at this target, else 0 for not.
Replace the blanket use of '7' with the use of the new sc_maxlun property
that is now gathered from HBAs. Allocate scsipi_link arrays based upon this.
Fix a really nasty and silly bug that has been there for a while where the
number of first level scsipi_link structures was one less than it needed
to be.
1998-12-05 19:39:23 +00:00
matt
3f225e009d
Add Sigma Designs REALmagic Hollywood Plus MPEG-2 decoder
1998-12-05 19:02:14 +00:00
dbj
8f7f8d557d
made prototype for debug function wss_dump_regs match its definition.
1998-12-05 10:49:24 +00:00
mjacob
9d51ff8e34
Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control which
...
one gets compiled in by default. The default is private loop, non-expanded lun.
1998-12-05 00:28:05 +00:00
mjacob
45fb6a3e74
Add in and enable latest SBus ISP Firmware (1.31)
1998-12-05 00:25:26 +00:00
drochner
3a08ae9402
always use unsigned numbers for screen positions (for sanity - the libkern
...
min() et al. did unsigned comparisions before)
make ROWS_ABOVE / ROWS_BELOW return signed values, the negative results
occur if the cursor is outside the scrolling region
1998-12-04 20:48:04 +00:00
drochner
9175cc0ddf
The chipset manual doesn't tell the truth about the channel enable
...
register bits. Replace by experimental result.
1998-12-04 17:30:55 +00:00
bouyer
c10f6edafc
AT_ERROR should be different from AT_TIMEOUT. pointed out by Matthias Drochner.
1998-12-04 11:17:54 +00:00
pk
19f705b094
Cast bus_space_{read,write}_multi arguments.
1998-12-03 23:33:45 +00:00
augustss
a68f1ef94c
Handle the case where the device does not support GET_PEPORT better.
1998-12-03 20:43:19 +00:00
augustss
bedb40a78c
Use umodem as the modem driver stub.
1998-12-03 19:58:09 +00:00
bouyer
47ab212504
Rename pio_mode, etc ... to PIO_cap, etc ... for consistency with the
...
ata_drive_datas struct. Suggested by Soren S. Jorvan.
1998-12-03 18:24:30 +00:00
bouyer
71f33dbfa5
UDMA->Ultra-DMA in a printf
1998-12-03 17:30:32 +00:00
bouyer
334abc06cf
Correct definition for SIS_TIM_UDMA_EN macro. Ultra-DMA should now work ...
1998-12-03 17:29:01 +00:00
bouyer
e39a5bdc53
Now that vtophy() is no longuer used, re-enable WDCDEBUG, with
...
wdcdebug_pciide_mask = 0 (so that one can easily patch this variable and give
me more informations :)
1998-12-03 17:27:57 +00:00
bouyer
2b28c858d8
add a udma_mode field to wdc_softc, and use it the same way dma_mode is used
...
(higthest ultra-dma mode supported). There may be a higther ultra-dma mode
defined ...
1998-12-03 15:38:59 +00:00
oster
1b04131eff
Try a bit harder to detect the physical failure of a component, and to
...
mark that component as dead. Physical failures are handled much better now.
1998-12-03 15:14:40 +00:00
oster
3f3d8e85e6
If a configuration fails due to a non-existant spare, remember to release
...
any previously allocated components before bailing. Credit to Manuel Bouyer
for noticing this.
1998-12-03 15:06:25 +00:00
oster
679de7e878
Fix (potential) referencing of null pointer in (verbose) debugging mode.
1998-12-03 14:58:24 +00:00
bouyer
ba90b4b2d3
Add URLs of documentation source (from Matthias Drochner).
1998-12-03 14:06:16 +00:00
bouyer
7d87d6a5f6
Use correct register when disabling the second channel.
1998-12-03 13:50:38 +00:00
bouyer
8ef785add8
Restore changes from revision 1.17:
...
"If a channel has no drives, do *not* unmap its I/O regions.
It's not really safe to use them for anything else, and in legacy mode it
will just cause us to probe the channel again as an ISA device."
1998-12-03 13:30:00 +00:00
bouyer
1af63c0605
Correct a few bogons in the SiS chip initialisation.
1998-12-03 13:25:44 +00:00
bouyer
09408781c9
Ouh ! Correct the 8-bit PCI registers reading/writing functions: need to
...
multiply the register offset by 8.
1998-12-03 13:24:11 +00:00
augustss
2228eaca8a
Add configuration and interface locators.
1998-12-02 22:57:08 +00:00
augustss
cf75925c7f
Even shorter printfs at attach.
1998-12-02 22:54:52 +00:00
augustss
4b4afb8252
Regen.
1998-12-02 22:51:50 +00:00
augustss
7270b91afe
Shorten some vendor names.
1998-12-02 22:49:51 +00:00
augustss
e424a174ba
Add stub for a modem driver.
1998-12-02 22:47:19 +00:00
augustss
fd3af06364
Avoid wrapping lines in attach printfs.
1998-12-02 17:20:20 +00:00
augustss
7d417ca964
Handle compound devices in usbd_get_report_descriptor().
1998-12-02 17:17:40 +00:00
augustss
c4dc0e3950
Regen.
1998-12-02 17:14:53 +00:00
augustss
65145fce2c
Fix typo.
1998-12-02 17:11:51 +00:00
augustss
41095ae62a
Add some new devices.
1998-12-02 17:02:59 +00:00
bouyer
1d5d5ab40a
In struct wdc_xfer, change 'channel' to a pointer to a channel_softc, to avoid
...
a double-pointer dereference at run-time. Suggested by Matthias Drochner.
1998-12-02 15:53:34 +00:00
bouyer
45675ab14b
- change drive_flags from u_int8_t to u_int16_t
...
- keep the modes supported by the drive in struct ata_drive_datas (will be
later used for downgrading the DMA/PIO mode on error)
- use config flags to force/disable PIO/DMA/UDMA modes
- For the CMD PCI0643/6 setup DMA mode to DMA Read multiple.
1998-12-02 10:52:24 +00:00
christos
a5d7ea15aa
Regen.
1998-12-02 09:43:15 +00:00
christos
8692433023
add the compat id for the aha-1542cp
1998-12-02 09:42:57 +00:00