summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2012-02-16Do an explicit `sync' instruction before returning from cache routines; this isMiod Vallat
a nop on R5k and RM52xx, but actually required on RM7k.
2012-02-16Be sure to reset coprocessor 0 TAG_LO register to zero before attemptingMiod Vallat
InvalidatePage_* cache operations on RM52xx and RM7k, as strongly recommended by the manual.
2012-02-16Use abbreviated mnemonics whenever possible (e.g. beqz instead of beq ...,zero),Miod Vallat
fix various typos in comments, harmonize a few of them, and rename the internal InvalidateSecondaryPage define to InvalidatePage_S for consistency. No change in generated code.
2012-02-16add kevent support for msdosfs to make applicationsRobert Nagy
monitoring fs mounts happy tested by ajacoutot@ and ok by thib@, krw@
2012-02-15re-enable POOL_DEBUG for -currentTheo de Raadt
2012-02-15Enable rthreads by defaultPhilip Guenthe
ok deraadt@
2012-02-15Hold struct filedesc's fd_lock when writing to the fd_ofiles, fd_ofileflags,Philip Guenthe
or fd_{lo,hi}maps members, or when doing a read for a write. Fixes hangs when an rthreaded processes sleeps while copying the fd table for fork() and catches another thread with the lock. ok jsing@ tedu@
2012-02-1582571/82572 do not properly set byte enables 2 and 3 on MSIJonathan Gray
writes. Some (but not all) chipsets will fail to generate interrupts in this case, so do not attempt to enable MSI on 82571/82572. Problem reported by David Imhoff with interrupts working on PE1950 but not working on a R610. ok kettenis@ claudio@ deraadt@
2012-02-14we are now hacking on 5.1-currentMark Kettenis
2012-02-14typo in comment.Stuart Henderson
2012-02-12use the barrier before the inb; not instead ofTheo de Raadt
prompted by kettenis, ok miod, tested on the troublesome machine
2012-02-12this breaks ramdisk builds. misses releaseTheo de Raadt
2012-02-11Don't compare command line input to softraid device names. ParseKenneth R Westerback
out the intended device name from the realdev constructed by opendev(). Should fix the issue found by stsp@ in trying to install a boot-from-softraid sparc64. ok deraadt@
2012-02-11This code used to do a register read to force a barrier -- that is notTheo de Raadt
sufficient. Now, use bus_space_barrier explicitly. This was exposed by newer gcc on DS20 alpha with ahc(4) controllers using any drives other than Seagates. During initial probe the drive vendor/product string would be empty. diff from miod; tested by myself and henning
2012-02-10DUIDs are only valid when booting off of a disk, so make sure we arePeter Hessler
actually doing so before using them OK deraadt@, krw@
2012-02-09As usual, turn off POOL_DEBUG for the release. Note that POOL_DEBUG isTheo de Raadt
not the same as it was in 4.9 or earlier. In either case you can turn it on again using sysctl kern.pool_debug=1 -- but if POOL_DEBUG is not enabled you only get a subset of the strict checks. prodded by david
2012-02-09Match on Atmel AT91 CDC ACM explicitly as it reports a protocol of 0Jonathan Gray
so fails to match on class. Tested by LEVAI Daniel. ok deraadt@
2012-02-09regenJonathan Gray
2012-02-09Atmel AT91 CDC ACMJonathan Gray
2012-02-08Remove the init path of jme_newbuf that used M_WAITOKJonathan Gray
as this can be called from an interrupt context. From brad.
2012-02-07move out of -betaTheo de Raadt
2012-02-05Improve the ICMPv6 direction checkMike Belopuhov
Following bluhm's advice this changes the way we setup state keys and perform state lookups for ICMPv6 Neighbor Discovery packets: - replace the NS-dst with ND target address; - replace the NA-src with ND target address; - replace the NA-dst with unspecified address if it is a multicast. This allows pf to match Address Resolution, Neighbor Unreachability Detection and Duplicate Address Detection packets to the corresponding states without the need to create new ones or match unrelated ones. As a side effect we're doing now one state table lookup for ND packets instead of two. Fixes a bug uncovered by one of the previous commits that virtually breaks IPv6 connectivity after few minutes of use. ok stsp henning, with and ok bluhm
2012-02-05Remove the extern declarations for the long-gone static msg queuePhilip Guenthe
data structures ok miod@ blambert@
2012-02-05Fix SysV message queue identifiers.Bret Lambert
Found and diagnosed by Alexis Fouilhe hyjial at gmail dot com input miod@ guenther@ ok guenther@
2012-02-04Close races where timer is started on a command and then an splbio()Kenneth R Westerback
is called before the command is started. This might have resulted in the timeout firing and invalidating the command before it is started. Move the timeout_add_* inside the relevant splbio()/splx(). ok miod@ tedu@
2012-02-04Since sili_get_ccb() can return NULL if there are no ccb's available,Kenneth R Westerback
check for the result in sili_pmp_softreset() as is done for all other invocations of sili_get_ccb(). While here disambiguate the printf's being emitted when sili_get_ccb() returns NULL.
2012-02-03The kernel did not compile without INET6. Put some #ifdefs intoAlexander Bluhm
pf to fix that. - add #ifdef INET6 in obvious places - af translation is only possible with both INET and INET6 - interleave #endif /* INET6 */ and closing brace correctly - it is not necessary to #ifdef function prototypes - do not compile af translate functions at all instead of empty stub, then the linker will report inconsistencies - pf_poolmask() actually takes an sa_family_t not an u_int8_t argument No binary change for GENERIC compiled with -O2 and -UDIAGNOSTIC. reported by Olivier Cochard-Labbe; ok mikeb@ henning@
2012-02-02disable the polling timeout when we suspend; discovered by some codeTheo de Raadt
guenther is working on ok miod
2012-02-02add netflow v9/ipfix support to pflow(4).Sebastian Benoit
large parts written by Florian Obser (florian -at- narrans -dot- de). feedback from sperreault@ gollo@ sthen@ ok from gollo@ dlg@ henning@
2012-01-31add uhid/uaudio quirks for the iPad and iPad 2.Bryan Steele
ok deraadt@/dcoppa@ and sthen@.
2012-01-31regen.Bryan Steele
2012-01-31Add product ID's for the iPad and the iPad 2.Bryan Steele
ok deraadt/dcoppa and sthen@.
2012-01-31give up on mcpu options; something remains broken in pmap it looks like; ok miodTheo de Raadt
2012-01-31add missing calls to pf_pkt_addr_changed(); ok henning@Markus Friedl
2012-01-31remove an unused msr readJonathan Gray
from Bryan Steele
2012-01-30Prevent softraid from being used with devices that do not have a sectorJoel Sing
size of 512 bytes - any other size is not currently supported. ok krw@
2012-01-30Remove redundant call to vr_reset. From Bryan Steele, ok mikeb@Stuart Henderson
2012-01-29According to the X.org driver, the Evergreen series of chips are thePeter Hessler
same as R7xx. So, set the 'Radeon HD 6320' card to RV770. OK matthieu@
2012-01-29syncPeter Hessler
2012-01-29add device ID for Radeon HD 6320Peter Hessler
OK matthieu@
2012-01-29Ansify and remove useless variable.Martin Pieuchot
ok miod@
2012-01-29Start cleaning vgafb(4) to be make it more like vga(4). Remove unusedMartin Pieuchot
function and move vgafb functions to there right place. ok miod@
2012-01-29Fix another instance of the 11a->11b switch panic (see previous commit).Stefan Sperling
It could also trigger during a scan. Moving the fix into ath_setcurmode() should fix the problem for good. Pointed out by ml@extensibl.com; ok mikeb
2012-01-29Swap the keycodes of the two swapped keys of Apple ISO keyboards.Martin Pieuchot
This fix the US layout on ISO keyboards and the swapped keys issue under X11. ok miod@, shadchin@
2012-01-29regenMartin Pieuchot
2012-01-29Add Apple keyboard IDs found on some PowerBook, MacBook and later. WhileMartin Pieuchot
here correct Apple HID bluetooth ID. ok miod@
2012-01-29Swap the keycodes of the two swapped keys of Apple ISO keyboards and updateMartin Pieuchot
ISO layouts accordingly. This fix the US layout on ISO keyboards and the swaped keys issue under X11. ok miod@, shadchin@
2012-01-29Remove fastq from struct sppp. Missed when I committed if_spppsubr.c r1.96,Stuart Henderson
pointed out / ok mikeb@
2012-01-28Provide a default value for ${OBJCOPY} for native muilds.Miod Vallat
2012-01-28Blacklist a dualpoint model which clitpad sends non compatible PS2 packets.Martin Pieuchot
Issue reported by deraadt@