Commit Graph

5627 Commits

Author SHA1 Message Date
jklos c2dc605e95 Updating more Chelsio files. 2007-07-08 02:30:30 +00:00
jklos 953092f8c6 Adding another file for Chesio 10 gig card support. 2007-07-07 21:05:41 +00:00
jklos 1f2ed1cde7 Added two files for Chelsio 10 gig cards. 2007-07-07 20:59:16 +00:00
jklos 37c2139a38 Updating Chelsio files. Not quite compiling yet. 2007-07-07 20:48:16 +00:00
jklos 947224b2b3 Added Chelsio vendor and various Chelsio hardware. 2007-07-07 20:37:40 +00:00
jklos a132475473 Added Chelsio vendor plus 10 gig hardware (and friends). 2007-07-07 20:30:47 +00:00
hpeyerl 1182a0e971 regen 2007-07-06 19:23:52 +00:00
briggs b8b28bda88 Print an error and fail the sk_attach() if we have an unknown chip type
(instead of panicing).
Also check to see if we have a Yukon2 type, and if we do, complain about
that explicitly earlier (and still fail the attach, but refer to msk(4)).
It would be better if we didn't have Yukon2 devices match in the sk(4)
device table, but in case people change the hardware without changing
device IDs, we might as well catch it.
2007-07-06 18:52:52 +00:00
briggs eacc7fb04e Remove DLink DGE560T as it (in at least some versions) uses a Yukon EC
chipset, which is not handled by this driver, but is handled by the msk(4)
driver.  The DGE560T_2 entry is left alone for now--it might also need to
go to msk(4).
2007-07-06 18:44:16 +00:00
hpeyerl 610966ac35 ATI updates from Christoph Egger 2007-07-06 15:05:42 +00:00
jklos eddc22c9b4 These files (cxgb*) are for the Chelsio T3 10 gigabit ethernet card from
the FreeBSD driver by Kip Macy (kmacy@FreeBSD.org).
2007-07-05 22:23:18 +00:00
jklos 0bdffa7573 Updates of working copies (there will be many). 2007-07-05 22:21:37 +00:00
pooka c22b16280d wsize is size_t = unsigned and should be printed with %zu instead
of %zd.  cosmetics for PR 36591 by khorben.
2007-07-04 23:18:49 +00:00
xtraeme f50072a162 In the gtredata function, use the edata pointer rather than using
directly the edata array index in the softc.
2007-07-01 22:20:34 +00:00
xtraeme da3f163bd2 Imported envsys 2, a brief description of the new features:
(Part 2: drivers)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:37:12 +00:00
xtraeme d6e294cd05 regen 2007-06-27 11:53:54 +00:00
xtraeme 16437a5d29 Improve the NS CS5535 entries and remove the NS part, it's redundant. 2007-06-27 11:53:38 +00:00
xtraeme 468f2b4743 regen 2007-06-26 22:43:16 +00:00
xtraeme 9d2af5fa13 Add National Semiconductor CS5535 devices, found in the decTOP. 2007-06-26 22:42:58 +00:00
mjacob 1d191096fb If we have 2K Login firmware for 23XX cards, remember to put out the
'extended' structure- not the older one. Matters for the swozzling
that goes on for big endian machines.
2007-06-26 20:58:27 +00:00
aymeric beb9020c42 Recognize the Intrepid2 gem. Needed at least on the last PowerBook G4. 2007-06-25 11:11:00 +00:00
jklos f43233e198 These files (cxgb*) are for the Chelsio T3 10 gigabit ethernet card from
the FreeBSD driver by Kip Macy (kmacy@FreeBSD.org).
2007-06-22 18:18:54 +00:00
jklos f757e0cee8 Added cxgb entry for Chelsio T3 10 gigabit card. 2007-06-21 23:13:18 +00:00
sborrill 8d4b49cb31 Support more i915 stolen memory configurations (previous limit was 8MB,
some configurations steal up to 64MB). OK christos@
2007-06-20 08:17:12 +00:00
degroote 220b6d3811 Add a workaround in the case where we have low number of rbuf.
It seems to fix problem of frozen network with wpi.

