augustss
1a1f9d7acf
Regen.
2002-01-09 19:29:39 +00:00
augustss
03027531da
Add Intel 82801 and 82830.
2002-01-09 19:29:07 +00:00
drochner
f9f119b62a
cosmetics: print a "\n" terminated string if no "fw at fwohci" is
...
configured
2002-01-09 18:50:54 +00:00
drochner
dcea5d31ee
-don't apply scsipi_strvis() twice, it tries to octal-print the string
...
terminating zero and uninitialized dada following
-use use the "vendor" field for the name which is used in the default
disklabel, the "product" field is meaningless or not existing for ATAPI
(serial number)
2002-01-09 18:48:18 +00:00
thorpej
bd4e2862b0
We only need a single component buffer pool.
2002-01-09 04:21:43 +00:00
thorpej
229efaff69
Add ioctls to get (DIOCGCACHE) and set (DIOCSCACHE) cache enables
...
on disks in a generic way. Implement these ioctls for SCSI disks.
This is not fully fleshed-out yet, but it allows people to experiment
with disk caches more easily.
2002-01-09 04:12:11 +00:00
oster
2ad74785a4
Move a bunch of debugging stuff to be only used if DEBUG is turned on.
2002-01-09 03:10:19 +00:00
christos
b5d5702d16
Deal with lossage caused by recent isa changes [/briq potr]
2002-01-08 17:20:44 +00:00
bouyer
2e06a41ea8
Fix typo in comment. Reported by Alexander Yurchenko in private mail.
2002-01-08 11:47:27 +00:00
dbj
f629228e87
Changes to the wdc(4) mi driver that add the WDC_CAPABILITY_SELECT
...
flag and a callback function which gets called whenever a target is
selected on a channel.
The macppc wdc driver needs to reprogram its timing register
differently for each target on a channel each time that target is
selected. I also changed the ATA4_TIME_TO_TICK to use a divisor of
15, which brings our timing calculations consistent with darwin.
These patches fix problems on my dual usb ibook with combo dvd/cdrw
drive because the hard drive supports udma and the combo drive does
not. Without turning off the udma timings in the configuration
register, I cannot access the non-udma combo drive.
2002-01-07 22:11:17 +00:00
thorpej
3835413bc1
Overhaul of the ISA autoconfiguration code to support direct
...
configuration of devices logically attached to the ISA bus:
* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
jmcneill
fad06cc1a6
Re-enable radio at bktr, only if NRADIO > 0 and an FM tuner is present.
2002-01-07 18:05:33 +00:00
drochner
db154a4d20
"attach radio at radio":
...
using one word as both attribute and device doesn't work well,
radio.c is pulled in even with no such device in the configuration,
and the kernel doesn't link due to missing "radio_cd".
So call the attribute "radiodev" to avoid confusion.
2002-01-07 17:44:42 +00:00
tron
559521efa3
Disable broken radio(4) support for bktr(4). The configuration code doesn't
...
even check if the TV card has a radio tuner.
2002-01-07 12:12:55 +00:00
tron
2f741a258e
Backout revision 1.155 which caused build failures if bktr(4) is used
...
without radio(4).
2002-01-07 11:58:28 +00:00
tron
65aa7d5e7c
Clean up preprocess handling of optional radio(4) support a little bit.
2002-01-07 10:43:43 +00:00
jmcneill
311329a369
Integrate recording support into the driver. Not very heavily tested yet.
2002-01-07 07:33:09 +00:00
oster
19c2127b85
Revert previous. Need to be more careful with what gets chopped out.
2002-01-07 05:30:53 +00:00
oster
345de5b80a
Some of this stuff is really just for debugging, so compile it only if
...
DEBUG is defined.
2002-01-07 02:27:42 +00:00
oster
af9b7112ab
#if 0 rf_SetReconfiguredMode() since it is unused now, but may be
...
needed someday.
2002-01-07 01:58:03 +00:00
tron
6a997e3c73
Compile in radio(4) only it is activated in the kernel configuration.
2002-01-06 23:19:18 +00:00
augustss
5777b5c311
Increase max sampling rate on SB16. It seems almost all models supports it.
2002-01-06 20:24:12 +00:00
jmcneill
4e14c9fb3f
For cosmetic reasons, add 'ESS Technology ES1921' to the table of codec Ids.
2002-01-06 17:03:17 +00:00
augustss
f0b744e0cf
Note that Don Kim wrote the original Linux driver.
2002-01-06 16:58:23 +00:00
jmcneill
13498a6196
Note addition of esa driver.
2002-01-06 16:06:36 +00:00
jmcneill
244caf0f16
Import driver for the ESS Allegro-1 / Maestro-3 based PCI Audio Accelerators.
2002-01-06 16:06:14 +00:00
augustss
4fee2664e3
Change copyright somewhat. (These are not TNF copyright templates so I
...
removed the advertising clause.)
2002-01-06 15:41:00 +00:00
jmcneill
58d1fe0d04
Add missing definition of STATUSBIT_STEREO.
2002-01-06 15:37:08 +00:00
augustss
9a0fd5e477
Part of the ESS Allegro-1 & Maestro3 driver.
2002-01-06 15:17:28 +00:00
jmcneill
a17eec36aa
Add radio support to bktr.
2002-01-06 02:47:36 +00:00
jmcneill
1eb3eee47c
Add basic support for the radio(4) interface.
2002-01-06 02:42:45 +00:00
explorer
a40b01901f
revert changes I made a long time ago. This should undo the changes which are causing problems on some non-x86 platforms. I'll probsably redo some of these changes, but after the next release branch.
2002-01-05 20:10:53 +00:00
junyoung
83ad3c8a91
Regen.
2002-01-05 16:36:59 +00:00
junyoung
7f0a4dd3c9
Remove Mach64 B that conflicts with Mach64 GP.
2002-01-05 16:35:52 +00:00
augustss
e75edd40ae
Initialize _ca struct right.
2002-01-05 01:30:01 +00:00
augustss
b915c78113
Regen.
2002-01-05 00:16:42 +00:00
augustss
0bb5b26936
Add a bunch of PCI-wireless PCMCIA adapters. They are probably all based
...
on a PLX chip. (For which we have no driver yet.)
2002-01-04 18:26:20 +00:00
kanaoka
450887c407
Add support for "D-Link DFE-690TXD 10/100".
...
by kern/15100: From: John Nemeth <jnemeth@access.victoria.bc.ca>
2002-01-04 15:24:24 +00:00
kanaoka
8f88b8c44e
Regen.
2002-01-04 15:23:33 +00:00
kanaoka
4cdb84fe68
Add product "D-Link DFE-690TXD 10/100".
...
by kern/15100: From: John Nemeth <jnemeth@access.victoria.bc.ca>
2002-01-04 15:22:41 +00:00
martin
99772f59c4
Move net/if_sppp.h to net/if_spppvar.h, create a new net/if_sppp.h
...
containing the userland visible thinks (i.e. ioctl definitions).
Remove all (both) old ioctls, as they had a brain dead API and made keeping
binary compatibility more or less impossible.
Replace by several new ioctls. While there, remove any arbitrary limits
(resulting from the old, broken ioctls) and allow any length of names
and passwords.
2002-01-04 12:21:24 +00:00
mrg
3ccb704762
add a vnddetach: it just free()s the vnd_softc. useful for LKM.
2002-01-04 06:31:08 +00:00
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
junyoung
a6a57e7b6f
Registers are of u_int8_t type.
2001-12-30 13:13:04 +00:00
ichiro
23d158a3e8
regen
2001-12-30 12:46:10 +00:00
ichiro
3276c42a93
add
...
TSB43AA22 OHCI IEEE 1394 Host Controller
2001-12-30 12:45:32 +00:00
augustss
dd4b4280f7
Add new scanners to the table.
...
(The scanners don't actually have to work to be in the uscanner table,
this is how Linux does it and uscanner is just there because Linux has it.)
2001-12-30 11:13:22 +00:00
augustss
fb4d205cd6
Regen.
2001-12-30 11:08:19 +00:00
augustss
095e2b87e3
Fix typo in last commit.
2001-12-30 11:01:44 +00:00
augustss
bdbdfed4ec
Add some missing files.
2001-12-30 11:01:24 +00:00
gehenna
7a22165e1c
fix product ID
2001-12-30 05:12:36 +00:00
gehenna
b48ed7ad6d
regen
2001-12-30 05:11:29 +00:00
gehenna
e9ab191fc3
Add some vendor/product IDs (from FreeBSD)
2001-12-30 05:09:50 +00:00
ichiro
2e72aee615
regen
2001-12-29 22:31:10 +00:00
ichiro
35012be445
add products
...
VT6305 OCHI IEEE 1394 Controller
VT3606 OCHI IEEE 1394 Controller
2001-12-29 22:30:33 +00:00
thorpej
2270cd2cb5
Add a case for x86_64.
2001-12-29 21:13:46 +00:00
augustss
5a31e4e8f8
Make the driver a little less talkative on errors.
2001-12-29 20:50:16 +00:00
augustss
3850573d96
Remove garbage.
2001-12-29 18:57:16 +00:00
augustss
c19b7e5c1b
Be more paranoid about input sizes.
2001-12-29 18:56:52 +00:00
augustss
5db54303c8
Reset global count value properly.
2001-12-29 18:56:20 +00:00
augustss
198e193c28
Don't clear global report values when reporting an item.
2001-12-29 17:48:29 +00:00
junyoung
0d2905f4fc
- Add a structure needed for access to CRTC registers.
...
- Add definitions for misc output register.
- Add defintions for the number of registers.
2001-12-29 17:44:35 +00:00
junyoung
dde1e51a31
Add functions needed for access to CRTC registers.
2001-12-29 17:40:35 +00:00
junyoung
ea3be41a59
KNF.
2001-12-29 17:06:50 +00:00
augustss
93f9b36aad
Add a debug message.
2001-12-29 16:15:42 +00:00
augustss
496dc72437
Add some definitions from the USB OTG (On The Go) spec.
2001-12-29 15:44:11 +00:00
pooka
065a38a17f
regen
2001-12-29 15:01:23 +00:00
pooka
e42e0310b4
Socket Communications Low-Power CF WLAN
2001-12-29 15:00:45 +00:00
augustss
9cef2a3db7
Add an XXX comment.
2001-12-29 14:25:47 +00:00
augustss
01eafb2239
Add some IrDA names.
2001-12-29 14:24:54 +00:00
augustss
9dd24c8a92
Regen.
2001-12-29 14:08:02 +00:00
augustss
5f958aabb7
Fix a typo.
2001-12-29 14:07:45 +00:00
augustss
8164bd8bae
Move some USB device quirks to the umass_quirk table.
2001-12-29 14:06:18 +00:00
augustss
b965a7d6eb
Remove some quirk entries that are handled in umass_quirk now.
2001-12-29 13:55:02 +00:00
augustss
414b3c7766
Always set the PQUIRK_ONLYBIG quirk for SCSI devices.
2001-12-29 13:52:21 +00:00
augustss
276b009425
Introduce a field, busquirks, in the umass quirk table that is passed
...
directly to the quirk field for the bus.
2001-12-29 13:46:23 +00:00
ichiro
a926e1d151
done - Make fwohci detach correctly (for cardbus/etc type interfaces)
2001-12-29 12:28:05 +00:00
ichiro
fc50aac093
implement fwohci detach routine.
2001-12-29 12:26:31 +00:00
augustss
e6bd479028
Add the new names for uhidev.
2001-12-29 10:53:13 +00:00
augustss
59473972d2
Only pull in HID processing if a driver needs it.
2001-12-29 10:50:55 +00:00
ichiro
63a6896a6c
regen
2001-12-29 08:32:06 +00:00
ichiro
78efe121bf
add product
...
IBM Smart Capture Card II
2001-12-29 08:31:01 +00:00
augustss
750a5959b8
Add some missing scan code translations. Docs from Microsoft via Perry Metzger.
2001-12-29 02:53:41 +00:00
christos
49b8e36112
Clean up the C_ and S_ constants. We don't really need two sets of them.
...
Also make the interrupt handler for older 3com cards look like the xl one.
I.e. don't ack the interrupt latch bit before checking if it is set.
At the same time, introduce constants for the watched interrupts, so that
we don't copy them all over the place.
2001-12-28 20:35:46 +00:00
augustss
935b0481a9
Introduce an extra driver level for HID devices, uhidev. This uhidev driver
...
attaches to the hub, and HID drivers (ums, ukbd, and uhid) attach to
uhidev. The reason for this change is that some HID devices report multiple
components (like a keyboard and a mouse) using the same interface, but with
different report identifiers. The report identifier can be specified with
a locator for the HID drivers.
Furthermore, change the ukbd driver to handle other formats than the boot
protocol.
2001-12-28 17:32:36 +00:00
itohy
818f391658
Move this figure to more suitable place:
...
http://www.netbsd.org/Documentation/Hardware/Chips/C-Media/cmi8738-mixer.fig
2001-12-28 14:02:48 +00:00
augustss
f690fc0845
More DIAGNOSTIC.
2001-12-28 00:21:26 +00:00
augustss
3bf49b584d
Add some more #defines.
2001-12-28 00:20:24 +00:00
nathanw
5dbef63175
Use PQUIRK_ONLYBIG for all Olympus cameras, not just the C-1.
...
Use PQUIRK_ONLYBIG for the PQI TravelFlash.
2001-12-27 18:57:46 +00:00
augustss
04ec4ba316
Add some DIAGNOSTIC stuf that I forgot. From Nate Williams.
2001-12-27 18:48:28 +00:00
augustss
f8e03bd53c
Change some DIAGNOSTIC #defines.
2001-12-27 18:43:46 +00:00
itohy
74f17f2922
Analyzed structure of CMI8738/PCI-6ch-* mixer
...
for the benefit of those who edit the driver.
This is a Fig file. Use Xfig to edit/view, use Transfig
package to convert to other graphic formats.
2001-12-27 14:20:30 +00:00
itohy
f741672ddc
Fix comment.
2001-12-27 14:17:04 +00:00
augustss
0df9b7654d
ANSIfy.
2001-12-27 11:28:01 +00:00
augustss
d0f9a76506
Update a comment.
2001-12-27 11:27:11 +00:00
augustss
1f003f1c43
Name collection types.
2001-12-27 11:25:47 +00:00
augustss
81b818b421
Add usbd_get_protocol().
2001-12-27 11:24:42 +00:00
augustss
12560718c5
Files I forgot to remove in last commit.
2001-12-27 11:23:56 +00:00
augustss
996d5c6c26
Be a little more paranoid.
2001-12-26 10:56:58 +00:00
cjs
80c0f36acc
Re-make these after usbdevs update.
2001-12-26 07:18:36 +00:00
cjs
2d1b70cd08
Add ID for memory stick slot in Sony Clie running PalmOS 4.0. This may also
...
be the same for the PalmOS 3.5 versions, but I can't test that.
2001-12-26 04:32:39 +00:00
someya
09638d7a55
add 600 times dummy read from codec for YMF744 (revision < 2).
2001-12-25 16:55:50 +00:00
christos
70e238a1bc
PR/15049: Katsuomi Hamajima: fix memset re-definition.
2001-12-25 14:03:15 +00:00
jmcneill
ff0249d84d
Fix block position calculation in esl_intr.
2001-12-25 04:05:34 +00:00
jmcneill
b0df9e12af
The check for AUMODE_PLAY in esl_set_params was breaking some applications.
...
Remove it.
2001-12-25 03:47:46 +00:00
jmcneill
a89f9c462b
'nintr' from esl_softc was never used -- remove it
2001-12-25 03:46:34 +00:00
jmcneill
c4669fd0d0
Fixes output at 44kHz, 16-bit, stereo. Thanks to Charles Hannum and
...
Lennart Augustsson for providing proper fixes.
2001-12-25 02:37:39 +00:00
augustss
0228f218d3
Add UISDATA_DEBUG.
2001-12-24 21:37:52 +00:00
augustss
213baeaad6
Use the new USB_PRODUCT_ANY match.
2001-12-24 21:36:54 +00:00
augustss
bfc3660fb1
Add some more DIAGNOSTIC tests.
...
Make usb_match_device() match on USB_PRODUCT_ANY.
2001-12-24 21:36:15 +00:00
augustss
c33e730dd9
Get rid of the transfer_speed nonsense to calculate the timeout.
...
We get passed a timeout from the upper layer which is what matters.
2001-12-24 19:24:33 +00:00
augustss
ab7b323efa
Add a preliminary version of a driver for In-System Designs non-standard
...
ATA-over-BulkOnly protocol. The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss
45fc7e27e9
Regen.
2001-12-24 13:40:50 +00:00
augustss
0d60061a8b
Add some more In-System based adapters.
2001-12-24 13:40:31 +00:00
augustss
56b5867371
Make the separation between wire protocol (umass.c) and command protocol
...
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
jdolecek
e71e5045dc
Back off rev. 1.21, this is going to be handled via userland keymap file.
...
Discussed with Martin Husemann.
2001-12-24 12:39:55 +00:00
christos
6e8072d607
enable the card before trying to establish an interrupt because we need the
...
ccr mapped on multi-function cards.
2001-12-24 12:07:27 +00:00
christos
d3d8a33acf
change if defined foo to ifdef foo and change a c++ comment into a c comment.
2001-12-24 09:41:34 +00:00
christos
d0b18148da
make sure that we adjust the end of the subrange if we adjusted the beginning
...
of it, but the offset of the card. Fixes 'cannot map i/o space' on 3c562d
2001-12-24 09:37:53 +00:00
christos
0e9f2d7a35
when we disable, we first disestablish the interrupt and then the card.
...
when we enable, we first configure the card and then establish the interrupt.
This is so that the ccr is mapped on multifunction cards.
2001-12-24 09:30:40 +00:00
jdolecek
a89c5fcfcb
Merge in changes sent by Michael Shalayeff, from OpenBSD port of this driver:
...
- use better default for DAC level (previous produced distorted output)
- preserve DAC setting in between openings
2001-12-23 23:14:59 +00:00
jdolecek
c4e01300ad
Add the AC97_HOST_SWAPPED_CHANNELS quirk for emuxki, and do some
...
whitespace cleanup. Streight from Yannick Montulet.
2001-12-23 22:54:08 +00:00
jdolecek
0a96b4c675
Whitespace cleanup, streight from Yannick Montulet.
2001-12-23 22:52:49 +00:00
ichiro
c4552cab7f
support FUJITSU MB86960/5 based ethernet cards
...
FMV-J181,182,182A
2001-12-23 09:25:19 +00:00
ichiro
766857df86
add FUJITSU MBH10302 specific Registers
2001-12-23 09:21:00 +00:00
ichiro
e5761e3205
regen
2001-12-23 09:11:05 +00:00
ichiro
42ff7db32c
change CIS name
2001-12-23 09:10:39 +00:00
gehenna
59c47ef767
The FujiFilm USB storage drive doesn't have a flex geom page and
...
doesn't know REQUEST SENSE.
2001-12-22 13:29:50 +00:00
gehenna
e1839209b8
Add new quirk: NO_REQUEST_SENSE
...
Submit by: Dave Sainty
2001-12-22 13:21:59 +00:00
elric
bfa5b70752
Hmmm. These were done this year, not 3 years ago.
2001-12-22 01:38:20 +00:00
augustss
3e919c40c7
Regen.
2001-12-21 23:37:41 +00:00
augustss
72d569430d
Fix typo, pointed out by Nathan Binkert.
2001-12-21 23:37:18 +00:00
matt
7ddce9880c
When mapping the consumer assignment, assign db_seg[0] to cb_seg[0] so any
...
private fields are copied as well. Then adjust cb_seq[0] public fields.
This make the DEFPA come up on sparc64.
2001-12-21 23:21:47 +00:00
bjh21
53fbe7ac5d
Correct a few comments and constant names in the light of the actual
...
documentation for this card (which I seem to have).
2001-12-21 22:33:28 +00:00
augustss
c6107a12f8
Add UIRDA_DEBUG.
2001-12-20 17:41:32 +00:00
augustss
4668f40616
Don't forget to call start routine in dongle manipulation.
2001-12-20 11:30:13 +00:00
augustss
28318702e6
Rearrange code that wiggles modem control lines so it actually reaches
...
the com port driver.
2001-12-20 09:26:35 +00:00
thorpej
16c96355a8
Fetch the MAC address from the NVRAM on the SiS 630 built-in Ethernet.
...
Based on PR 14665, Stephen Borrill <netbsd@precedence.co.uk>.
2001-12-20 03:32:31 +00:00
thorpej
f1b4fd111e
Regen; added SiS 630 PCI-Host bridge.
2001-12-20 03:24:58 +00:00
thorpej
694fcc51c0
Add the product ID for the SiS 630 PCI-Host bridge.
2001-12-20 03:24:22 +00:00
bouyer
5938b2bd62
Ops, a Ultra100>=TX2 is always in native mode !
2001-12-18 16:40:51 +00:00
bouyer
787b934e1e
The CMD0649 has 2 truly independant channel. tested by and patch from
...
Love <lha@stacken.kth.se>.
I suspect this is true for the 648 too; if someone with a 648 and one device
on each channel could test that all works with one_channel = 1, it would
be great !
2001-12-18 16:32:54 +00:00
soren
95c864d4f6
Previous was committed by mistake; revert.
2001-12-18 15:50:23 +00:00
augustss
b2a9a2993d
Move utility routine from uirda.c to usbdi_util.c.
2001-12-18 14:50:01 +00:00
ad
6b7cc2a465
Couple more tweaks, probably still not working.
2001-12-18 13:38:48 +00:00
ichiro
214499d236
change routine of device search.
...
mbe_pcmcia_lookup() is introduced
2001-12-18 11:32:47 +00:00
ichiro
62ddf45f47
regen
2001-12-18 11:23:49 +00:00
ichiro
e59b8e538e
add CIS strings of FUJITSU FMV-181,182,182A
...
delete ITCFJ182A, because FMV-182[A] ID is same as ITCFJ182A.
2001-12-18 11:23:24 +00:00
ichiro
57957526e0
Uoo
...
Make it compile.
2001-12-17 14:34:37 +00:00
ichiro
1b0449d255
support BREAK function,
...
keep a value of the last LCR.
2001-12-17 14:31:02 +00:00
ichiro
d5f3329501
In BREAK, the value of LCR is held.
2001-12-17 14:19:39 +00:00
gehenna
7cd101a6ca
Introduce the new umass quirk table.
...
Discussed with augustss.
2001-12-17 12:16:14 +00:00
bouyer
a9f41fe33b
dd support for the Promise Ultra100TX2, Promise Ultra100TX2v2 and Ultra133
...
IDE controllers. In part from OpenBSD via ragge, in part from FreeBSD.
2001-12-16 23:35:52 +00:00
oster
3b488c3f27
Fix an off-by-one error when autoconfig is hunting for a free RAID
...
device in the rare event that the one it wants is already in use.
Thanks to Wolfgang Stukenbrock for noticing the bug and filing the PR.
This fix addresses PR#14862.
2001-12-16 22:57:32 +00:00
thorpej
e53aabcecc
Rename weasel.c to weasel_isa.c in preparation for supporting the
...
PCI version of the Weasel.
2001-12-16 22:35:31 +00:00
thorpej
cf64f893c8
Try again: weasel -> weasel_isa
2001-12-16 22:33:35 +00:00
thorpej
87e8f0c761
Oops, revert previous; it included some other changes there weren't
...
meant to be checked in.
2001-12-16 22:32:07 +00:00
thorpej
b45e326520
weasel -> weasel_isa
2001-12-16 22:30:26 +00:00
thorpej
cb2d65aaf9
Fix a minor typo.
2001-12-16 22:23:01 +00:00
thorpej
23dfa29697
Add the serial port on the Middle Digital, Inc. PCI Weasel.
2001-12-16 22:22:04 +00:00
thorpej
fd8e4d1653
Regen:
...
Add Middle Digital, Inc. vendor ID. Add product IDs for the
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 22:00:41 +00:00
thorpej
f7b4a308a9
Add Middle Digital, Inc. vendor ID. Add product IDs for the
...
Middle Digital PCI-Weasel Virtual VGA, Serial Port, and Control
registers.
2001-12-16 21:59:47 +00:00
soren
3faa83dcb4
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-16 17:53:17 +00:00
ichiro
0a1465a39c
handle vendor and product lookup with common routine
2001-12-16 15:11:19 +00:00
ichiro
10c8cdf485
missing Misc Attribute of PCMCIA functions
...
FUJITSU CF Ether ITCFJ182A supported "Power down"
Power down supply current are 20mA
2001-12-16 06:07:50 +00:00
ichiro
ff638ce5fd
support FUJITSU CF EthernetCard
...
ITCFJ181A
mbe0 at pcmcia1 function 0: Fujitsu J182A Compact Flash Ethernet
mbe0: Ethernet address 00:00:0e:c5:01:ea
2001-12-16 05:44:33 +00:00
ichiro
a4ad95c757
regen
2001-12-16 05:43:16 +00:00
ichiro
dc739ee7b9
add FUJITSU CF EthernetCard
...
ITCFJ181A
2001-12-16 05:42:46 +00:00
tsutsui
7d563fd40e
malloc() + memset() -> malloc() with M_ZERO flag
2001-12-16 04:17:02 +00:00
bjh21
7f32875295
if_media support for the DP83905 AT/LANTIC (a souped-up DP8390).
2001-12-16 00:22:43 +00:00
bjh21
c72d5d40dd
Add code to support the bugged Macronix MX98905 chip, as used in several
...
podulebus Ethernet cards. This replaces the NE2000 memory-access routines
with ones that don't try to transfer more than 255 bytes at a time.
This code should perhaps be merged into ne2000.c, but presumably most NE2000
clones won't need it.
2001-12-15 17:47:34 +00:00
soren
875bff0962
To make dev/pcmcia work on platforms with 64-bit bus_addr_t and
...
32-bit bus_size_t (sparc), change the pcmcia_mem_map(9) offsetp
argument to bus_size_t as it is used as a bus_space offset.
2001-12-15 13:23:20 +00:00
soren
3514260fd4
Regen.
2001-12-15 13:18:10 +00:00
soren
c425f6ea72
Add Cologne Chip Designs ISDN controller.
2001-12-15 13:17:49 +00:00
soren
e324e87ca8
Fix typo in comment.
2001-12-15 12:01:55 +00:00
soren
3022b71f80
Correct copyright header.
2001-12-15 11:45:24 +00:00
soren
df984ecc52
Use bus_size_t's for bus space read/write offsets.
2001-12-15 11:41:09 +00:00
explorer
6b9f60a2db
install into /usr/include/dev/ir, since Jason made irdaattach look here.
2001-12-15 01:03:28 +00:00
augustss
c6df7d4358
Regen.
2001-12-15 00:31:43 +00:00
augustss
385b05e2f9
Add another Altima PHY. From Peter Seebach.
2001-12-15 00:31:03 +00:00
augustss
c70fc55cba
Add a hack for ScanLogic SL11R IDE adapter. From FreeBSD.
2001-12-15 00:26:14 +00:00
augustss
3a31906841
Regen.
2001-12-15 00:25:00 +00:00
augustss
4a4ae0b6b7
YAD.
2001-12-15 00:15:01 +00:00
augustss
18c6adb0b6
YAD (Yet Another Device)
2001-12-15 00:07:45 +00:00
augustss
f79701e3fa
Regen.
2001-12-14 23:57:00 +00:00
augustss
154a59571d
Add SS1001.
2001-12-14 23:56:42 +00:00
augustss
356c54687b
Integrate fix from PR 10155.
...
Add ACCTON SS1001.
2001-12-14 23:56:21 +00:00
nathanw
8d1585affa
The Olympus C-1 engine cameras seem to need the PQIRK_ONLYBIG quirk.
2001-12-14 22:15:52 +00:00
augustss
74a0c5db97
Remember to add header byte to length.
...
Use fewer magic constants.
(The driver works now.)
2001-12-14 15:44:04 +00:00
augustss
342a82f2dd
Start read at open.
...
Don't send new header when nothing changes.
(But uirda is still not working.)
2001-12-14 13:07:33 +00:00
augustss
7f50d17c46
Sanity check speed setting.
2001-12-14 12:57:30 +00:00
augustss
142cdc8997
Rearrage softc a little.
2001-12-14 12:56:58 +00:00
augustss
aa89e69702
Don't reallocate I/O buffers.
2001-12-14 12:08:14 +00:00
augustss
d787f49ee6
Fix descriptor definition bug.
...
Clear endpoint stall on error.
2001-12-14 12:02:53 +00:00
bjh21
2ee0431a3d
Register definitions for the NatSemi DP83905 AT/LANTIC, as used in many
...
podulebus Ethernet cards.
2001-12-14 10:16:03 +00:00
gehenna
f144837e0e
Stylistic changes
2001-12-14 08:58:49 +00:00
gehenna
2d27ad7c73
Define a new structure to store wire specific control methods.
...
The basic BBB/CBI functions are stored as members of constant structure.
When attached device, softc holds one of that constant structures.
2001-12-14 08:46:19 +00:00
ichiro
69424fd268
typo fix
2001-12-14 08:33:54 +00:00
gehenna
49bba69842
Use device handle and interface number which are stored in softc.
2001-12-14 06:21:56 +00:00
gehenna
53f34def69
Change style to store endpoint addresses and pipes.
2001-12-14 05:58:13 +00:00
mjacob
219d22404b
Major restructuring for swizzling to the request queue and unswizzling from
...
the response queue. Instead of the ad hoc ISP_SWIZZLE_REQUEST, we now have
a complete set of inline functions in isp_inline.h. Each platform is
responsible for providing just one of a set of ISP_IOX_{GET,PUT}{8,16,32}
macros.
The reason this needs to be done is that we need to have a single set of
functions that will work correctly on multiple architectures for both little
and big endian machines. It also needs to work correctly in the case that
we have the request or response queues in memory that has to be treated
specially (e.g., have ddi_dma_sync called on it for Solaris after we update
it or before we read from it).
One thing that falls out of this is that we no longer build requests in the
request queue itself. Instead, we build the request locally (e.g., on the
stack) and then as part of the swizzling operation, copy it to the request
queue entry we've allocated. I thought long and hard about whether this was
too expensive a change to make as it in a lot of cases requires an extra
copy. On balance, the flexbility is worth it. With any luck, the entry that
we build locally stays in a processor writeback cache (after all, it's only
64 bytes) so that the cost of actually flushing it to the memory area that is
the shared queue with the PCI device is not all that expensive. We may examine
this again and try to get clever in the future to try and avoid copies.
Another change that falls out of this is that MEMORYBARRIER should be taken
a lot more seriously. The macro ISP_ADD_REQUEST does a MEMORYBARRIER on the
entry being added. But there had been many other places this had been missing.
It's now very important that it be done.
For NetBSD, it does a ddi_dmamap_sync as appropriate. This gets us out of
the explicit ddi_dmamap_sync on the whole response queue that we did for SBus
cards at each interrupt.
Set things up so that platforms that cannot have an SBus don't get a lot of
the SBus code checks (dead coded out).
Additional changes:
Fix a longstanding buglet of sorts. When we get an entry via isp_getrqentry,
the iptr value that gets returned is the value we intend to eventually plug
into the ISP registers as the entry *one past* the last one we've written-
*not* the current entry we're updating. All along we've been calling sync
functions on the wrong index value. Argh. The 'fix' here is to rename all
'iptr' variables as 'nxti' to remember that this is the 'next' pointer-
not the current pointer.
Devote a single bit to mboxbsy- and set aside bits for output mbox registers
that we need to pick up- we can have at least one command which does not
have any defined output registers (MBOX_EXECUTE_FIRMWARE).
Explicitly decode GetAllNext SNS Response back *as* a GetAllNext response.
Otherwise, we won't unswizzle it correctly.
Nuke some additional __P macros.
2001-12-14 00:13:44 +00:00