summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-03-19It's safe to assumed 'signed' existsPhilip Guenther
2014-03-19It's been a quarter century: pre-ANSI C is deadPhilip Guenther
2014-03-19Pull in FreeBSD r37363 and r37887:Philip Guenther
-- Sync timestamp changes for inodes of special files to disk as late as possible (when the inode is reclaimed). Temporarily only do this if option UFS_LAZYMOD configured and softupdates aren't enabled. UFS_LAZYMOD is intentionally left out of /sys/conf/options. This is mainly to avoid almost useless disk i/o on battery powered machines. It's silly to write to disk (on the next sync or when the inode becomes inactive) just because someone hit a key or something wrote to the screen or /dev/null. -- Made lazy syncing of timestamps for special files non-optional. -- Also, include support in 'pstat -v' to display the IN_LAZYMOD flag. ok tedu@ millert@
2014-03-19Properly align the stack using _STACKALIGNBYTES, rather that the ALIGN()Theo de Raadt
macro which is unaware that stacks may need larger alignment. This may mean that some workarounds in crt0 can go away (here's looking at you mips64..) Tested on about half the architectures (the most special cases), so let's see what happens. with tobiasu
2014-03-18- Fix clipping bounds in fill and blt operations; the lower-right corner isMiod Vallat
supposed to be outside the clipping region, not inside (i.e. there was an off-by-one everywhere). - Add colormap support, by programming the RAMDAC palette registers at init time, and also implement the colormap ioctls.
2014-03-18Remove timeout logic from the polling loop. It causes more problems than itMark Kettenis
solves, and hopefully timeouts won't happen anymore now that we clear interrupts before checking the response in pointer. Fixes problems on my alpha where spinning up one of the disks takes longer than the timeout value.
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-18To prevent lock ordering problems with the kernel lock, we need to make sureMark Kettenis
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels. ok miod@
2014-03-18More a.out detritusPhilip Guenther
ok miod@
2014-03-18First setup that stops using isp(4), and relies on ql[aew](4).Theo de Raadt
Not due to testing... but because they can't fit side by side. ok kettenis
2014-03-18Properly clear and free the endpoint associated to a pipe. Do notMartin Pieuchot
forget to update the Endpoint Context with the last valid endpoint and free the device resources, including its slot, when the default pipe is closed. Device addresses can now be reused and I should be done with descriptor leaks.
2014-03-18Notify userland via the routing socket when ARP resolution completes;Mike Belopuhov
discussed with claudio@ at n2k14, ok mpi
2014-03-18Initialize len, from netbsdRaphael Graf
ok syl@, bmercer@, jasper@
2014-03-18Rename rt_gettable() into rtable_get(), swap its arguments to beMartin Pieuchot
coherent with the existing rtable_* functions and document it. While here fix some other manpage glitches pointed out by jmc@.
2014-03-18<sys/agpio.h> is goneMartin Pieuchot
2014-03-18Do not rely on the fact that sys/vnode.h includes all the worldMartin Pieuchot
through uvm/uvm.h and add proper includes for function definitions. ok syl@
2014-03-18Add missing parts of the tiic driver.Sylvestre Gallon
inspired by rapha@ ok rapha@, jasper@
2014-03-18Unbreak DDB_STRUCT after removal of agpio.hPhilip Guenther
2014-03-18When creating a unix socket, save the PID for pf's log(user), even whenPhilip Guenther
not in the original thread. ok matthew@
2014-03-18In prep for killing ps_mainproc, use pr->ps_pid instead ofPhilip Guenther
pr->ps_mainproc->p_pid to get the PID. ok matthew@
2014-03-17Use the ci_inatomic flag here as well to "disable" page faults and provideMark Kettenis
the same implementations of kmap_atomic() and kunmap_atomic() as we have in i915_gem.c. These will be unified later.
2014-03-17The AGP ioctl interface is gone; remove the header file as well.Mark Kettenis
ok matthieu@
2014-03-17Add upd(4) to the tree, disabled. Please do not enable it yet.andre
At this moment upd(4) exposes data from usb-based uninterruptable power systems (or just USB Power Devices), sysctl(8) sensors (read snmpd(8) friendly), it is also an "in-base" alternative to other 3rdparty UPS-monitoring software, we have plans to bring more features. This is my first "something" into the tree. Lots of thanks: sthen@ and blambert@ are the ones to blame for the idea/challenge. mpi@ is the one whom pushed me to get it correct (from uhub -> uhidev). reyk@ mentored me on OpenBSD-way with previous iked/relayd experiences. ok mpi@, deraadt@ "get it in".
2014-03-17regenJasper Lievisse Adriaanse
2014-03-17add vendor Red Hat and two devicesJasper Lievisse Adriaanse
ok jsg@
2014-03-17Remove pre-rt_getifa() code to find the address descriptor (ifa) relatedMartin Pieuchot
to a route entry, no need to do the work twice. This chunk should have been deleted when post-4.4BSD changes from BSD/OS 4.2 were merged more than 10 years ago. While here properly indent the following block. tested by chris@, ok krw@
2014-03-17fix memory leaks in error paths when setting up the gattJonathan Gray
ok kettenis@
2014-03-16DDB supports ELF symbols are all archs, and it's always the same as thePhilip Guenther
native size, so eliminate the #defines. ok miod@
2014-03-16fix typo; unbreak buildMark Kettenis
2014-03-16Remove unused prototypes.Mark Kettenis
2014-03-16Move the logic to deal with devices with broken descriptors into itsMartin Pieuchot
own function and don't leave the driver half-configured if a children doesn't set the interrupt function. tested by jeremy@, ok andre@
2014-03-16Convert LED page defines to the common usage names patern, noMartin Pieuchot
functionnal change. ok andre@
2014-03-16Patch up the firmware revision for the ISP1000 firmware since it doesn'tMark Kettenis
return the proper version numbers. From isp(4).
2014-03-16Don't use volume keys when in raw-mode (this doesn't work), and letMartin Pieuchot
Xorg driver do the translation and handle them as regular keys. Fixes confusion caused by the volume being changed twice in contradictory ways: once by X programs and once by the ukbd(4) driver. ok ratchov@
2014-03-16Kill DB_*TASK_NAME* macros which were only ever on i386/amd64 and never used.Philip Guenther
2014-03-16Comment fixes: document the direct map and the kernel image, correctPhilip Guenther
the address of the alt L1 PTE, etc. Remove extern declaration of pdes, as it doesn't exist as a global.
2014-03-16Remove warnings on unknown x86 models in the code that returns the FSBJonathan Gray
speed and remove the no-op cases added to avoid the warning. We shouldn't normally hit the warning anyway, the bus speed is only used on older i386 machines with piixpcib/ichpcib based speedstep or to create a fake high/low table with newer style speedstep when we can't get the table from ACPI. ok kettenis@
2014-03-16drm/i915: Do not clobber config status after a forced restore of hw stateJonathan Gray
From Chris Wilson 790dddadff219165a4666def708c16e8db2c5a7d in ubuntu 3.8 edd5b13313551d6b04acfb90d3db58ed3cf3c814 in mainline linux
2014-03-16Add Sitecom LN-032 from/tested by Fabian Raetz.Jonathan Gray
While here add a few other AX88179 devices as well.
2014-03-16regenJonathan Gray
2014-03-16Add Sitecom LN-032 from/tested by Fabian Raetz.Jonathan Gray
While here add a few other AX88179 devices as well.
2014-03-15Enable qlw(4) at sbus(4).Mark Kettenis
2014-03-15add a __bounded() define as a shortcut for out bounds-checking attributesDamien Miller
that turns itself off when not compiling with gcc add __warn_unused_result as a shortcut to the __warn_unused_result__ attribute ok martynas@
2014-03-15ISP1000 SBus support for qlw(4).Mark Kettenis
2014-03-15More ISP1000 (SBus) bits.Mark Kettenis
2014-03-15The ISP1000 firmware doesn't support the _A64 mailbox command variants. SinceMark Kettenis
we don't actually need these as we always make sure our bus addresses fit into 32 bits, simply use the non-_A64 variants.
2014-03-15Only issue SET_FIRMWARE_FEATURES command if we actually have any firmwareMark Kettenis
features to set. Needed for upcoming ISP1000 SBus support. Might help with running on older firmwares on PCI variants as well.
2014-03-15Fix pasto in error message.Mark Kettenis
2014-03-15Starting the spring cleanup.Martin Pieuchot
2014-03-15Remove debug leftover.Martin Pieuchot