ok by @joerg.
2007-06-18 19:40:49 +00:00
ad a5210c2d29 opt_i2o.h is gone. 2007-06-16 23:26:04 +00:00
jmcneill b52635a353 Add VT6105M (Rhine III) to the list of supported devices, as found in the
Soekris net5501.
2007-06-15 21:08:21 +00:00
joerg 29315a1540 Fix ACPI suspend/resume support of clcs and clct. Based on auich and
hints from jmcneill@.
2007-06-15 13:26:57 +00:00
xtraeme d06693ebcd Fix a typo in voodoofb_drm_unmap(), requested by garbled.
cvs: ----------------------------------------------------------------------
2007-06-12 18:16:54 +00:00
tsutsui 7be9269791 Fix one more bug I introduced in rev 1.21:
Clear sc->sc_rx_consumed before allocating RX mbufs by vge_newbuf()
in vge_intr() otherwise vge_newbuf() might get KASSERT() failure
on DIAGNOSTIC kernel when the interface is reinitialized during RX.
2007-06-12 14:32:36 +00:00
nisimura 35eebf7b08 - fix errors in register number and bit field definitions.
- put a bit better comment about how LEGIRQ bit works.
2007-06-11 16:25:58 +00:00
mlelstv a9ded62922 Do not check link state before starting transmitter. Otherwise
mbufs will just pile up in the interface queue.
2007-06-09 21:42:33 +00:00
briggs f82d990bc1 Bring in changes from FreeBSD...
* Allocate commands on-demand.
* Update a bunch of constants and some structures.
* Use __attribute__ ((__packed__)) instead of __packed to be consistent.
* Support more commands for devices that can apparently handle them.
* Support a "new comm. interface" present in more recent Adaptec
  firmware.  This reduces the amount of PCI bus traffic in handling
  commands.
* Support larger commands going to the adapter--if the adapter can
  support them.
* Support 64-bit commands for archs where sizeof(bus_addr_t) > 4 and
  for adapters that advertise SGMAP64.
* Handle the WINDOW4G option and NO4GB quirk by excluding 2G-4G window
  unless we have the WINDOW4G capability without the NO4GB quirk.
* Ask the adapter more about its capabilities and try to use those if
  they seem sane.
* Do our bus_dmamap_sync() inside dequeue_fib instead of following,
  since we have the information that we need there.
* Provide access functions for some adapters that I haven't seen yet
  (MIPS-based "Rocket" adapters).  Not yet used.
