Commit Graph

12137 Commits

Author SHA1 Message Date
augustss 0694a51a97 Add 82201CA to the chip table. 2002-01-14 01:35:39 +00:00
augustss ef12cd1620 Change some names that I added earlier. 2002-01-14 01:35:05 +00:00
augustss 27a315e2c8 Add i830M to the chip list. 2002-01-14 01:29:13 +00:00
augustss a80d13d476 Cosmetic error message fix. 2002-01-13 19:40:51 +00:00
augustss e4f23fb652 Add code to handle PCMCIA cards placed on a PCI card with the PLX chip.
From OpenBSD and FreeBSD.
2002-01-13 19:38:25 +00:00
tsutsui cf839323de Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-13 19:28:06 +00:00
jandberg 2089bcf9c1 added amiga display/mouse/keyboard defines 2002-01-13 18:05:50 +00:00
christos f9b7ffe292 Add LBA48 support based on patches from Keisuke YOSHIDA. KNF a bit while
I am there.
2002-01-13 17:24:28 +00:00
jmcneill e52f30dc7a Every card I've seen has had their channels swapped with respect
to the mixer. Ie:
 $ mixerctl -w outputs.master=0,191
Would result in the _right_ speaker being turned off.

So, we will swap the left and right mixer channels to compensate
for this.
2002-01-13 15:07:28 +00:00
jmcneill a3e1dd7338 Remove unnecessary (also unused) AC'97 definitions -- they already exist
in syssrc/sys/dev/ic/ac97reg.h.
2002-01-13 14:48:01 +00:00
jmcneill 4d4665161a Use malloc's M_ZERO flag instead of malloc/memset. 2002-01-13 14:44:15 +00:00
takemura 3d94c421cc Added new config hook type PCIINTR (handling PCI interrupt).
Added config hook APIs, config_connect, config_disconnect and
config_connected_call.
Supported PCIINTR type event in hpcio.
2002-01-13 14:00:38 +00:00
aymeric 36fb148d72 Remove the quirks I added for an ethernet card I have.
This ``quick fix'' shall not make it into a release, and the problem doesn't
come from the card but rather from my laptop.
2002-01-13 12:28:02 +00:00
aymeric 2968e4165f add Edimax Technology Inc. EP4000A
add another Linksys Etherfast clone (Level One)
2002-01-13 10:41:11 +00:00
aymeric 2ae5495943 regen 2002-01-13 10:39:33 +00:00
aymeric 0e264923e6 add Edimax Technology Inc. PCMCIA Ethernet Card 2002-01-13 10:38:47 +00:00
pooka 284103af4a Add support for the driver to work after suspend/resume. Does nothing
fancy, works for the basic output case, but does not support programs
which use playback while going into suspend.

Sketched after code found in FreeBSD and Linux drivers.
2002-01-13 10:06:51 +00:00
pooka 2e156f09dc * add power definitions
* fix a few (hidden) typos in the definitions
2002-01-13 10:02:58 +00:00
takemura 9ea4be44f4 Number of elements in button_config is smaller than CONFIG_HOOK_MAX_ID. 2002-01-13 08:28:27 +00:00
augustss 1a2fda613e Regen. 2002-01-13 03:14:22 +00:00
augustss 99d55e5ea2 Add 3Com 3crwe777a AirConnect. 2002-01-13 03:13:39 +00:00
bouyer f03445a59f For fixed block drive, for invalid sense error code, set info to
xs->datalen / st->blksize instead of xs->datalen; as code assume later
that info is a block number.
Should fix kern/2727.
2002-01-12 20:30:11 +00:00
tsutsui e6f8529d26 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:58:16 +00:00
tsutsui c12b5c180d Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:41:02 +00:00
tsutsui 1267bddc09 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:29:30 +00:00
tsutsui b87a051ec8 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:17:05 +00:00
tsutsui 84926576f1 Call malloc(9) with M_ZERO flag instead of memset() after malloc(). 2002-01-12 16:03:11 +00:00
enami 68f9f4a5d4 Make ehci_pci.c compiles again. 2002-01-12 02:06:23 +00:00
enami 0cd298f02e Skip not yet emulated 8bit ulinear encoding correctly. 2002-01-12 00:13:42 +00:00
jdolecek 1511af3e96 Resurrect the 'sc->sc_sbdsp.sc_dev.dv_cfdata = match' in pasprobe(),
it's needed for sbdsp.c:sbdsp_probe().
2002-01-11 17:45:10 +00:00
jdolecek 3c9a8d7d19 Fix fallout from previous - the 'sc->sc_dev.dv_cfdata = match' needs
to be retained, it's referenced in sbdsp.c:sbdsp_probe().
2002-01-11 17:33:01 +00:00
haya 1e4fff76f0 Bug fix: correct chattering suppressor. Card insertion will be
detected properly by this fix.
2002-01-10 10:30:08 +00:00
someya 02501f9aa4 remove a unnecessary message print 2002-01-10 10:17:55 +00:00
augustss 43aeee0fe8 Split out some code so you can have cardbus ehci without pci. 2002-01-09 22:56:22 +00:00
drochner 5e6cfa6a09 print link status changes to the console 2002-01-09 19:37:02 +00:00
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