Commit Graph

14861 Commits

Author SHA1 Message Date
perry c0eb24419a support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932 2003-03-29 16:47:27 +00:00
he f8cb6d60a7 Allow this file to be included if either of audio, midi or midibus
is non-zero (earlier only allowed it if audio was non-zero).  Fixes
build problem seen on the prep port.
2003-03-29 13:57:43 +00:00
dyoung 243f751604 Support so-called "PLX" bridge for wi(4). From FreeBSD via Simon
Burge. Simon writes,

"Here's the patch that Grant and I have been using on a combinations of
architectures and both NetBSD 1.6 and -current.

"This is based on FreeBSD - look for
        /* We have to do a magic PLX poke to enable interrupts */
in
        http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi_pci.c
2003-03-29 03:25:22 +00:00
perry 935d1a04e3 Fix PR/20903 for real.
Identical patches supplied by:
Masuda Hideo <h-masuda@ootani.nagata.kobe.jp>
Christopher SEKIYA <wileyc@rezrov.net>
2003-03-28 13:58:40 +00:00
perry 964bf1e7f5 ifdef out something dependent on PCI_VENDOR_COREGA for now. 2003-03-27 20:09:07 +00:00
drochner ba0f309a91 Before checking the (Intel specific) SCR_T4 register, make
sure the chip implements 100T4 (in BMSR).
The 82562 (which doesn't implement 100T4) has the SCR_T4 bit
(always?) set, which led to wrong media status reports.
approved by thorpej
2003-03-27 19:36:49 +00:00
yamt 77312f97f8 read-only configuration support. 2003-03-27 15:34:36 +00:00
perry 3086473c25 Tell driver to accept the Corega CGWLPCIA11.
Submitted by h-masuda@ootani.nagata.kobe.jp in PR #20903
2003-03-27 14:43:30 +00:00
ichiro cb6506defc regen 2003-03-27 12:20:07 +00:00
ichiro 26d61dcb91 add product TOSHIBA PA2673U CBIDE2 (IODATA OEM) 2003-03-27 12:19:44 +00:00
dyoung bfdccc21aa 802.11 MLME-JOIN.request is an abstract MAC function that is not
necessarily exposed to the host, so Lucent/Agere/whatever is correct
in not supporting it.
2003-03-27 07:22:47 +00:00
matt 8909c240f2 Add GT_PCI{0,1}_{IO,MEM}{SIZE,START} options 2003-03-27 07:21:30 +00:00
matt caff52554f Only print IRQ is it's not the default value. 2003-03-27 07:20:48 +00:00
dyoung 016e6c270f HostAP broke in version 1.4.2 of station firmware. Try 1.3.x, 1.4.9,
or later.
2003-03-27 05:00:21 +00:00
dyoung 913d1b877a Cosmetic: move sc_reset closer to its siblings sc_disable and sc_enable. 2003-03-27 04:53:52 +00:00
dyoung 404d2ac6e8 Introduced sc_reset to wi_softc. The bus-specific front-end gets
to fill this.
2003-03-27 04:34:16 +00:00
thorpej ecb44c329e Add PCI VPD access routines. From psi.cz!freza, PR kern/20889. 2003-03-25 21:56:20 +00:00
tsubai 2a1daaf4ea Regen. 2003-03-25 18:30:14 +00:00
tsubai f95ee615c8 Add new Apple devices. 2003-03-25 18:28:15 +00:00
mjacob 183d384362 Fix even stupider fix. It was, in fact, right the first time. Add
a comment clarifying things.
2003-03-25 06:25:35 +00:00
matt 0e5392f73f Make reset delay depend on the baud rate. 2003-03-24 20:03:23 +00:00
matt bd800e6684 Fix tyops. Add 2 defines. 2003-03-24 17:03:18 +00:00
matt a69a0868cc Make gtmpsc configurable via config file. (baud rate source, frequency). 2003-03-24 17:02:14 +00:00
matt a09a7e1927 Update bpf interface to current. Make output buffers aligned to a
cacheline bounary.  Only put hash table and descriptors in uncached
memory, buffers are in cached memory.
2003-03-24 17:00:54 +00:00
pk 3592333cbb #include <sys/lock.h> 2003-03-24 14:46:00 +00:00
tron ea710d8119 Don't print a kernel message like "bge0: gigabit link up" when a Gigabit
link is detected. No other ethernet driver does this and this driver
doesn't do it for other modes.
2003-03-24 12:06:05 +00:00
drochner 4b3ca2b813 Remove an aprint_normal() so that the output looks reasonable
at least in the non-error case.
(The aprint_* stuff makes it hard to keep track of newlines and
device name tags, and it suffers from lack of rules.)
2003-03-24 09:12:55 +00:00
ragge a6f8cf96f1 Add rfc/rf. 2003-03-23 11:03:04 +00:00
ragge 281464eb81 Driver for RX01/02 floppies, written by Jochen Kunz. 2003-03-23 11:01:16 +00:00
simonb ea65230233 Regen: Add device id for Trumpion T33521. 2003-03-23 00:58:16 +00:00
simonb 3dd66de041 Add device id for Trumpion T33521 (used in (at least one) Creative MP3
player, almost attaches as a sd@umass).
2003-03-23 00:57:15 +00:00
thorpej 8f70c6754b Add a work-around for the "short cable problem" that some DP83815
revisions have, as discussed on the soekris-tech mailing list a
while ago, whereby one can experience excessive recieve erros when
using < 30m cables.  The patch detects overflow in a DSP filter
parameter, and corrects it by writing a known good value.
2003-03-23 00:56:15 +00:00
matt d641dc322f Don't malloc channel_queue, put it in the softc instead. 2003-03-22 20:09:35 +00:00
matt 3a494ed040 Don't malloc the channel_queue, put it in the softc. Print modes too. 2003-03-22 20:05:20 +00:00
matt 7ba7388e87 Don't malloc channel_queue, put it in the softc. 2003-03-22 20:01:05 +00:00
matt 0d90a1db08 No reason to malloc channel_queue, put it in the softc instead. Clean up
a few other things while here.
2003-03-22 19:57:14 +00:00
jdolecek 36dc52ad95 regen - add 3Com TCM6790 entry 2003-03-22 14:31:28 +00:00
jdolecek eede41c54a add TCM6790 entry 2003-03-22 14:30:48 +00:00
nakayama 14a2f27862 Make it compile in big endian. 2003-03-22 11:32:38 +00:00
nakayama a8e1b2f5c5 PCI-CardBus bridge support for sparc64:
- add pccbb_attach_hook in pccbbattach for MD initializations.
- omit arithmetics to bus_space_handle_t.
- remove use of IST_LEVEL; not defined on sparc64 and unused.
2003-03-22 06:25:14 +00:00
nakayama 64f7818314 PCI-CardBus bridge support for sparc64:
- use u_long for extent_alloc_subregion result instead of bus_addr_t.
  (sizeof u_long != sizeof bus_addr_t on 32bit kernels of sparc64)
2003-03-22 06:18:22 +00:00
dsl bd99e3429d Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL
and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
2003-03-21 23:11:19 +00:00
thorpej 3f2184def7 Work around a buggy PHY in some Seagate S-ATA drives which get confused
by the way some S-ATA controllers packetize data when the sector count of
the transfer mod 15 is 1.
2003-03-21 22:40:56 +00:00
dsl 60418b39b7 Change 'data' argument to fo_ioctl and fo_fcntl from 'caddr_t' to 'void *'.
Avoids a lot of casting and removes the need for some line breaks.
Removed a load of (caddr_t) casts from calls to copyin/copyout as well.
(approved by christos - he has a plan to remove caddr_t...)
2003-03-21 21:13:50 +00:00
mjacob 2b72827e41 Fibre Channel doesn't need bus reset settle time. 2003-03-21 18:05:16 +00:00
uwe f6280fb246 Add igsfb. 2003-03-21 09:59:30 +00:00
thorpej 35b45642d8 Regen; add more LSI MPT IDs. 2003-03-20 05:50:12 +00:00
dbj 1820cd2e5c use PRId64 to printf bp->b_blkno, which is of type daddr_t 2003-03-20 05:49:21 +00:00
thorpej 5d2e1c600f Add some more LSI MPT IDs. 2003-03-20 05:49:20 +00:00
thorpej d7e289bb70 Add support for the Silicon Image SATALink 3112 Serial ATA controller. 2003-03-20 04:22:49 +00:00
christos fb66693ce7 It is not appropriate for pcivar.h to include "locators.h"
The two files that need it, should include it themselves.
2003-03-19 17:56:58 +00:00
bouyer a9065a3962 tl(4) supports ETHERCAP_VLAN_MTU. 2003-03-19 17:23:26 +00:00
augustss ca5deec209 Regen. 2003-03-19 16:22:46 +00:00
augustss 9f3758dce4 Add an NHJ camera. 2003-03-19 16:22:24 +00:00
thorpej a3e379d70c Fix pasto. 2003-03-19 15:13:57 +00:00
jdolecek 01c5cb6a8b add a compile-time check that audio(4) was actually configured into kernel
assumption here is that all (and only) audio device drivers include this header
adresses PR kern/11508 by Thomas Klausner
2003-03-19 10:53:40 +00:00
matt 0e4975df24 Split PCI initialization out of attach hook. 2003-03-18 19:32:46 +00:00
matt 923175a28a remove some unneeded code. 2003-03-18 15:09:28 +00:00
matt ee2ba43d39 Enable I/O & memory access too. 2003-03-18 15:00:00 +00:00
matt 8fb546ff67 Do minimal initialization of PCI. 2003-03-18 05:51:51 +00:00
matt 051e31601c Derive baud rate from cpu_timebase on powerpc. 2003-03-18 05:50:02 +00:00
thorpej b1469da17f Add register definitions for the Intel i31244 Serial ATA controller. 2003-03-18 01:41:54 +00:00
thorpej 97cbf6847d Add very basic support for the Intel i31244 Serial ATA controller.
We only support legacy (i.e. PCI IDE compatible) mode, for now.  Also
note that DMA is disabled for rev 0 chips unless explicitly enabled
with PCIIDE_I31244_ENABLEDMA.
2003-03-18 01:13:08 +00:00
thorpej ba6d4102d9 Regen; added Silicon Image SATALink 3112. 2003-03-18 00:53:03 +00:00
thorpej 11f5d687df Add Silicon Image SATALink 3112. 2003-03-18 00:45:54 +00:00
matt 631dbeba1a Use generic softintr. switch from consinit to explicit cnattach
framework.  Use bus_space for access register access.
2003-03-17 16:42:47 +00:00
matt f27033251e Use a subregion for the mac's ethernet registers. Shaves 512 bytes
from the driver.
2003-03-17 16:41:15 +00:00
toshii 45469b1ffc Fix a memory leak in emuxki_voice_new.
Pointed out by Izumi Tsutsui in the current-users mailing list.
2003-03-17 12:29:09 +00:00
toshii 92684e028b Make emuxki_voice_set_audioparms return EINVAL if invalid sample rate
is passed.
2003-03-17 12:20:27 +00:00
toshii 36a24737cd Fix recording with formats other than 16 bit slinear_le, based on the
patch submitted as kern/20620.
2003-03-16 16:33:48 +00:00
toshii 6e79d819f7 Remove a couple of false comments, as pointed out in kern/20620. 2003-03-16 13:34:24 +00:00
matt 08ea2a499c Cleanup. Move much of the code to bus_space instead of using
private mechanisms.
2003-03-16 07:05:33 +00:00
matt 7f87f176b2 Add obio attachment for things like rtcs, com, and flash. 2003-03-16 07:03:30 +00:00
bouyer 3cb1252a05 Ops, I commited the previous change (improved SiS support) from thr wrong tree.
Sync with the latest diff I made available, and also include changes from
kern/20710 which is much better than the hack I've done.
2003-03-15 12:23:34 +00:00
bouyer 53a7926962 Rework SiS support: more controller supported (up to Ultra/133) and better
support for the older ones.
Information for this work extracted from Soeren Schmidt's FreeBSD driver.
2003-03-14 22:46:05 +00:00
bouyer 8bc89ec2cb Move the SCSI_DELAY before the serialization for probe. multiple SCSI busses
can sleep, only probes have to be keept ordered.
2003-03-14 22:17:14 +00:00
jdolecek 635035691e apparently this driver works fine for Intel PRO/100 VM with 82562EM/EX PHY,
so make driver match it
while here, also make the driver match 'Intel PRO/100 VM with
  82562EM/EX (CNR) PHY', with anticipation it would work fine too
activate the resume and dynamic standby bug workaround for these; might
  not be necessary (not confirmed to be needed), but better safe than sorry

Adresses PR kern/20689
2003-03-14 22:04:03 +00:00
jmmv 013ec8e6f0 Add not sign, currency and cent keys to the spanish keymap.
Fixes my own PR kern/17990.
2003-03-14 15:45:53 +00:00
simonb 1ff45ded4f Fix some white-space niggles. 2003-03-14 02:21:01 +00:00
joda 1835525147 regen: more nvidia devices 2003-03-13 17:55:57 +00:00
joda fd202f08fe more nvidia devices 2003-03-13 17:55:24 +00:00
briggs 85d93f8d10 Detect SMC EZ Card as 64-bit. Patch from Pavel Cahyna in kern/20680. 2003-03-13 13:57:01 +00:00
bsh 436b3debe1 make this compile with SLHCI_DEBUG 2003-03-13 06:50:23 +00:00
minoura 552efeab39 Disable ISA DMA emulation for SoundBlaster module explicitly.
This fixes the floppy access problem on some hardware.
Problem reported by Miroslav Kure via Jason Wright <jason [at]
thought [dot] net> of OpenBSD. Thanks.

Fix from ALSA driver; although this setting is undocumented but
according to Jaroslav Kysela <perex [at] suse [dot] cz> of ALSA,
there's no error reported so far.
2003-03-12 13:36:22 +00:00
minoura f5e8ac30e3 Typo.
Register value symbols YDS_PCI_EX_LEGACY_SBMOD_* ->
YDS_PCI_EX_LEGACY_SMOD_*.
2003-03-12 13:28:19 +00:00
wiz 5feeffaf69 Remove some. 2003-03-12 00:24:41 +00:00
wiz b413b8eb87 Update script for bktr-sf imports. 2003-03-12 00:23:39 +00:00
wiz fa96c20c88 Merge some more. 2003-03-12 00:19:20 +00:00
wiz 0cdd0c6614 Merge first bktr-sf import. 2003-03-12 00:14:40 +00:00
wiz a0685571bd Import of current state of bktr(4) in sourceforge repository.
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
2003-03-12 00:02:19 +00:00
augustss 287c3adc4d Update URLs for the HID spec.
(Committed at 36000 feet above the Atlantic on board LH418 using
a broadband satellite connection.)
2003-03-11 16:44:00 +00:00
drochner f4f1e00d62 make a kernel with the combination ohci@cardbus + ehci@pci link 2003-03-11 11:59:31 +00:00
thorpej 5d036d28d6 Fix an error message. 2003-03-10 20:50:22 +00:00
augustss bf2de652b1 Change debug message. 2003-03-09 19:51:13 +00:00
jmc 4829a1952a Redo last fix to work correctly. Need to run abort on each orb (though it
doesn't much now it will eventually) and then so a proper sbp2_free_orb.
2003-03-07 20:18:57 +00:00
jonathan cd38c4da5c Commit workaround for hardware bug: 5701 chips running in PCI-X mode
require that the DMA receive buffers be aligned. The driver was
deliberately mis-aligning by 2 bytes, to force the layer-2/3
headers to 32-bit alignment.

Workaround: if chip is a 5701, and is in PCI-X mode, leave the DMA
buffers aligned.  If the host CPU requires alignment, copy the buffer
after reception to force aligment.

Tested  on an i386 in  PCI-X bus, with __NO_STRICT_ALIGNMENT forced off.

Patch and comments reworked  to minimize drift from
	FreeBSD if_bge.c rev 1.14.
2003-03-07 18:57:53 +00:00
jonathan 5214474746 Fix typo: PRODUCER_BUG quirk mask overlapped the PCIX register-bug quirk.
(Harmless, since we dont use the latter; but we will use it very soon.)
2003-03-07 18:40:18 +00:00
drochner c0e23f3152 -Fix ORB queue corruption / use of free()d memory
caused by bad interaction of sbp2_free() and sbp2_abort().
 sbp2_abort() requires that its argument ORB is on the
 "active" list, and it puts it onto the freelist - sometimes.
 So we had 2 causes of corruption:
 -removing the ORB from a list which it isn't on
 -free()ing recycleable items on the ORB freelist
-minor cosmetics
2003-03-07 16:29:33 +00:00
drochner 49e6bf0fa5 Add support for "simplified direct" (aka RBC) devices.
This reveals some ugly points in the sd driver, as
the PQUIRK_ONLYBIG flag (there are 6, 10, 12 and 16 byte
CDBs for r/w) and the handling of small/big mode
select/sense. This should be cleaned up.
Also the "long" struct disk_parms.disksize is worth
a thought...
2003-03-07 16:18:57 +00:00
kanaoka 5c5aa9ba83 Make sure this compiles with ACPI_DEBUG.
Pointed out by Patrick Welche <prlw1@newn.cam.ac.uk>.
2003-03-07 15:17:44 +00:00