2007-06-05 04:04:13 +00:00
bouyer 03182b8569 Move mapping of AHCI register so that jmide knows if it fails, and avoids
calling ahci_intr() (which would cause a panic).
Try to use the pciide function for SATA drives if attaching ahci fails (this
doesn't seems to work though, it may be BIOS dependant).
Thanks to Gary Duzan for testing multiple pacthes.
2007-05-31 21:26:48 +00:00
simonb 9dc083f73e Fix a tyop. 2007-05-29 07:17:23 +00:00
mrg 8c454927d9 regenerate. 2007-05-28 05:55:10 +00:00
mrg f08e949808 add ALi M5261 ethernet (tulip clone) 2007-05-28 05:54:07 +00:00
mjacob 3470b7cb13 Whoops- I almost forgot. Thank MetrumRG Associates for material
support in making 4Gb NetBSD support possible.
2007-05-25 01:59:24 +00:00
mjacob f0b57d5f54 Major update to isp(4) driver to bring it in line with external sources.
The major changes are:

 + 4Gb (24XX) card support
 + Rewritten fabric and loop evaluation code
 + New f/w sets

The 4Gb changes required major rototilling, which caused a rewrite of
fabric and loop eval code. The latter can now be set up to tune for
dynamic device arrival/departure if the framework is set up for it,
or to be firm about waiting for devices.

Testing has been principally on amd64, i386 and sparc64 and seems to
not have broken things for me.
2007-05-24 21:30:41 +00:00
briggs 9e95a6e477 The number of max_lat units in 1 sec is 4000000 instead of 40000000 (an
extra 0 snuck into the code).
Found when looking at this with dyoung.
2007-05-24 15:57:58 +00:00
cube e5c9a61e5e Add support for BCM5715. Works seemingly well on hardware provided by
pavel@.  Thanks, Pavel!
2007-05-21 15:36:26 +00:00
tsutsui 4521a25b2f Regen from pcidevs rev 1.880:
> Add IBM GXT250P video.
2007-05-19 14:57:44 +00:00
tsutsui f21468d172 Add IBM GXT250P video. 2007-05-19 14:56:24 +00:00
pavel 224217a90e from FreeBSD's src/sys/dev/bge/if_bgereg.h rev 1.22:
Fix a typo. BGE_HCC_TX_MAX_COAL_BDS_INT is at offset 0x3C24, not 0x3C34
Noticed by Patrick Welche on tech-kern@, ok cube.
2007-05-18 22:30:24 +00:00
mrg 2f67db7ec7 regenerate 2007-05-16 19:08:52 +00:00
mrg 1f3063a78a add Nvidia MPC04 SMBus 2007-05-16 19:07:42 +00:00
bouyer 95b42c31ad add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.
2007-05-15 17:53:41 +00:00
kent f5cb63973e Add PCI_SUBCLASS_MULTIMEDIA_HDAUDIO to pcireg.h
and azalia(4) uses it
2007-05-13 03:30:46 +00:00
kent c3b41473a8 * stac9221_gpio_unmute()
The target node should be the audio function group, not 0.
  Pointed out by Deanna Phillips

* stac9221_mixer_init()
  Enable GPIO unmute for Intel Macintosh
2007-05-13 03:28:19 +00:00
bouyer 920d7a6afe Split the ahcisata driver in pci front-end and bus-independant back-end. 2007-05-12 11:04:58 +00:00
sketch 5f4b89c72b Match recent addition as a STAC9200. 2007-05-10 07:48:16 +00:00
sketch aeb96b4230 Update previous to match what the author probably meant to do. 2007-05-10 07:34:59 +00:00
kent d32678c2dd Support for headphone-sensing for DELL Inspiron 6400.
PR#36302 by Aleksej Saushev
2007-05-10 05:44:37 +00:00
garbled d6ba347731 Add a missing brace in cztty_receive inside a ifdef HOSTRAMCODE. This
would randomly cause internal compiler errors while compiling pmppc.
2007-05-08 17:27:37 +00:00
kent ec3dff2790 fix a typo: PRESENSE -> PRESENCE
From deanna@OpenBSD
2007-05-08 05:18:20 +00:00
kent fea2165faf - fix incorrect codec name of STAC9200
- support for headphone-sensing in some DELL machines with STAC9200

From azalia_codec.c rev.1.19 by deanna@OpenBSD
2007-05-08 05:03:50 +00:00
kent cdc3ad42b2 * azalia_code_connect_stream()
set stream#0 for unused converters in a group

PR#35658 by kikuma norimitsu
2007-05-08 04:35:37 +00:00
kent 1aa70e7d65 Some codecs need explicit initialization even for uni-directional pins.
Pointed out by Deanna Phillips
2007-05-08 01:39:33 +00:00
bouyer d6908bb21a Regen: added JMicron Technology products 2007-05-02 21:29:16 +00:00
bouyer f17d74cec5 Add JMicron Technology vendor ID, and their current PCIe SATA/PATA
controllers.
2007-05-02 21:28:28 +00:00
simonb 815c7faa9e Restore $NetBSD$ tag. 2007-04-30 01:26:35 +00:00
bouyer 4b495bb053 Add support for ICH8 (i82801H) LAN, from FreeBSD.
Should work on:
i82801H IFE (GT) LAN Controller
i82801H IFE (G) LAN Controller
i82801H (M_AMT) LAN Controller
i82801H (AMT) LAN Controller
i82801H LAN Controller
i82801H (IFE) LAN Controller
i82801H (M) LAN Controller

tested with: Intel i82801H (AMT) LAN Controller, rev. 2
2007-04-29 20:35:21 +00:00
bouyer 56c3c4a3c0 Regen: remove extra "Intel" from previous commit. 2007-04-29 20:35:02 +00:00
bouyer 3f28ce9e00 Remove extra "Intel" from previous commit 2007-04-29 20:33:22 +00:00
bouyer 91dbb3bbf7 Regen: add Intel i82801H IFE G/GT LAN Controller 2007-04-29 20:31:23 +00:00
bouyer a9e36fb20c Add:
Intel i82801H IFE (GT) LAN Controller
Intel i82801H IFE (G) LAN Controller
from FreeBSD
2007-04-29 20:29:53 +00:00
msaitoh 8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
garbled 3dc01edf82 Remove the PCIIDE_SLIDE_SETIRQA hack. Recent revalations have uncovered
the fact that it's useless.
2007-04-26 19:47:03 +00:00
joerg 18436a60ed Fix a NULL reference on failing mbuf allocation.
In bge_start return if IFF_OACTIVE is set in combination with
IFF_RUNNING, drop obscure check for length of interface queue.
Remove message about failing bge_encap, it can happen just too easily
because of full descriptor rings.
2007-04-25 21:12:48 +00:00
dyoung 32cd652c48 Cosmetic: fix whitespace, join two lines, remove extraneous #includes.
#Define a bitmask using __BITS() instead of a hex constant, for
easy comparison with paper documentation.
2007-04-17 21:50:31 +00:00
dyoung e3c53bf4c1 Add prototype for ath_pci_detach(). Alphabetize prototypes.
Extract the code for disabling PCI retries, creating ath_disable_retry(),
and call it both during device initialization and on ->PWR_RESUME
transitions.  Comment out the code in ath_disable_retry() for now,
because it is not clear what problem it solves, if any.

Set a reasonable PCI Latency Timer.  Apparently, it is too much to
ask any BIOS to do.  The PCI framework ought to set latency timers,
instead of individual drivers setting latency timers.
2007-04-17 21:48:07 +00:00
tron 7899b34c32 Add support for Broadcom BCM5753 and Broadcom BCM5753M Gigabit Ethernet.
Patch supplied by Mustafa Dogan in PR kern/36139, confirmed to work
by Tonnerre Lombard on #NetBSD IRC channel.
2007-04-16 10:08:33 +00:00
macallan df0a99cbb2 fix a typo 2007-04-11 04:48:31 +00:00
bouyer 1fde203078 Fix build on 32bit ports; should fix GENERIC_DIAGNOSTIC build problem reported
by Hisashi T Fujinaka on current-users.
2007-04-10 12:18:26 +00:00
macallan 13daabb045 move genfb's PCI frontend to dev/pci 2007-04-10 02:16:47 +00:00
macallan 4ab018673b turn the other 'void region' message into aprint_debug() as well 2007-04-10 00:11:21 +00:00
macallan 2a048288e1 demote 'pci_io_find: void region' to aprint_debug() 2007-04-10 00:05:16 +00:00
bouyer 0c0eb2bdf5 RX buffers are malloced memory of 9216 bytes. This can require from 1 to
4 DMA memory segments, depending on how the buffer is in memory.
When receiving a packet, we allocate a new one to remplace the one we've
used. It can need more segments than the one it remplace, leading to
corrution of the RX descriptors, and a panic in bus_dmamap_sync() (DIAGNOSTIC
kernels) or possibly memory corruption.

Fix:
- bnx_get_buf() allocates as many buffer as possible, checking the number
  of free RX descriptors. Because one receive buffer is not guaranteed to
  be remplaced on receive, call bnx_get_buf() from bnx_tick() too.
  This also improve error handling from bnx_get_buf().
- use MCLGET() instead of MEXTMALLOC() if we're running with the standard
  ethernet MTU. This gives us more receive buffers and waste less memory.
2007-04-09 19:34:50 +00:00
bouyer a17f6ef0b7 Protect bnx_tick() with splnet.
Bring in fixes and improvements from OpenBSD:
revision 1.25
- Simplify the arguments to bnx_tx_encap.
- Don't copy the bd_chain head pointers into temporary objects, they are
available globally.

From scottl@FreeBSD

revision 1.26
Overhaul the transmit path:
- Eliminate the bnx_dmamap_arg structure.
- Refactor the loop that fills the buffer descriptor so that it can be done
with a single set of logic in a single loop instead of two sets of logic.
- Eliminate the need to cache and pass descriptor indexes between the start
loop and the encap function.
- Change the start loop to always check the ifnet sendq for more work.

From scottl@FreeBSD

revision 1.27
make the exit label naming scheme match the current function names, removes
a FreeBSD-ism from the original driver.

revision 1.28 -> 1.30
- Ensure that at least 16 TX descriptors are kept unused in the ring.
- Use more complete error handling for TX load problems.

From scottl@FreeBSD

revision 1.31
replace a few more instances of hand rolled code with the LIST_FOREACH macro.

revision 1.33
In bnx_start, check the used_tx_bd count rather than the descriptors
mbuf pointer to see if the transmit ring is full.  The mbuf pointer
is set only in the last descriptor of a multi-descriptor packet.
By relying on the mbuf pointers of the earlier descriptors, the
driver would sometimes overwrite a descriptor belonging to a
packet that wasn't completed yet.  Also, tx_chain_prod wasn't
updated inside the loop, causing the wrong descriptor to be checked
after the first iteration.  The upshot of all this was the loss of
some transmitted packets at medium to high packet rates.

In bnx_tx_encap, remove a couple of old statements that shuffled
around the tx_mbuf_map pointers.  These now correspond 1-to-1 with
the transmit descriptors, and they are not supposed to be changed.

Correct a couple of inaccurate comments.

From jdp@FreeBSD

revision 1.43
Allow the bnx(4) driver to make use of all of the available hardware
multicast hash slots. The bnx(4) hardware supports 8 slots instead of
4 like the bge(4) hardware.

From Mike Karels via FreeBSD

Tested by Brad, biorn@ and Johan M:son Lindman
2007-04-09 14:23:03 +00:00
rumble e0d3b63ac3 If we fail to attach, use the size determined by pci_mapreg_map() rather
than a constant, since this will be incorrect on some chips (MPI350) and
lead to a panic.
2007-04-06 18:16:29 +00:00
dillo 46009d7e0f Fix include paths. Now all drm drivers build. 2007-03-29 13:09:48 +00:00
jmcneill e741359891 Fix include paths, mgadrm compiles now. 2007-03-29 11:42:39 +00:00
jmcneill f99eecc8b2 Make this compatible with tdfxdrm. 2007-03-27 22:44:42 +00:00
jmcneill 1cd076928b Instead of having a lookup table of devices that support AGP V3, use the
capabilities register to determine the chipset's supported AGP mode. We
still fallback to V2 compatibility mode when necessary.
2007-03-27 20:57:46 +00:00
salo 1eaca7c5df fix typos in last, Eratta->Errata 2007-03-27 13:13:49 +00:00
pooka 92f2958999 regen 2007-03-27 12:42:31 +00:00
pooka 4823cfcfaf add GeForce Go 7600 2007-03-27 12:41:39 +00:00
msaitoh f727e5ef27 Workaround for 82541 Eratta 29 and 82547 Eratta 28.
These devices have to reset the PHY before reset the MAC.

Reported and tested by salo.
2007-03-27 01:56:41 +00:00
jmcneill 68557987f6 Add AGPv3 support to VIA AGP driver from FreeBSD.
I can now use DRI w/ AGP enabled on my r300.
2007-03-27 00:34:16 +00:00
garbled 4398c0d8cd The VT8237A SATA Controller uses chip_map_7, not 0, tested and confirmed
working on my machine.  Also when a via controller is set to RAID mode,
it sets the pci_subclass to raid.  Notice this and set ATAC_CAP_RAID.
2007-03-27 00:04:04 +00:00
hubertf 9446dc7bf8 Remove duplicate include of <sys/agpio.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:42:39 +00:00
macallan 60cbbfdc51 add very experimental Apple UniNorth AGP driver 2007-03-25 23:32:40 +00:00
macallan 7325f7959a very experimental Apple UniNorth AGP support 2007-03-25 23:31:51 +00:00
isaki f6b15a715e Regen; ATI ES1000. 2007-03-25 06:42:20 +00:00
isaki 4185e7fad0 Add ATI ES1000. 2007-03-25 06:41:30 +00:00
christos bf9f72425e comment out unmap; breaks X. 2007-03-24 23:02:24 +00:00
jmcneill 04a1167b6f Fix header locations for NetBSD. 2007-03-24 20:33:08 +00:00
jmcneill 881e272543 Include dev/pci/drm/files.pcidrm 2007-03-24 15:04:43 +00:00
jmcneill 80411c1546 Separate DRM files from files.pci 2007-03-24 15:04:10 +00:00
jmcneill e6e6c988b3 Allow viadrm to attach to unichromefb 2007-03-23 22:17:52 +00:00
jmcneill e44f79d0d5 Make unichromefb(4) peacefully co-exist with viadrm(4).
Basically, when we switch from WSDISPLAYIO_MODE_EMUL to anything else, we
release any bus_space resources. When we return to WSDISPLAYIO_MODE_EMUL,
reclaim these resources and reinitialize the display.

Idea from macallan@
2007-03-23 22:17:30 +00:00
drochner ca93d5d12d simplify previous: no need to call pci_mapreg_info() 2007-03-23 16:39:07 +00:00
jmcneill 046c275369 Initialize mmadrsize in the non-i910 case, otherwise we end up passing an
uninitialized variable to bus_space_unmap.
2007-03-23 16:27:59 +00:00
jmcneill aeb34d786e Add viadrm 2007-03-23 15:00:38 +00:00
jmcneill c36fda54e9 Import viadrm(4) from DRI git. 2007-03-23 14:58:55 +00:00
jmcneill 3b4d961fa2 Re-enable writeback test (shouldn't have been disabled in the first place) 2007-03-22 15:17:59 +00:00
jmcneill 846be51501 Pull up misc radeon bug fixes from DRI. 2007-03-22 01:36:42 +00:00
jmcneill 48e45911b6 printk -> printf 2007-03-21 22:44:28 +00:00
macallan 1c4c684256 try to attach a drm 2007-03-21 20:54:30 +00:00
macallan fd3677f42a defflag RADEONFB_DEBUG and MACHFB_DEBUG, pull in drm for both, pull in edid
for machfb
2007-03-21 20:52:41 +00:00
macallan 62ee0604ec use EDID data passed as property when present
This should allow radeonfb to do The Right Thing on Macs that use non-
standard video timings and have built-in monitors that don't provide data
via DDC since those usually have an EDID block in the OF tree.
2007-03-21 20:48:07 +00:00
isaki ff418f03d1 Fix mis-substitution of RCS Id, and avoid it.
Reviewed by wiz@.
2007-03-21 15:02:08 +00:00
tsutsui 19daf5ad0b Cleanup handling of quikrs on each RealTek chip:
- replace rtk_type member in rtk_softc which has chip types
  with new rtk_quirk that represents quirks on each chip:
  - RTKQ_8129           doesn't have internal MII (used in rtk(4))
  - RTKQ_8139CPLUS      has different register layout (for re(4))
  - RTKQ_8169NONS       (original 8169) requires some settings on init
  - RTKQ_PCIE           requires different settings in setmulti
  so that we don't have to check each hwrev values or types everywhere
  and newer variants will also work without changes if they don't
  have other quirks
  (sc_rev is unchenged for now for reference to the Realtek's driver)
- don't check hwrev register in re_pci_match() but check
  only PCI_VENDER(), PCI_PRODUCT() and PCI_REVISION()
  so that we no longer have to map pci space there
- add a new HWREV value for another 8168 variant
- try to map PCI mem space more properly
- remove (probably unneeded) ifp->if_baudrate initialization

Tested on a newer 8168 variant by Dennis den Brok on tech-kern,
and also tested on 8139 and 8169C on macppc, and 8139C+ on landisk
by me.
2007-03-21 12:17:31 +00:00
dan ce901237e7 teach bce(4) about being an rnd(4) source 2007-03-21 04:56:39 +00:00
macallan bbd6f83b09 fix a bunch of #include statements to make radeondrm and mach64drm compile 2007-03-20 22:12:14 +00:00
drochner 2d9e04fc35 Import DRM drivers, brought into shape by Yorick Hardy, posted to tech-x11.
Minor modifications by me:
-use an mi device major number
-(coarsly) divided into pci card specific and less specific parts, moved
 the latter to dev/drm
-renamed autoconf attributes to reflect this
Todo:
-adapt all card frontends but i915 to drm include file location
-review the mtrr change
-make the change to agp_i810.c coexist with the fix for buggy VESA
 BIOSes which is commented out temporarily
-RCS IDs etc style stuff
-LKM support (rescan support for vga)
-test
2007-03-20 18:05:25 +00:00
garbled 6f633e2b65 Put a small hack in slide.c disabled by default. PCIIDE_SLIDE_SETIRQA. This
sets IDE_IRQA in the IDE Control/Status Register.  This is needed on prep
machines with Motorola RAVEN host bridges, as they wire up the ide device
oddly.
2007-03-20 05:50:35 +00:00
kent 5deb14ad9d readable mixer item names for AD1981HD 2007-03-19 16:27:00 +00:00
kent 3e124ca34a don't make a mixer item for a power widget 2007-03-18 14:16:00 +00:00
kent 371c325530 correct the DAC group definition for AD1988.
reported by wiz
2007-03-18 11:49:21 +00:00
dyoung 2ee6d07aca Regen. 2007-03-17 06:44:31 +00:00
dyoung 67e99bd532 Add Infineon ADM5120 PCI host bridge. 2007-03-17 06:43:52 +00:00
msaitoh 9e2c46fe42 Apply if_msk.c rev. 1.4 to if_sk.c:
> Apply OpenBSD's rev. 1.33 to shut up "msk0: phy write timed out"
 >
 > Original commit message:
 >  > In msk_marv_miibus_writereg, wait for busy flag to clear instead of
 >  > continuing when busy flag set.
2007-03-13 09:50:00 +00:00
msaitoh 5d9d95c736 KNF 2007-03-13 06:33:54 +00:00
kent b7fab1d1f2 * codec names for Realtek ALC262, ALC268, ALC861, ALC861-VD-GR,
ALC883, ALC885, and ALC888
* DAC/ADC group definitions for Realtek ALC861, ALC861-VD-GR,
  ALC883, ALC885, and ALC888
2007-03-11 15:42:00 +00:00
kent df732e91f1 don't start dmesg lines with \t to do grep easily 2007-03-11 14:34:04 +00:00
kent 88b9b15961 remove DPRINTF() in generic_mixer_init() because they are useless
in many cases.
2007-03-11 13:41:18 +00:00
kent d7d522ea80 - Add jack-sense code for STAC9220 in some DELL models (currently disabled)
- Add DAC/ADC grouping for AD1988
2007-03-11 13:34:40 +00:00
kent c88ac48ab9 reviced Intel Mac support code (currently disabled)
PR#34880
2007-03-11 13:31:36 +00:00
christos 5803d0dc86 regen 2007-03-10 21:08:47 +00:00
christos e8381a0776 PR/35970: Todd Kover: Add support for HP ML110 G2 / Adaptec 2610SA 2007-03-10 21:08:16 +00:00
kent 4540a56313 add diagnostic code in azalia_codec_construct_format() 2007-03-10 16:39:37 +00:00
itohy 691799bc9b I tried the test code in PR kern/35934 on PIIX4 and ICH6,
both of which turned out to have the problem.
Enabled (untested) workaround for all PIIX controllers.

XXX  Do other controllers also have this problem?
2007-03-10 06:01:43 +00:00
xtraeme 1aaad7d266 regen 2007-03-09 22:11:06 +00:00
xtraeme b2fab0eec1 +ATI Radeon X1300 2007-03-09 22:10:40 +00:00
xtraeme 27d2cb4e20 Use a mutex rather than lockmgr. Approved by Andrew Doran. 2007-03-06 01:09:42 +00:00
tsutsui b8149dbb15 Pass (char *) to mtod(9) for pointer arith
(in #ifndef __NO_STRICT_ALIGNMENT part).
2007-03-05 10:39:09 +00:00
tsutsui eeef1e87e4 Also check both I/O and memory space on unmap. Pointer out by yamt. 2007-03-05 10:32:05 +00:00
sketch cbbf3374dd Put unformatted firmware version output behind IWI_DEBUG 2007-03-04 19:14:25 +00:00
chris 282f3bfbc1 Fix caddr_t fallout for cats kernel builds. 2007-03-04 17:55:10 +00:00
yamt 45cdcb0e37 fix fallout from caddr_t changes. 2007-03-04 15:59:31 +00:00
yamt f1f5a2d411 fix fallout from caddr_t changes. 2007-03-04 15:05:24 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
jmcneill 963e8dd8ad Regen. 2007-03-03 23:50:40 +00:00
jmcneill edfe9e885a Add pcHDTV HD-5500 HDTV video capture 2007-03-03 23:49:49 +00:00
tsutsui 5c8caf9e94 Add an entry to match hwrev RTK_HWREV_8100E_SPIN2 too.
XXX: should we use PCI_REVISION() rather than hwrev
     for 8139C+ as OpenBSD does?
2007-03-03 17:23:12 +00:00
jmcneill 7f8a6c2923 Regen. 2007-03-01 22:15:08 +00:00
jmcneill b792a5796f Add Conexant CX2388X Audio/Video Decoder 2007-03-01 22:14:48 +00:00
tsutsui a111aec3cd Apply patches which may fix RX stall problem on nfe(4):
- make DMA descriptors volatile to avoid possible unintended reordering
  which might cause some race conditions
- process interrupts until all NFE_IRQ_WANTED bits are handled

and also put misc fixes:
- return 1 and call nfe_start() in nfe_intr() only if any own interrupts
  are actually handled
- use bus_dmamap_load_mbuf(9) for RX mbufs rather than bus_dmamap_load(9)
  with mtod(9) and MCLBYTES
- check sc->txq.queued to see if TX descriptors are queued or handled
  in nfe_start() and nfe_txeof()
- use proper BUS_DMASYNC_{PRE,POST} ops
- prepare and use NFE_[RT]X_NEXTDESC() macro
- rename NFE_TX_TCP_CSUM to NFE_TX_TCP_UDP_CSUM since it also enables
  hardware udp4csum-tx for UDP4 packets
- some minor optimization
- misc KNF

Tested and confirmed by matthew green by
"to send >25MB/sec to nfe0 for over one hour,"
and also tested by me (with light TRX load on 100baseTX though)
for a month.
2007-02-28 17:40:11 +00:00
tsutsui 075b18ca23 Try to map both PCI I/O and memory space and remove #ifdef RTK_USEIOSPACE.
Tested on dreamcast, landisk, and macppc with 8139C on PCI slot.
2007-02-25 04:19:32 +00:00