summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-07-18syncReyk Floeter
2008-07-18Add Belkin Wireless G Notebook Card F5D7010 (rtw(4) RTL8185-based)Reyk Floeter
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-17Zero mbreg_t structure *before* initializing any members, not when we'reMark Kettenis
halfway through. Makes the ISP12160 correctly load its firmware again on sparc64. ok krw@
2008-07-17Add a flag and allow the driver to identify the BCM5788 chipsets. They'reBrad Smith
slightly different from the other chipsets using the BCM5705 ASIC. ok jsg@
2008-07-17Remove clause 3 from NetBSD license.Joel Sing
ok deraadt@
2008-07-17Increase the size of the diskinfo struct, which has grownJonathan Gray
4 bytes in the new firmware. To allow this to work on older firmwares add a "short read allowed" flag to arc_msgbuf(), which will allow short reads by getting the read length from the header of the response the firmware sends. Only set the flag on the arc_msgbuf() call that deals with the diskinfo struct for now. Discussed with and ok dlg@
2008-07-16Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.Miod Vallat
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@
2008-07-16If pckbc_xt_translation() fails, do not try to force the keyboard in tableMiod Vallat
1; instead, try table 2 first, then 1: some older keyboards, connected to a castrated 8042, do not know how to talk in table 1 (or worse, will report they do while they don't). If automatic translation is not possible, remember which table the keyboard ended configured in, and convert the scancodes from table 2 to table 1 if necessary. ok kettenis@
2008-07-16It is no longer necessary to regen gsckbdmap after changing this file.Miod Vallat
2008-07-16Enable the read DMA engine's PCI read request burst length long burstBrad Smith
mode (4KB) for PCIe chips. This resolves the poor TX performance for the PCIe chips. The result being a bit under double the TX performance on a Gig connection (roughly 495 Mb/s -> 940 Mb/s). Tested by reyk@, sthen@, brad@ and a few end users.
2008-07-15Backout rev 1.162. This change made us muck with with pci config space atMark Kettenis
address 0x1a and 0x1e, and that's not where the PCIe capability stuff lives. Potentially it was mucking with an IO BAR (super dangerous). But probably it was achieving nothing at all. ok dlg@, marco@, brad@
2008-07-15Remove some debug code that i forgot to remove in a previous commit.Owain Ainsworth
Pointed out by Chris Cappuccio, thanks!
2008-07-15Adapt some code from the FreeBSD driver required to makeJonathan Gray
newer PCI Express adapters (ie 8168C*/8102*) work. V2 Checksum offload format in RTL8102 devices not yet supported. No objections from brad@. Thanks to everyone who tested.
2008-07-15theres no need too m_adj() the mbuf by 8bytes (u_int64_t) inThordur I. Bjornsson
sis_newbuf(), so remove the call. ok and lots of prodding dlg@, brad@
2008-07-14Make VIDIOC_ENUM_FMT list all available formats for the attached device.Marcus Glocker
2008-07-14Finish support for uncompressed payloads (UDESCSUB_VS_FORMAT_UNCOMPRESSED).Marcus Glocker
2008-07-13Spacing.Marcus Glocker
2008-07-13Save format and frame descriptors to a format group structure so weMarcus Glocker
can use them later for stuff like VIDIOC_S_FMT (e.g. set custom resolution).
2008-07-13Add some additional hardware revisions from FreeBSD needed forJonathan Gray
upcoming changes and sort list.
2008-07-12reference vmt (openbsd) rather than vmware (xorg)Chris Kuethe
ok dlg
2008-07-12Make sure the label is read in rdopen(), this isn't the case if youMiod Vallat
boot bsd.rd -a and want to mount the ramdisk later on. ok otto@ krw@ millert@
2008-07-12Right now agp_generic_enable() is wrong. It has been since 2006. ItOwain Ainsworth
assumes that the display device and the agp bridge are the same device. In almost all cases this is incorrect. In order to correctly enable the agp device with the correct mode, we need to set the AGP_COMMAND register on both the display and the bridge with the right bits. Since agp is currently attaching at vga(4), due to the problems with the intel integrated graphics (a problem that I still need to solve, to be honest), for now just provide both pci_attach_args to the agp init, and get what we need from there to do the enable. This fixes the "agp bug" which i have been known to rant about, a lot. So agp radeons now work with dri without needing to be forced to pci mode. This wasn't detected before, since the only non-drm consumer of agp is the intel X driver, the i810 agp driver has its own enable function. tested by many. ok kettenis@.
2008-07-12syncBernd Ahlers
2008-07-12Add another Acer id.Bernd Ahlers
help & ok jsg@
2008-07-12Remove obsolete TODO comment.Marcus Glocker
2008-07-12regenBrad Smith
2008-07-12Add the OUI id for JMicron and the ids for the JMP202 FastE PHY andBrad Smith
JMP211 GigE PHY. From FreeBSD
2008-07-12Add support for the Marvell 88E8016 PHY.Brad Smith
ok dlg@
2008-07-11If there is a 100baseT4 connection then fall through so as toBrad Smith
explicitly set the duplex flag instead of returning right away. ok dlg@
2008-07-11Check the correct BMSR bit in the capabilities field when checkingBrad Smith
for 100baseT4. The dcphy(4) driver could inadvertently display 100baseT4 for the media type for PHY not actually capable of 100baseT4. From FreeBSD ok dlg@
2008-07-11Qlogic -> QLogicIgor Sobrado
2008-07-11remove an unused function. ok jsg@Kevin Lo
2008-07-10move a common statement out of if/else;Thordur I. Bjornsson
adjust the mbuf before loading it, with bus_dmamap_load_mbuf(), that way we dont have to fiddle with ds_addr; ok dlg@
2008-07-10Don't terminate the array of matching product/vendor IDs with { 0, 0 }Marc Balmer
when usb_lookup is used. If a device indeed has 0 as vendor and product ID, like the HP DL165 BMC Server Engines SE USB Device, a wrong driver will attach and the machine will most pbly crash. Problem reported Rivo Nurges <rix@estpak.ee> cvs: ----------------------------------------------------------------------
2008-07-10Make cams with Sonix chipset work by avoiding excessive alternateMarcus Glocker
interface switching, which kind of crashed the device.
2008-07-10the DRM_{READ,WRITE}$NUMBER() macros currently useOwain Ainsworth
bus_space_{read,write}(). A bug in the code this was based on means that this is also used for scatter gather maps, which are bus_dma memory, not pci memory. This obviously fails. Pull them out into a function and Special case scatter gather to use the mapped virtual address to write instead. Makes writeback test pass on pci and pci express radeon cards. Tested by, among others ckuethe@ and sthen@.
2008-07-08Remove the IDE_PCI_CLASS_OVERRIDE quirk flag for the Intel AHCI controllersBrad Smith
as they're of the subclass SATA and the SiI3512 SATA controller as it is of the subclass MISC. ok jsg@
2008-07-08vmt(4) is a kernel level implementation of the vmware tools.David Gwynne
it only provides the hosts machines clock as a timedelta sensor so far. getting it into the tree so people can work on it as suggested by fgsch@
2008-07-08Update 2300 firmware from 3.01.20 (Dec 19, 2002) to 3.03.19 (NovKenneth R Westerback
30, 2005). From mjacob via FreeBSD. No known code dependency, and prepares ground for major isp update. Tested on a 2312 by dlg@. ok dlg@ deraadt@
2008-07-07- Improve negotation and fix some more DPRINTFs.Marcus Glocker
2008-07-07The current drm_locked_task*() code sometimes tries to sleep in anOwain Ainsworth
interrupt handler. This is bad and wrong. So change it so that if we can't immediately grab the hardware lock, to just leave the task flagged so that we can run it when we release the lock. The linux implementation uses a similar scheme. Tested by guenther@, landry@ and bernd@. Also tested by many a while ago as part of a larger diff.
2008-07-07Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() whenThordur I. Bjornsson
we want too load an mbuf; remove a printf that fires in case we can't load the mbuf (We do error handling and recovery). ok brad@, dlg@
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-07-07syncBernd Ahlers
2008-07-07Add Intel 82945GME Hostbridge and Video.Bernd Ahlers
ok jsg@
2008-07-07tweak the alignment of the rx buffers so the headers in the frame areDavid Gwynne
better aligned for fast access. i didnt bench, so maybe this does nothing.
2008-07-06When the device gets close switch back from alternate interface toMarcus Glocker
default interface. Nice side effect; Turns off the cams LED again.
2008-07-06pciide_match() is a bit convoluted, we match anything claimingJonathan Gray
to be MASS_STORAGE subclass IDE regardless of id, and other ids depending on the subclass and a known id or a known id and the override flag. We really want to check the subclass so we don't attach pciide to the wrong function of a chip, which happened last time around before the additional subclasses were checked in the non override case and the overrides were pulled. A bunch of the override flags were pulled after some common subclasses (SATA/RAID) were added. So if we have a known id and a SATA/RAID subclass we would match. Turns out some Silicon Image SATA devices claim to be of subclass MISC so add that as well. Unbreaks one of hennings machines with 3114 SATA and likely quite a few other machines. 'seems safe enough to me' miod@
2008-07-06Use UT_{READ|WRITE}_VENDOR_DEVICE instead of self defined values.Marc Balmer