Commit Graph

11960 Commits

Author SHA1 Message Date
jdolecek
57b53bc9a8 The device close routine is called when _last_ descriptor to the
device file is closed, rather on every descriptor close. Instead of
getting the exclusive lock on open and releasing on close, get
the lock only when needed in sysmonioctl_envsys().
Fixes kern/14368 by Anthony Mallet. Okayed by Jason Thorpe.

While here, also inline sysmon_envsys_init() to sysmonopen_envsys(),
and g/c sysmonioctl_wdog() prototype.
2002-01-03 22:35:53 +00:00
augustss
f854b2521f Add a DIAGNOSTIC check. From FreeBSD. 2002-01-03 22:20:45 +00:00
augustss
501071c88f Correct the frequency calculation. 2002-01-03 21:52:26 +00:00
mjacob
d9a0044d29 Implement REDUCED INTERRUPT OPERATION usage for FC cards- this allows the
firmware to delay completion of commands so that it can attempt to batch
a bunch of completions at once- either returning 16 bit handles in mailbox
registers, or in a resposne queue entry that has a whole wad of 16 bit handles.

Distinguish between 2300 and 2312 chipsets- if only because the revisions
on the chips have different meanings.

Add more instrumentation plus ISP_GET_STATS and ISP_CLR_STATS ioctls.
Run up the maximum number of response queue entities we'll look at
per interrupt.

If we haven't set HBA role yet, always return success from isp_fc_runstate.
2002-01-03 21:45:06 +00:00
augustss
f1ee77f0c3 Add USTIR_DEBUG. 2002-01-03 18:57:36 +00:00
augustss
51b2c397c3 Add ustir. 2002-01-03 18:56:40 +00:00
augustss
eb62bf638c Add the ustir driver, for SigmaTel STIr4200 USB/IrDA Bridge.
Written by David Sainty <David.Sainty@dtsp.co.nz>.
2002-01-03 18:54:31 +00:00
augustss
d083e37f0b Add \n in attach messages. 2002-01-03 18:13:19 +00:00
thorpej
43b6b4ca49 Need ibm561.c for TGA. 2002-01-03 05:35:31 +00:00
rafal
e444b1434a Regen (added Rainbow Technologies & Rainbow's CryptoSwift 200). 2002-01-03 05:27:39 +00:00
rafal
cee4ea6496 Add Rainbow Technologies vendor ID & Rainbow CryptoSwift 200 PKI accelerator
(CS200/PCI).
2002-01-03 05:25:48 +00:00
augustss
e4552bb657 Add a comment. 2002-01-02 22:44:44 +00:00
augustss
68d53cd694 Fix typo in last commit. 2002-01-02 20:58:12 +00:00
augustss
f7839315fb Some more usb_proc_ptr changes.
Also some minor stylistic changes.
2002-01-02 20:55:58 +00:00
ad
215ddc9ef7 Set sc_framesize to a reasonable value early on so that DEBUG code
doesn't choke before we discern the real value.
2002-01-02 19:04:17 +00:00
augustss
cee8ba6db9 Get rid of a few stray __P(). 2002-01-02 17:20:09 +00:00
augustss
b99cd0e9f5 More whitespace fixes from FreeBSD. 2002-01-02 16:20:14 +00:00
uch
474928fb8f when bootinfo has no framebuffer information, don't attach bicons. 2002-01-02 12:57:49 +00:00
augustss
c41bbdcea2 Change the probe code. You cannot unmap bus space and then use it. 2002-01-02 12:42:23 +00:00
augustss
c572876ecb Fix another descriptor parsing bug. Thanks to Tero Kivinen for
patiently supplying me with debug output.
2002-01-02 11:10:50 +00:00
augustss
d7f7000641 Add missing newline. 2002-01-02 04:10:02 +00:00
augustss
71dd2d73a6 Fix typos. 2002-01-02 03:47:35 +00:00
augustss
1d26d9e5fd Move debug define.
Remove some cruft.
Update with some stuff from Warner Losh's driver.
2002-01-02 03:44:56 +00:00
augustss
e814956b5d Add udsbr. 2002-01-02 03:26:54 +00:00
augustss
f63f2e4dfe Add udsbr(4), a D-Link DSB-R100 FM radio (untested). 2002-01-02 03:21:36 +00:00
augustss
040f1e8c05 Support detach. 2002-01-02 02:44:02 +00:00
augustss
369f1d1c80 Add radio names. 2002-01-01 23:12:19 +00:00
augustss
1c06f6a40f Add support for radio cards. Written by Maxim Tsyplakov and Vladimir Popov
for OpenBSD, from where it was imported.
2002-01-01 21:51:38 +00:00
augustss
cdf2a29382 Regen. 2002-01-01 21:47:34 +00:00
augustss
ec0a570a33 Add a radio card. 2002-01-01 21:47:08 +00:00
hpeyerl
739775cbbb Add stanza for PC Weasel/PCI. 2002-01-01 16:49:05 +00:00
hpeyerl
e59c0dedfb Watchdog back-end driver for PC Weasel/PCI serial console and remote
management board.  Written by hpeyerl@realweasel.com and
thorpej@wasabisystems.com.  Requires Weasel firmware v2.04 and later.
2002-01-01 16:48:34 +00:00
augustss
371722006a Add a missing subclass definition. 2002-01-01 14:23:37 +00:00
thorpej
6ca57419d1 Labels must be followed by statements. 2001-12-31 22:07:58 +00:00
thorpej
f9df4d877e Avoid an "unmamed fields" warning (gcc 3.1). 2001-12-31 22:06:47 +00:00
thorpej
aedf82267c Move the declaration of an enum to avoid an "unnamed field not allowed"
warning in gcc 3.1.
2001-12-31 21:30:01 +00:00
augustss
cec9735688 Delay bus enumeration a little in case the controller is a companion
controller.  This way the main controller can gain ownership of the port
before enumeration starts.
2001-12-31 15:55:51 +00:00
augustss
d8e5a1dc07 Dump enpoint number instead of endpoint index. 2001-12-31 15:54:27 +00:00
augustss
88da42185c Don't try to deactivate child if we have no bus yet. 2001-12-31 12:52:50 +00:00
augustss
0498c38d3d Whitespace fixes (from FreeBSD). 2001-12-31 12:37:13 +00:00
augustss
637dc4b2fe Change xfer abort to wait for the softintr to run. 2001-12-31 12:20:35 +00:00
augustss
096f451f64 Change abort slightly.
Change debug output.
2001-12-31 12:16:57 +00:00
augustss
f1397b7e37 Dump more of the command. 2001-12-31 12:15:46 +00:00
augustss
152efb1a0e Make a typedef for struct proc to make portingeasier. 2001-12-31 12:15:21 +00:00
augustss
d14e739b92 Don't allow setting the configuration when an endpoint is open. From
FreeBSD.
2001-12-31 11:56:37 +00:00
augustss
0a3269865e Only clear stall if endpoint is stalled. From FreeBSD. 2001-12-31 11:54:06 +00:00
augustss
ff21b251a0 Make sure we don't have any pending softintrs when entering polling mode.
Thanks to Darrin for finding and fixing this problem when using USB
keyboards in DDB.
2001-12-30 20:26:59 +00:00
augustss
776b0e7851 A little more debug. 2001-12-30 19:37:43 +00:00
someya
a0d9eb8746 add powerhook support to resume correctly, fix PR#13079. 2001-12-30 19:33:15 +00:00
augustss
70dea46276 Fix typo. 2001-12-30 19:22:28 +00:00