summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-10-08better commentsOleg Safiullin
2008-10-08Older IT8712F chips have 8-bit watchdog timeout counter.Oleg Safiullin
Use minutes for 16-bit values.
2008-10-08As the Option N.V. Globetrotter HSDPA Modem is not compatibleYojiro Uo
with ubsa(4), it is moved to umsm(4). ok jsg@, reported by Daniele Pilenga
2008-10-08o chip revision is 4-bit valueOleg Safiullin
o some #define's instead of digits
2008-10-07Kill a bunch of #ifdef freebsd/netbsd code in *_drv.c. No binary change.Owain Ainsworth
2008-10-07Kill the linux-ready negative return codes in ``shared'' code. We handleOwain Ainsworth
them wrong in several cases that i've noticed and Merging when needed is still fairly simple, anyway. This shaves another 500 bytes from an amd64 kernel due to not having to flip the sign on some things. It also stops my eyes bleeding. Tested by a few along with the last diff that went in.
2008-10-07Move dev->driver over to being a pointer to a const struct, instead of stupidlyOwain Ainsworth
filling in a pre-allocated one on each attach. Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64, helps with my sanity, and paves way for later changes. Tested by a few for a couple of weeks now.
2008-10-07Make sure page 0 is selected when we initialize the PHY. Fixes problemsMark Kettenis
with the eephy(4) that attaches to nfe(4) on machines like the Sun Ultra 40. ok deraadt@
2008-10-07Fix memory leak bug during scope evaluation (now without introducing a bugMark Kettenis
in evaluation of the Return() operator). Based jordan@'s diff from rev. 1.133. ok jordan@, marco@
2008-10-07If we fail to read the MAC address from the eeprom, fallback to readingJoel Sing
the MAC address registers. In most cases these already have the correct MAC address. This should address PR5743. Thanks to Rodolfo Gouveia for testing earlier diffs. ok dlg@
2008-10-07if fetching a config page for a sas target doesnt work then let the scsiDavid Gwynne
midlayer try to probe it anyway. this lets raid devices configured on an mpi to work again. reported by djm@
2008-10-07In ehci_free_itd() replace LIST_INSERT_AFTER(LIST_FIRST(..), ..) withMarcus Glocker
LIST_INSERT_HEAD(..) to prevent a crash when the freelist is empty. From NetBSD.
2008-10-06regenJonathan Gray
2008-10-06Add some devices from submitted dmesgs.Jonathan Gray
2008-10-06Don't force multi transaction endpoints (>1024 bytes) down to singleMarcus Glocker
transactions. From NetBSD.
2008-10-06Add missing checks for sc_focus being NULL. Found the hard way byMiod Vallat
Jesus Sanchez.
2008-10-06syncTheo de Raadt
2008-10-06another geforceTheo de Raadt
2008-10-06Detect and store the PCI/PCIe bus speed.Brad Smith
From DragonFly
2008-10-05Add a flag to indicate a 64-bit PCI bus is present.Brad Smith
2008-10-05Detect if the adapter is a PCIe adapter and set the RL_FLAG_PCIE flagBrad Smith
if so.
2008-10-05Always update published link state even if the internal link state doesn'tMark Kettenis
change. Prevents us from getting stuck in LINK_STATE_UNKNOWN. Fixes PR 5914. tested by deraadt@, sthen@ ok deraadt@
2008-10-04regenMark Kettenis
2008-10-04Some AMD RS780 IDs (same as those listed under ATI).Mark Kettenis
2008-10-04Remove bogus code from the error path in sr_raid0_rw(); ok marco@Miod Vallat
2008-10-04Commit cleanup part of the diff that was backed out in the previous commitMark Kettenis
(removal of unused functions). requested by deraadt@
2008-10-04More Linksys models (to match the Netgear ones) from PR 3879. I am notTheo de Raadt
adding the PCMCIA_VENDOR_INVALID, PCMCIA_PRODUCT_INVALID version though without proof that it actually exists.
2008-10-04When closing the video stream switch back to default interface as lastMarcus Glocker
action. Shuts down the device gracefully.
2008-10-03Use ether_ioctl().Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03and.. another option device..Theo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03another option hdspaTheo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Merge xe_ether_ioctl() into xe_ioctl() which was just a handler forBrad Smith
SIOCSIFADDR, now this looks like every other driver. Also return ENOTTY for unknown ioctl's. Reduces i386 GENERIC by 112 bytes.
2008-10-03Remove a few small ifdef/ifndef OpenBSD sections which contained someBrad Smith
NetBSD code.
2008-10-03KNF.Brad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-10-02according to the alsa driver for these devices, the hardware providesJacob Meuser
256 buffer descriptors, and the 256th descriptor is flakey. this driver uses one descriptor for each block of the buffer, so we need to make sure buffer size / block size < 256, or we will run out of usable descriptors. lets me play youtube videos via gnash on my auvia equipped machine. ok ratchov@
2008-10-02backout Tadpole specific non-dma workaround commited in 1.287, since itTheo de Raadt
appears the machine Mark got had a disk which failed very soon after that ok kettenis
2008-10-02Add the IBM 4810 ("SurePOS 300 Series") SCC to support the four additionalMarc Balmer
serial ports.
2008-10-02sync.Marc Balmer
2008-10-02Add IDs for the IBM 4810 BSP (Base System Peripherals) and SCC (SimpleMarc Balmer
Communications Controller) found on IBM SurePOS 300 series.
2008-10-01The display cycle key generates two ACPI events, so catch bothRobert Nagy
from jsign@ Change the camel capitalized key defines to full capitals, and add some keys found on the eeepc 1000H ok marco@
2008-09-30check all luns on sas boards to see if the device is atapi instead of justDavid Gwynne
the first one.
2008-09-30provide a scsi probe hook that checks if an atapi device is plugged intoDavid Gwynne
sas mpi variants. this lets the midlayer know it should send the right sized commands to the device. this will make the cd drive work on the sun enterprise m4000 and related machines. reported by James Hsieh at sun.
2008-09-30add support for handling extended configuration page requests. the sasDavid Gwynne
pages are all extended, which is annoying.
2008-09-30describe the extended configuration header and the sas device config pageDavid Gwynne
0.