summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-10-09Needed by recent libsaMiod Vallat
2013-10-09DIsplay fixes, also print boot path before attempting to boot it. Still notMiod Vallat
cranking boot blocks version because it's unlikely anyone but me is running them at the moment.
2013-10-09Parse (hex) partition number in boot path. For experts only.Miod Vallat
2013-10-09Fix build (forgot to rerun make depend)Miod Vallat
2013-10-09Fix parse_args() to ignore device specification and correctly append theMiod Vallat
default kernel name if only a boot device is specified. This makes boot paths like "sd()" auto-boot without asking for a kernel name.
2013-10-09Move common SCSI defines and structs to their own header, to eventually allowMiod Vallat
SCSI tape support. Drop sync negotiation from oosiop code, we can run without it.
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-09Various fixes to make kiic(4) work on my G5s.Martin Pieuchot
Only read the bus number from the "i2c-bus" child node if present, this node exists only in some device-trees, otherwise use the bus number encoded in the address of the device. Fix an off-by-one when reading the data. While here remove unused functions.
2013-10-09Initialize ns_per_tick as soon as we have read the timebase from theMartin Pieuchot
device-tree to restore the behaviour present before my last change. This fixes a regression seen on some Powerbooks where one of the two kiic(4) would always timeout when trying to configure the audio chip.
2013-10-09Fix a possible mbuf leak, from NetBSD via Loganaden Velvindron.Martin Pieuchot
ok claudio@, henning@
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-09Introduce in_ifdetach() a function to remove all the IPv4 addressesMartin Pieuchot
of an interface, named after its IPv6 equivalent. Make use of it instead of removing addresses by hand when detaching or destroying an interface. As a bonus, multicast records linked to the just divorced^Wdetached interface are no longer leaked. No objection from the gang, ok mikeb@
2013-10-09Don't leak ruleitems from match rules when hitting a per-rule max state limit.Camiel Dobbelaar
ok henning
2013-10-09Use monitor/mwait to idle when available. Make cpu_unidle() do nothingPhilip Guenther
if it can tell the target CPU isn't actually idling and introduce cpu_kick() for the cases where we want to force a non-idle CPU into the kernel. just a port of the amd64 version; testing by many
2013-10-08Early stages of a working disk bootloader for OpenBSD/aviion.Miod Vallat
Currently limited to oosiop(4) controllers, and thus models 4600 and 530. There are some rough edges to polish to avoid manual interaction (kernel currently can't figure its boot device when booted from disk), but the hard (and hair-pulling) work is over. And we can have kernel symbols again!
2013-10-08Try to be a bit more cross-compile friendly.Miod Vallat
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-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
hardclock() set a flag on the running thread and force AST processing, and then have the thread signal itself from userret(). idea and flag names from FreeBSD ok jsing@
2013-10-08If a thread sends a signal to its own process, then have that threadPhilip Guenther
take the signal by preference if it's eligible (unblocked or sigwaiting). ok jsing@
2013-10-07disk sizes, partition sizes and partition offsets are u_int64_tKenneth R Westerback
values rather than daddr_t values. So use u_int64_t to store them and %llu to print them in checkdisklabel().
2013-10-07Have platform->bootstrap() return the machine speed in MHz, which is used toMiod Vallat
set up the delay constant.
2013-10-07Put the kernel VBR page at the beginning of the kernel text, as done onMiod Vallat
mvme88k, to be able to unmap the page at address zero in the kernel, and have the vbr page read-only after being initialized.
2013-10-07Split the 64-bit interrupt source mask code into two 32-bit `interrupt' andMiod Vallat
`extended interrupt' masks. This is how the hardware works, and this makes the code simpler than attempting to aggregate them. No functional change.
2013-10-07use printf(9) consistently in FUSESylvestre Gallon
2013-10-07Add kqueue's support for FUSE.Sylvestre Gallon
tested with ajacoutot@ on gvfs+nautilus.
2013-10-07Introduce fb_delete() helper and use it in FUSE code.Sylvestre Gallon
2013-10-07Use full 64-bit UUIDs in FUSE.Sylvestre Gallon
Thanks to Pedro Martelletto.
2013-10-07Allocate fb_dat in fb_setup(9)Sylvestre Gallon
2013-10-07Add new ioctl for handling FUSE buffersSylvestre Gallon
2013-10-07Rework fuseread() and fusewrite().Sylvestre Gallon
2013-10-07typoMiod Vallat
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-06Tweak commentPhilip Guenther
2013-10-06Add quirk for ALC260 found on Acer Extensa 6700.Raphael Graf
ok ratchov@
2013-10-06Replace some XXX casts with an inline function that explains what's going onPhilip Guenther
ok deraadt@
2013-10-06Add CLOCK_UPTIME, a clock which measures time-running-not-suspended, soPhilip Guenther
that mlarkin@ can fix programs that report rates-over-uptime. ok kettenis@ manpage corrections jmc@ (which I've probably broken again)
2013-10-06Back out POLLHUP change until a problem with xterm hanging on closeTodd C. Miller
is fixed.
2013-10-05Support for the i.MX6-based Wandboard Quad.Patrick Wildt
From Artturi Alm.
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-05Use K1X_FID macro on msr read.Bryan Steele
2013-10-05Revert one chunk from previous: don't need another #include herePhilip Guenther
2013-10-05sadly, some removals to make things fitTheo de Raadt
2013-10-05Use monitor/mwait to idle when available. Make cpu_unidle() do nothingPhilip Guenther
if can tell the target CPU isn't actually idling and introduce cpu_kick() for the cases where we want to force a non-idle CPU into the kernel. critical review of early versions by weingart@; testing by many ok haesbaert@ krw@
2013-10-05add and use gtt mapping flags, further reduces the diff to linuxJonathan Gray
ok kettenis@