summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-03-19Fix keyword expansion.Michael Knudsen
ok marco
2007-03-19attach softraid to the root of the device tree in a machine independantDavid Gwynne
way, rather than requiring some glue in each machines mainbus probe. it is still commented out. based on a discussion with miod@ ok marco@ deraadt@
2007-03-19Not only did I break RAMDISK, I also left a debugging printf.Artur Grabowski
2007-03-19Add FFS2 fields to the superblock, change file system tools to keepPedro Martelletto
accessing FFS1 fields, okay art@, quite some testing by ckuethe@, simon@ and thib@, thanks.
2007-03-19please always test RAMDISK kernelsTheo de Raadt
2007-03-19no longer create a pflog0 by default.Henning Brauer
we had to put this workaround in since /etc/rc used to use the exit code if "ifconfig pflog0" to decide wether we run on a kernel with pflog support. rc has been fixed to explicitely create pflog0 when pf and pflogd are enabled in November 2006, so now is the time to remove this compat hack. pplz who haven't updated rc since 2006/11/16 lose pflogd. ok ryan theo
2007-03-19Move i386 to timecounters. This is more or less the same code as amd64.Artur Grabowski
The "lapic" timer is ripped out since it wasn't actually a lapic timer, but a hacked up tsc timer with some synchronization for MP. There is no tsc timer right now since they are very unreliable on MP systems, systems with apm, and systems that change the cpu clock. Which basically means every modern machine out there. We're running with the i8259 timer now. deraadt@ ok
2007-03-19Change the way the nmea(4) line discipline takes the timestamp forMarc Balmer
the timedelta sensor when no PPS signal is available. Previously, the timestamp was taken at the leading '$' character of a GPRMC message, which was not always correct, as some GPS units send other messages first; we do not know when the GPRMC message is sent within a data block (we refer to a data block as the set of NMEA messages that are sent by a GPS unit in one go, usually once per second). nmea(4) now takes the timestamp at the first '$' character received after the start of a new seconds. Since GPS units transmit a data block every second, the first message can be found by measuring the gap between consecutive messages: after the longest gap, the first message of the next second follows. And it is at the leading '$' character of this message that we take the timestamp. $GPGGA,..... <- take timestamp here $GPGSA,..... $GPRMC,..... <- decode time here ... <- possibly more messages <- longer gap till start of next second $GPGGA,..... <- it starts all over, take next timestamp This code has been designed to work independent of the baudrate and the rate at which the GPS sends out it's data blocks (usually 1 Hz, but 5 Hz units are common as well): With this change, precision is greatly improved in the absence of a PPS signal and as a side effect, jitter is reduced. Note that while this is much better than before, there is still a slight offset to the real time, as calculating the fix in the GPS unit and transmitting the '$' character takes a short, but unpredictable amount of time. When tty timestamping is enabled, but there is no PPS signal available, the sensor status will be degraded to CRITICAL, which means "check your hardware". Thanks to Chris Kuethe for testing and feedback. ok ckuethe.
2007-03-19typo fixes; didickman@gmailTheo de Raadt
2007-03-19Add a new device that provides a framework for IO manipulation. A very basicMarco Peereboom
implementation of a RAID 1 is included in this but it does not deal with failures yet. Disabled in GENERIC. Suggestions from and ok beck@ miod@ krw@ dlg@ deraadt@
2007-03-19Fix some code relative to chips that don't currently work (BCM5722 &Kenneth R Westerback
BCM5756). They still don't work but when they do they won't use an inappropriate Jitter bug workaround. No effect on other chips. From Michael Chan of Broadcom, via Linux tg3 via Brad. ok reyk@
2007-03-18Add IP load balancing support for carp(4).Marco Pfatschbacher
This provides a similar functionality as ARP balancing, but also works for traffic that comes across routers. IPv6 is supported as well. The configuration scheme will change as soon we have sth better. Also add support for changing the MAC address on carp(4) interfaces. (code from mcbride) Tested by pyr@ and reyk@ OK mcbride@
2007-03-18put support for alphaservers 1200 and 4100 on ramdisk kernelsMartin Reindl
ok deraadt@
2007-03-18Define MMC_STOP_TRANSMISSION command (CMD12)Uwe Stuehler
2007-03-18typoTheo de Raadt
2007-03-18DHC automatically sends a CMD12 after multiple-block transfers, but otherUwe Stuehler
controllers don't. Put in a temporary hack for pxammc on Zaurus.
2007-03-18Enable pxammc and sdmmc in RAMDISK, too.Uwe Stuehler
2007-03-18Support the PXA27x SD/SDIO/MMC controller on ZaurusUwe Stuehler
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz.
2007-03-18Add an interface to scoop(4) to control CF and SD card powerUwe Stuehler
2007-03-18Backout pascoe@'s last USB change because it page faults at attachmentMarcus Glocker
time. Chris; Get your shiz fixed and tested for the next time. We have better todo then wasting our time by backing out untested stuff. OK deraadt, OK ckuethe
2007-03-18OX16PCI954K is a puc@cardbus (missed in the previous puc@cardbus commits)Michael Shalayeff
2007-03-18add OX16PCI954K puc idMichael Shalayeff
2007-03-18unwrap EILSEQMarc Espie
okay millert@
2007-03-18get rid of noop vop_reallocblks; pedro@ miod@ okMichael Shalayeff
2007-03-18Comment routine which does the chip access validation.Marcus Glocker
2007-03-18o Add bcw_80211_core_init() according toMarcus Glocker
http://bcm-specs.sipsolutions.net/80211Init. o Add a rewritten version of bcw_core_reset() called bcw_80211_core_reset() according to http://bcm-specs.sipsolutions.net/80211CoreReset. This will probably replace bcw_core_reset(), but I need more verification first. o Add bcw_core_enable() and bcw_core_disable(). There seems to be devices which contain several 802.11 cores. The unused needs to be disabled.
2007-03-18do not steal page table pages on page allocation failure -- it can be dealt ↵Michael Shalayeff
w/ in a more simple way as other archs do; art@ ok
2007-03-18Don't restart thrsleep after a signal. After a signal happened and weArtur Grabowski
weren't on the sleep queues, the condition we were sleeping on might have changed, so we need to go back to userland and recheck that condition. This fixes the majority of lockups and and hanging threads in rthreads since it fixes a race in the semaphore code. ok tedu@
2007-03-18Perform legacy emulation handover for USB1 companion controllers immediatelyChristopher Pascoe
but defer the remainder of their initialisation until after the other devices on their PCI bus have attached. This ensures that any USB2 controller has also completed its initialisation before we start to initialise the USB1 parts. This minimises the chance that a nasty SMM implementation will trash the USB1 controller's config when it performs legacy emulation handover of the USB2 part.
2007-03-18Wait the stable power delay on a USB hub only once per hub (not per port),Christopher Pascoe
and defer the delay for root hubs until the host controller event thread starts, permitting some concurrency. Speeds up the boot process dramatically when you have lots of host controllers. ok dlg@
2007-03-18Save SOF (frame timing adjustment) before the very first host controllerChristopher Pascoe
reset, rather than at suspend/resume, otherwise any BIOS inserted value is lost immediately. ok dlg@
2007-03-18syncReyk Floeter
2007-03-18add device IDs of the new VIA CX700 chipsetReyk Floeter
reported by brad
2007-03-17For arm pre-v6 (ie all supported machines) it is necessary to disableDale Rahn
interrupts to be able to have an atomic update of a variable without a mutex.
2007-03-17Implement proper atomic.h for powerpc. With help from art@ and drahn@.Mark Kettenis
ok drahn@
2007-03-17Make lcsplx() call spllower() instead of duplicating its code.Mark Kettenis
ok miod@
2007-03-17Do not start lines printed by the kernel with '<' so that syslog won't getMiod Vallat
confused.
2007-03-17Only invoke printstar() in get_pte() if option DEBUG.Miod Vallat
2007-03-17Indentation repairs, no code change.Miod Vallat
2007-03-17replace the VMWARE quirk that restricts the bus width to 16 targets withDavid Gwynne
one for all SPI controllers. krw has a sun machine with a 1030 that gets the bus width wrong too, so since vmware emulates that type of hardware too, we can just limit the lot of them and forget about it.
2007-03-17Since we're not always called with M_WAIT, check return value fromArtur Grabowski
MGETHDR and fail if it's NULL. ok miod@
2007-03-17add proper atomic_{set,clear}bits_int implementationMartin Reindl
prodded by art@ ok art@
2007-03-17add uts(4); this was missing from the initial commitRobert Nagy
2007-03-17wpi(4) works fine on amd64 according toJonathan Gray
Stefan Sperling <stsp@stsp.in-berlin.de> so enable it
2007-03-17regenJonathan Gray
2007-03-17Add some more NVIDIA graphics cards.Jonathan Gray
From Eric Gillingham <sysrq@sysrq.tk>
2007-03-17we do not want uts(4) enabled until we have proper calibrationRobert Nagy
support, so revert my previous commit
2007-03-16Split the whole chip init stuff in bcw_init() into a new functionMarcus Glocker
called bcw_chip_init(), according to the 80211Init steps in the spec.
2007-03-16Re-initialise f_seekp to 0 on a successful read_inode() return.Marc Aurele La France
Fixes a problem that prevented the booting of a kernel that, to be found, needs more than one block per directory iin its path to be read. ok miod@, deraadt@
2007-03-16enable uts(4)Robert Nagy