summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-10-17Remove support for a.out and ecoff. We only do elf now.Theo de Raadt
ok miod
2013-10-15Driver for the AIC-6250 SCSI controller found on AViiON models 100, 200, 300,Miod Vallat
400 and 4300. Limited to PIO mode only for now, until the DMA controller is tamed. Heavily based upon the MI aic(4) driver.
2013-10-14Use DL_SECTOBLK() instead of handrolling same calculation to getKenneth R Westerback
wdsize() return value.
2013-10-14XXsize() returns daddr_t, so calculate the return value in a daddr_tKenneth R Westerback
variable and not (usually) an int. ok miod@
2013-10-14If a transfer terminates with an I/O error status, do not modify theMartin Pieuchot
pipe to stop enquening the next transfer before the done() function has been called. This should fix the hangs seen when unplugging a USB keyboard attached to uhci(4). Problem reported by dcoppa@ and Peter Kane
2013-10-14set openings to 64 like the linux driver sort of does. if a vendor saysDavid Gwynne
something it isnt as magical as something i made up, right?
2013-10-14defer the first update of the sensor as late in the boot process we canDavid Gwynne
but running it from the mountroot hooks. this means the clock will be attached and therefore better to compare the hypervisors clock against. before we used to get ridiculous timedeltas, which if ntpd used to set the time with on startup (ie, ntpd -s) would make us think we were in 2057 or 2104. ok jmatthew@
2013-10-11Add initial RTL8106E and RTL8168G/8111G support.Jonathan Gray
An earlier version didn't seem to work on a machine bmercer@ had access to a few months ago but this seems to work with the onboard Ethernet in an ASUS Z87 board RD Thrush has.
2013-10-11match Intel 8 Series SMBus (Lynx Point and Lynx Point-LP)Jonathan Gray
tested by RD Thrush on Lynx Point
2013-10-09Enable synch negotiation; code was there but not enabled since this driver wasMiod Vallat
ported from NetBSD. Tested on hppa (720) and aviion (4600).
2013-10-09Include the 'state of health' field in the bbu ok sensor value.Jonathan Matthew
The dell perc 6/i sets this to zero (meaning bad) when it decides the battery doesn't have enough capacity for it to allow write back mode, but doesn't set any of the other flags to tell us why. ok dlg@, tested by sthen@
2013-10-08all the chips rings are protected by a single mutex, which is used in bothDavid Gwynne
the scsi_cmd and intr paths. scsi_done can restart io though, which means the mutex will be tried recursively which panics. defer scsi_done calls after mtx_leave by putting completed ccbs on a list on the stack that we can walk. i hate locks.
2013-10-08set xs->resid to 0 on successful command completion. makes things work.David Gwynne
2013-10-08ring producers and consumers are 32bit counters, while the ringDavid Gwynne
sizes are much much smaller. you need to mask the req ring producer with its size to get its actual entry. also stops scribbling over memory you dont really own. lets esxi guests boot without panicking now. maybe itll fix jsgs workstation panic too. fusion and esxi can do some io now, but not get I/O errors writing to write an mbr with fdisk -i.
2013-10-08vmwpvs(4), a driver for VMware Paravirtual SCSI things in vmware guests.David Gwynne
i got it working on the eurostar while bored, and its at a point where it will work given a bit more attention rather than just being a way to occupy my time. there's some cool use after frees and a lack of hotplug support to work on ok krw@ jsg@
2013-10-07Do not invoke ttymodem() directly, but l_modem from the current linedisc.Miod Vallat
2013-10-07remove some debug printf.Yojiro Uo
2013-10-07regen.Yojiro Uo
2013-10-07add device driver for ASIX AX88178a and AX88179 Ethernet interface.Yojiro Uo
2013-10-06Add quirk for ALC260 found on Acer Extensa 6700.Raphael Graf
ok ratchov@
2013-10-05Disable interrupts in the interrupt handler. This is what FreeBSD does, andMark Kettenis
it seems to fix the occasional watchdog timeout when using MSI. tested by many
2013-10-05add and use gtt mapping flags, further reduces the diff to linuxJonathan Gray
ok kettenis@
2013-10-04Fix tuner ioctl TVTUNER_SETFREQ after rev 1.30.Brad Smith
Pointed out by Pedro ok krw@
2013-10-03Another fix from Linux that ended up being packported to the 3.8.13 stableMark Kettenis
branche maintained by the Ubuntu folks. Original linux commit message: 'Fix incoherence with fence updates on Sandybridge+'. ok jsg@
2013-10-02regenJonathan Gray
2013-10-02cleanup the VMware entries and add AHCI/HD Audio/xHCIJonathan Gray
ok sthen@ deraadt@
2013-10-01Emulate 64-bit atomic operations on 32-bit architectures by using a mutex.Mark Kettenis
ok mpi@, jsg@
2013-10-01Use %z* for size_tStefan Fritsch
while there, fix a few %d into %u
2013-10-01Don't claim the interrupt if none of the interrupt status bits were set.Mark Kettenis
ok deraadt@
2013-10-01regenJonathan Gray
2013-10-01rename some Xeon E3-1200v2 ids that are actually generic 3rd gen core idsJonathan Gray
2013-09-30move the read/write functions and macros closer to linuxJonathan Gray
noteably this uses the gt lock and force wake in some cases and includes a gen5/ironlake errata. ok kettenis@
2013-09-30add some additional run(4)/urtwn(4) devices found in FreeBSDJonathan Gray
2013-09-30regenJonathan Gray
2013-09-30add some additional run(4)/urtwn(4) devices found in FreeBSDJonathan Gray
2013-09-30Add ISY IWL 2000, another RTL8188CUS/urtwn(4)Jonathan Gray
from Maximilian Fillinger
2013-09-30regenJonathan Gray
2013-09-30Add ISY IWL 2000, another RTL8188CUS/urtwn(4)Jonathan Gray
from Maximilian Fillinger
2013-09-30drmclose: don't unref objects with a mutex locked.Jonathan Gray
Some free functions (radeon) grab sleeping locks. Instead when we ahve taken the object off the tree we unlock and unref, then regrab before looking again. from oga in bitrig, ok kettenis@
2013-09-29Get rid of cnset(). It is only used on amd64/i386 and doesn't really doMark Kettenis
anything useful there. Switching from glass console to serial console is already done by cninit(), and the reinitializaton of cn_tab by cnset() breaks the conseleness checks in the wsdisplay code. Tested on various amd64/i386 systems with both glass and serial console. ok mpi@
2013-09-28Fix the message of uthum(4)'s calibration offset is incorrectsasano
when the offset is -1 < degC < 0. ok by yuo@ and mpi@.
2013-09-28Another puc(4) device based on Oxford chipset found in a StartechMike Larkin
expresscard serial card
2013-09-28regenMike Larkin
2013-09-28Another puc(4) device based on Oxford chipset, found in a StartechMike Larkin
expresscard serial card
2013-09-28Fix use of uninitialized variable, found by Maxime Villard.Mike Larkin
ok miod@
2013-09-27Try harder to ensure wddump() doesn't decrement the countKenneth R Westerback
of sectors to write by one value and increment the address the next i/o will start at by a different amount.
2013-09-25Unbreak the tree; no 64-bit atomic operations on 32-bit architectures for now.Mark Kettenis
found out the hard way by chris@ and mpi@
2013-09-24Make (almost all) atomic operations really atomic.Mark Kettenis
Potentially fixes a race/panic reported by claudio@ ok jsg@
2013-09-24Make sure vblank_time_lock blocks interrupts to match Linux.Mark Kettenis
Potentially fixes a race/panic reported by claudio@ ok jsg@
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.