summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2007-11-29unbreak the zaurus kernel build by adding a missing headerTodd T. Fries
co-discovered by robert@
2007-11-28oga just showed the worst case of "commit and run for beer" i've everTheo de Raadt
seen. unbreak the tree by adding a missing file (hope it is the only one)
2007-11-28Initial import of the DRM (direct rendering manager).Owain Ainsworth
This is the kernel part necessary for DRI support in X. Disabled for now because it still has a few bugs, but now I can work on it in tree. Also requires the requisite bits in X, which are currently under discussion on how to deal with them with privsep. ported from a combination of the free and netbsd implementations. Known bugs: 1) only the first occurence of X in any session will have dri, after that something prevents it working. 2) if the machine does not have a dri capable card, the kernel panics. Something's up in one of the probe functions. I haven't been able to find it though. 3) radeon cards need to be forced to use PCI mode otherwise they get into an infinite loop. This is known to at least kinda work with SiS, radeons in pci mode and intel cards. ok deraadt, kinda ok art, a few other people had a quick look.
2007-11-28my brother, David Fries david at fries dot net, noticed that if you put yourTodd T. Fries
sensors in the freezer, they return negative results, making unsigned values bad to store negative numbers and then do math on. Another popular os had this same bug fixed by the same person. ok grange@
2007-11-28when we probe a port send an ata inquiry to the device and cacheDavid Gwynne
the result in the ata_port struct. use this cached inquiry data when building the replies to scsi commands rather than fetching a new copy of ata inq every time. this shrinks the code by 100 lines. it also avoids a malloc in a scsi io path, which could be issued at a time when malloc isnt guaranteed to succeed, but a real scsi io definitely should.
2007-11-28add the device and interface class codes for USB Video Class (UVC)Robert Nagy
devices ok deraadt@
2007-11-28do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok oga@
2007-11-28the ccb lists protect themselves, so we dont have to check if we're atDavid Gwynne
splbio when getting and putting ata xfers.
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
to continually go to splbio to ensure its safe to work on them. shrinks code a little.
2007-11-28use correct data type for the pci address (bus_addr_t)Reyk Floeter
From mickey
2007-11-27fix shared area structure.Damien Bergamini
2007-11-27properly update hardware multicast filter.Damien Bergamini
hints from zd1211rw.
2007-11-27fix DMA alignment constraints: rings must be aligned on a 256-byteDamien Bergamini
boundary, "keep warm" page must be aligned on a 4KB boundary. make sure sc->shared->len[x][y] == sc->shared->len[x + 256][y] for all x < 64.
2007-11-27Fix off-by-one that made us attach acpicpu0 and acpicpu1 on GENERIC kernels.Mark Kettenis
ok marco@
2007-11-27also move softraid raid1 into own file, ok marcoTed Unangst
2007-11-27Remove whitespace at EOL, KNF, ansify. Move jump scroll code to a separateMiod Vallat
routine. No functional change (har, har)
2007-11-27split crypto functions out into their own file, so softraid.c is not suchTed Unangst
a jungle. ok deraadt marco
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-27Add display type for SGI GBE.Joel Sing
ok miod@
2007-11-26Enable read ahead and write cache enable if supported byJonathan Gray
the disk rather than depending on the disk to have it on. A bunch of people have suggested this should go in.
2007-11-26Add LSI PCI IDs for 1078 based megaraid; from the windows driver infMarco Peereboom
2007-11-26Undo (well, comment out) 1.10 - this causes a regression on oqo-1 machines,Miod Vallat
but fixes keyboard on legacy (non-ps/2) controllers, which are probably still more common; discussed and ok deraadt@
2007-11-26Add new PERC6 & CERC6 PCI IDsMarco Peereboom
2007-11-26regenMarco Peereboom
2007-11-26Add PERC6Marco Peereboom
2007-11-26Just CRYPTO; RAID CRYPTO doesn't mean anything.Marco Peereboom
2007-11-26implement atascsi_probe_dev and atascsi_detach_dev. they let a hba tellDavid Gwynne
the midlayer(s) what to do.
2007-11-26Automatically degrade the timedelta sensor if the clock is free running for toMarc Balmer
long (12 hours for most cards, four days for the ones with higher precision local clocks, e.g. the GPS170PCI). All radio-clock drivers now behave more or less the same with regarding to timedelta sensor degradation; time to implement a few new drivers...
2007-11-26bump the maximum cdb that the driver will take from the midlayer up to 16David Gwynne
bytes. if you want to use large volumes on ciss, you need ciss to chew the large scsi io commands. problem found and fix tested by johan
2007-11-26print the comma before the MAC address string in dc_attach() instead of theBrad Smith
PCI front end attach function. This corrects the dmesg output for CardBus adapters and ensures proper dmesg output if an error occurs in dc_attach(). ok dlg@
2007-11-26Display module size for direct rambus rimms, not yet tested.Jonathan Gray
2007-11-26Make Cassini+ work; remove some unused macros while I'm there.Mark Kettenis
2007-11-26Constify the output of the emulops translate() function, as well as theMiod Vallat
various tables they use.
2007-11-26drive port probes from the scsi midlayer now that it will ask the adapterDavid Gwynne
if a device is there before doing any scsi commands. also implement a free path for when devices are detached. software hotplug has been tested on sili, and ahci is still working according to claudio@
2007-11-26Avoid resetting PCS. Don't do loopback at the serial link.Mark Kettenis
2007-11-26Reenable the PCS functions after a reset; properly disable them while changingMark Kettenis
the advertisement register.
2007-11-26correct newlines surrounding the sub-bus configuration, and unifyTheo de Raadt
pchb's further ok reyk oga
2007-11-26Add basic rambus decode method, showing the module type.Jonathan Gray
2007-11-26Add another debug register.Mark Kettenis
2007-11-26rename RAID C to RAID CRYPTO. makes marco happierTed Unangst
2007-11-26Add PCI VPD read/write functions from NetBSD required for some thingsJonathan Gray
dlg is playing with. 'put it in' dlg@
2007-11-26So instead of triggering a tx interrupt for each packet issue one forClaudio Jeker
each 128 packets or call et_txeof after 1 second whichever happens first. looks good jsg@
2007-11-26fix new agp code on amd64Reyk Floeter
- internal intel graphics semi-agp chipsets need special handling in pchb.c - re-add the i965GM device - use the correct major device id for /dev/agp0 on amd64 (not the i386 one) ok deraadt@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-26Fix hardware cursor mapping.Owain Ainsworth
ok matthieu.
2007-11-25KNF and remove a bad free right before kthread_exitMarco Peereboom
2007-11-25missing line from previous commit; return 1 for interrupts we do handleTheo de Raadt
2007-11-25sycTheo de Raadt
2007-11-25add CNU550pro; from iss @ e-sky.ruTheo de Raadt
2007-11-25Set half duplex flag when appropriate and some minor cleaning.Brad Smith
ok jsg@ dlg@