augustss
2f1f0a1702
Major rototilling of the wsmux code. No user visible changes (except that
...
many bugs have been fixed).
Changes:
The wskbd, wsmouse, and wsmux are now "sub-classes" of wsevsrc, which is
a source of ws events. This make the structure of those drivers a little
more uniform.
Many bug fixes involving adding and removing devices from muxes.
When a kernel is configured without wsmux there will now be none (unlike
before where you got a console mux anyway).
The kernel now compiles with all combinations of ws devices present.
2001-10-24 14:07:31 +00:00
augustss
1c11481abf
More null pointer checks in dump routine.
2001-10-24 00:42:05 +00:00
thorpej
9b17b651ee
Regen; Add product IDs for the Powerhouse Systems PowerPro and PowerTop
...
PowerPC system controllers.
2001-10-24 00:19:21 +00:00
thorpej
7bbddedbbd
Add product IDs for the Powerhouse Systems PowerPro and PowerTop
...
PowerPC system controllers.
2001-10-24 00:18:49 +00:00
thorpej
d9756b0f59
Regen; more Intel Gig-E fixup, and add Intel i82544 IDs.
2001-10-24 00:14:47 +00:00
thorpej
1d548d2778
More Intel Gig-E ID fixups, and add Intel i82544 Gig-E IDs.
2001-10-24 00:13:41 +00:00
mjacob
d0c3b71a47
tra-la, another QLogic f/w funny- this time with the 2300.
...
If we get a completion status of RQCS_QUEUE_FULL, it means
that the internal queues are full. Other QLogic boards set
the QFULL SCSI status. But *nooooooooooo*, not the 2300.
2001-10-23 23:21:00 +00:00
augustss
d9f173b146
Make it compile with debug on.
2001-10-23 17:58:15 +00:00
mjacob
8dd789d511
Comment out some redundant initializations to zero.
2001-10-23 16:24:33 +00:00
itohy
361bb97359
Support panpot on OPL3. Now this device is a stereo instrument.
2001-10-23 13:09:43 +00:00
jdolecek
7a27cbb4a3
De-__P()ify. Suggested by Lennart Augustsson.
2001-10-22 20:31:26 +00:00
mrg
3059c66d8f
fix a typo in the previous
2001-10-22 16:47:43 +00:00
bouyer
6721892796
Forgot to add __attribute__((__packed__)) to one hardware structure.
2001-10-22 16:45:28 +00:00
mrg
c4f3ffd5e7
increase the value of _HME_NDESC from 32 to 128. it reduces the noise the
...
driver makes due to various bad status conditions.
2001-10-22 16:45:20 +00:00
mrg
1578242c1a
use _KERNEL_OPT so this can be built as an LKM.
2001-10-22 16:43:55 +00:00
bouyer
da77194a02
We can't have XS_CTL_DATA_OUT and XS_CTL_DATA_IN at the same time.
...
Pointed out by Bernd Ernesti.
2001-10-22 16:16:00 +00:00
thorpej
2bc9b4e2be
Remove hack to skip OFW nodes which don't correspond to devices. These
...
are generally only at the toplevel of the OFW tree, and are best handled
by the code that configures the toplevel (which often needs special
handling anyway).
2001-10-22 14:36:55 +00:00
mjl
51a4b6098f
Add ST15150N to quirk table, as per PR/13817.
2001-10-21 23:25:04 +00:00
mjl
bea8701ec4
Add Corega PCC-TD, as per PR/14161
2001-10-21 23:18:50 +00:00
mjl
bd2ba73f5b
Regen
2001-10-21 23:17:37 +00:00
mjl
cb19665fbc
Add Corega PCC-TD, as per PR/14161
2001-10-21 23:16:48 +00:00
jmc
97deb18c10
Wrap ifdef's cleaner so wsmouse_[add|rem]_mux only get pulled in if NWSMUX > 0.
2001-10-21 23:04:57 +00:00
thorpej
d1e191d848
Reserve one descriptor at the end of the ring as a termination point,
...
to prevent the producer index from getting confused.
2001-10-21 20:45:15 +00:00
thorpej
5f6fd54ec7
Add a config flag (0x02) that can force DMA to be *disabled* on
...
chipsets for which it would otherwise be enabled by default.
2001-10-21 18:55:14 +00:00
thorpej
132fdb30e6
Make the various timing, etc. tables const, and add the __unused__
...
attribute to them, just in case something other than the pciide driver
proper needs to pull in the header.
2001-10-21 18:49:19 +00:00
mjacob
033f1aaf8d
Update to latest 12160 initiator firmware.
2001-10-20 21:52:24 +00:00
mjacob
5522109c39
Protect against deranged fabric nameservers that spit out 10000 identical
...
port numbers.
2001-10-20 18:37:54 +00:00
thorpej
8f0b837cd4
gem_init(): Don't call gem_mii_statchg() directly. Instead, call
...
gem_mediachange(). This will cause gem_mii_statchg() to be called
by the MII layer with the correct MII media state, so that speed
duplex parameters will be set properly.
2001-10-20 18:25:52 +00:00
mjl
a9ec452d57
Add Corega PCCB-11, as per PR/14298
2001-10-20 15:31:25 +00:00
mjl
8e7e3408b5
Regen.
2001-10-20 15:29:04 +00:00
mjl
259caf9257
Add Corega PCCB-11, as per PR/14298
2001-10-20 15:28:45 +00:00
billc
0b357f290a
FCS check and padding for minimum size Ethernet packet
2001-10-20 08:19:47 +00:00
nathanw
48bdb0d067
Match printers that report their interface as IEEE 1284 in addition to
...
bidirectional.
2001-10-19 15:30:25 +00:00
jdolecek
d9e921bd84
Fix obviously wrong printf() format in pci_intr_establish() failure case.
...
Pointed out by Chuck Silvers.
XXX This has compiled without a warning for me - what's up?
Add sc->sc_dev.dv_xname in another failure printf()
2001-10-18 19:15:38 +00:00
jdolecek
d520fe96ee
add emuxki
2001-10-18 17:45:15 +00:00
uch
a6952fe242
add device name used by playstation2 (gsfb, sbus, smap, spd)
2001-10-18 16:18:45 +00:00
wiz
7c90b959da
Fix check in device open.
...
Patch by KUROSAWA Takahiro in kern/14289.
2001-10-18 16:08:05 +00:00
thorpej
5d51f988c6
Yet more cruft removal.
2001-10-18 15:19:21 +00:00
thorpej
62577b1c53
Remove more cruft left over from copying bits of other drivers.
2001-10-18 15:09:15 +00:00
thorpej
dcd30fd216
Add a missing return statement in an error case, and g/c some
...
cruft that's not relevant in the PCI world.
2001-10-18 06:29:55 +00:00
thorpej
c616253896
Remove some more stuff left over from copying bits of the HME driver.
2001-10-18 06:28:17 +00:00
thorpej
d44a5ae87c
Remove some unneeded stuff from the gem_pci_softc.
2001-10-18 06:14:33 +00:00
thorpej
c559c94a45
Add goo to fetch the MAC address from OpenFirmware on the macppc
...
port. Copied from the macppc "gmac" driver, but otherwise untested.
2001-10-18 03:55:07 +00:00
thorpej
285d37822b
- The GEM registers are always memory type registers. Don't use a
...
broken hueristic to determine memory vs. i/o (one should never make
an assumption that the bus_space_tag_t is a pointer, as this code
did).
- Fix the "can't map registers" error message.
- Garbage-collect some code that is not relevant to the GEM (which
was already #if 0'd out).
- Cluster all the SPARC-specific code into one place (will be
replaced with Properties once that is fleshed out).
2001-10-18 03:48:48 +00:00
thorpej
bfda843574
Manipulate the Tx desc pointer as 2 32-bit values, just as
...
we do with the Rx desc pointer, both for consistency, and
for platforms which don't have bus_space_*_8().
2001-10-18 03:33:33 +00:00
thorpej
397a84f51a
Fix the semantics of __PCI_DEV_FUNCORDER so that they're actually useful:
...
If __PCI_DEV_FUNCORDER is defined, don't do the song-and-dance to check if
a device is multi-function; machdep code is going to tell us exactly which
functions to probe.
Note this required changing how pci_func_devorder() works in the
sparc64 PCI machdep code; now the "curnode" is assumed to point
to the bus, rather than some function (typically 0) on the device,
just as pci_bus_devorder() makes that assumption.
All this should allow the PCI code to actually locate the second
HME device on a Sun Netra t1, which is at 3,1 -- previously, the
PCI code would have missed it because there is no device at 3,0.
(Sun deserves a brick to the head for this one -- this seems clearly
out of line with the PCI spec.)
2001-10-17 22:16:41 +00:00
jdolecek
d4df209cbd
Add driver for Creative Labs SBLive! EMU10000, possibly also PCI512.
...
Written by Yannick Montulet (thanks!), with only couple minor touches by me.
2001-10-17 18:39:41 +00:00
ichiro
190ebf4d1f
regen
2001-10-17 15:44:50 +00:00
ichiro
b45d3009cf
add Dallas Semiconductor product
...
USB-FOB/iBUTTON
2001-10-17 15:44:22 +00:00
haya
5f75bfa4ba
Move some chip initialise code into pccbb_chipinit() function.
2001-10-17 10:25:51 +00:00
christos
070d583bb3
PR/14256: Kevin P. Neal: Add quirk for micropolis drive.
2001-10-16 13:33:02 +00:00
tron
b7ca23147b
Add UDMA/100 support for SiS chipsets 645, 650 and 730.
2001-10-16 08:22:50 +00:00
tron
5858458732
Regen.
2001-10-16 08:15:01 +00:00
tron
7c4f946401
Add host bridges of SiS 645, 650 and 730 chipsets.
2001-10-16 08:14:15 +00:00
tron
40dc031852
Add missing timings for Ultra DMA modes 3 to 5 on SiS hostadapters.
...
Problem pointed out by IWAMOTO Toshihiro on "tech-kern@netbsd.org".
2001-10-16 08:10:24 +00:00
minoura
1f7386b8aa
#include mulaw.h for converter functions prototypes.
2001-10-16 04:36:56 +00:00
augustss
3527006336
Don't use wsmux_getmux() if we NWSMUX == 0. Fixes PR kern/14252.
...
This is only a stop gap measure until the real wsmux changed get in.
2001-10-15 21:51:33 +00:00
veego
8d71019a14
Fix a pasto in the last revision.
2001-10-14 21:49:00 +00:00
bouyer
69fff4726e
Refuse to register a callback if the completion thread isn't started yet.
2001-10-14 21:17:41 +00:00
bouyer
ea29ee7d56
Call siop_morecbd() only when scsipi ask us ADAPTER_REQ_GROW_RESOURCES.
...
This prevent using bus_dmamem_map() from interrupt context.
Should fix kern/13827.
2001-10-14 20:37:28 +00:00
bouyer
a84535fd3e
Call ADAPTER_REQ_GROW_RESOURCES from the completion thread, if possible.
...
This allows HBA drivers to call bus_dmamem_map() safely.
2001-10-14 20:31:24 +00:00
christos
d9b3639de6
quirk for panasonic adapter.
2001-10-14 19:21:45 +00:00
bouyer
ce6aaa187a
Split channel flags in chan_flags used for communications between
...
scsipi and HBA, and chan_tflags used for communications between scsipi
and its kernel thread. No functionnal change.
2001-10-14 19:03:43 +00:00
christos
bc0ae7328a
Regen.
2001-10-14 18:09:42 +00:00
christos
19c27f0e0d
add another cdrom. The box says fujitsu, but the guts seem to be panasonic.
...
Mmm, inbreeding.
2001-10-14 18:09:22 +00:00
ichiro
9ad1f29f64
The description about soft-reset of WI_PCI_COR was added
...
and WI_PCI_SOFT_RESET was used.
Cosmetic change.
2001-10-14 12:33:18 +00:00
tron
1e022c27b4
Use UDMA/100 on SiS 735 chipset.
2001-10-14 11:21:10 +00:00
chs
5a41496a04
avoid overflow in timeout calculations.
2001-10-14 00:32:33 +00:00
augustss
5da06efad4
Allow for control devices (minor+128) to make it possible to manipulate
...
muxes that are in use.
Create muxes on demand.
2001-10-13 20:03:38 +00:00
augustss
ad74203973
Fix a pasto.
2001-10-13 19:58:35 +00:00
augustss
2efffa7ad7
Fix a (very old) pasto.
2001-10-13 19:56:09 +00:00
augustss
b079ab789b
ANSIfy.
2001-10-13 16:05:42 +00:00
augustss
04b1440239
Use memset(), not bzero().
2001-10-13 15:59:01 +00:00
augustss
82e5e6ab85
ANSIfy.
2001-10-13 15:56:15 +00:00
ichiro
cbcfff63ec
Add Intersil Prism2.5 Mini-PCI wavelan.
2001-10-13 15:00:23 +00:00
augustss
d701e45c14
Two changes to the wsmux code:
...
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.
2001-10-13 13:35:59 +00:00
ichiro
c0e7956031
regen.
2001-10-13 07:44:21 +00:00
ichiro
8afd8ee7a9
add vendor & product ID
...
Intersil PRISM2.5 Mini-PCI WLAN
2001-10-13 07:43:42 +00:00
haya
727e8d4a04
Bugfix: re-order double buffer only when second buffer exists.
2001-10-12 09:27:23 +00:00
enami
de085459c1
Fix printf format.
2001-10-12 07:30:23 +00:00
tron
eea6d83f4b
Regen.
2001-10-11 14:31:58 +00:00
tron
fa5ea802e9
Add host bridge of the SiS 735 chipset.
2001-10-11 14:30:21 +00:00
augustss
9ba9477c1a
Regen.
2001-10-11 12:05:39 +00:00
augustss
9ec0bc09c1
Add Epson 1650.
2001-10-11 12:05:10 +00:00
ad
08632b145a
Back out previous - it causes panics.
2001-10-10 09:33:36 +00:00
mjacob
c0018ebdfe
The flow control registers are 16 bits wide, not 32.
2001-10-10 03:41:24 +00:00
augustss
a969ff5460
Add a reference counter to avoid blowing away the softc while frobbing
...
the MII registers.
2001-10-10 02:14:16 +00:00
imp
407046e784
Resync after the sort
2001-10-09 03:18:37 +00:00
imp
e23b40707e
Sort in a sane way. This file had become somewhat disordered over
...
time. Vendors are sorted by number. Vendors are grouped
alphabetically, with entries within a vendor's group arranged
numerically. CIS entries sorted alphabetically by identifier.
2001-10-09 03:17:22 +00:00
uch
db344ecd7b
fix PERSONA keymap. patch by KIYOHARA Takashi
2001-10-08 15:35:06 +00:00
augustss
adfbf61e48
Regen.
2001-10-08 03:38:24 +00:00
augustss
3d25ac0f24
Add some more Ethernet adapters (info gleaned from Linux).
2001-10-08 03:37:53 +00:00
augustss
4e23e486b8
Regen.
2001-10-07 22:31:02 +00:00
augustss
cafdfc900c
Add Epson 640U. From Chris Baird <cjb@brushtail.apana.org.au>
2001-10-07 22:30:33 +00:00
itohy
7903b5cda4
fix typo (two -> to)
2001-10-07 10:14:42 +00:00
mjacob
6349e2e63a
Fix various 2300 GB issues related to chip errata and documentation
...
misunderstandings. We also now can report our connection rate.
2001-10-06 20:34:49 +00:00
mjacob
daf0329c3c
Respect QLogic's errata- read BIU_ISR even on the 2300
...
to see if there's an interrupt (avoids PCI parity errors
which can occur on the 2312 if you access some registers
from the host at the same time the RISC on the 2312 is
accessing them).
2001-10-06 20:33:24 +00:00
pooka
ac8c8ee3fd
regen; iPAQ
2001-10-06 15:03:34 +00:00
pooka
c70a35c897
iPAQ PocketPC
2001-10-06 15:02:22 +00:00
thorpej
01b2f9b5c4
Remove and unnecessary cast, and avoid a memory leak in the event
...
allocation of the GATT fails.
2001-10-06 02:48:50 +00:00