summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-12-30Only do pullups when necessary, m_pullup() always prepends an mbufClaudio Jeker
which is very bad if it is not necessary as it causes scrary mbuf fragmentation. tested and OK mglocker@
2007-12-30Correctly handle non-null state frames on 68020 and 68030 in fpfault.Miod Vallat
2007-12-30dont freeze lock or set caching modes on ata devices that arent disks, itsDavid Gwynne
not a good idea. found by simon@ who plugged a sata dvd drive into ahci.
2007-12-30Remove unused variable consintr. ok mbalmerAlexander Bluhm
2007-12-30In pf_normalize_tcpopt() call pf_pull_hdr() address family safe.Marcus Glocker
OK dhartmei@
2007-12-30regenBrad Smith
2007-12-30- rename some SATA entries which are shared between the ATI SB700 and SB800 ↵Brad Smith
chipsets - add some new SATA entries for the ATI SB700 and SB800 chipsets - add the ATI SB700 IDE PCI id From Linux ok dlg@
2007-12-30regenBrad Smith
2007-12-30add the PCI id for the Sun Crypto Accelerator 6000 PCIe board.Brad Smith
ok dlg@
2007-12-30Make "scrub max-mss" rule work correctly;Marcus Glocker
In pf_normalize_tcpopt() pull the TCP options before processing them. This gets the correct TCP options even if an mbuf chain was used, instead like now pointing into an invalid mbuf data buffer. Will close PR 5623. Diff done together with dhartmei@. OK dhartmei@
2007-12-29Override SoftFloat's countLeadingZeros32() with a faster, ff1-based, versionMiod Vallat
on m88k.
2007-12-29Had I known we had a kernel version of John Hauser's SoftFloat code, I wouldMiod Vallat
have jumped on it instead of basing the FPU completion work on the sparc FPU code. This is now repaired with this commit, and m88110_fp.c changes directory again, for the last time.
2007-12-29Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate ruleMiod Vallat
in files.alpha to compensate for NO_IEEE kernels. This will allow the softfloat code to be used by other platforms than alpha.
2007-12-29Do not define _FP_DYNAMIC; no other platform defines this and nothing (eitherMiod Vallat
in kernel or in userland) uses it. ok deraadt@
2007-12-29switch from spls to mutexes for protecting the random state.David Gwynne
ok tedu@ djm@
2007-12-29fix comments after the members of scsi_adapter were changed.David Gwynne
prompted by krw@
2007-12-29Remove debug message. Found by Mike Belopuhov, tsk tsk deraadt.Marco Peereboom
2007-12-29Skip LBC on buswalk. Gets rid of unconfigured "Bus Converter Port" devicesMark Kettenis
on machines like the C360.
2007-12-29the scsi layer always had function pointers for asking the hba about aDavid Gwynne
device before issuing scsi commands to it, but it was never implemented, never used, and no hba actually filled them in. i came along and added another two function pointers for the same thing. this cleans up the extra pointers. ok krw@ marco@ miod@ deraadt@
2007-12-28If initializing a frame buffer as glass console fails, instead of an invisibleMiod Vallat
panic (for you ichc fans out there), disable the wscons console and force a console device reselection, which ends up in picking a serial console. This should not happen, but just in case, it's a less rude behaviour.
2007-12-28Explicitely mention we are the console device, when applicable.Miod Vallat
2007-12-28There is no need, and no point, to initialize panicstr here.Miod Vallat
2007-12-28Add a few more K-class models to the list of machines that have more devicesMark Kettenis
than PDC tells us about.
2007-12-28Do not expose struct pmap unless _KERNELMiod Vallat
2007-12-28Repair fallout from libkern changes.Miod Vallat
2007-12-28nfs_sndlock() is often called with its rep argumentThordur I. Bjornsson
as NULL, so make sure its non-NULL before attempting to reference it. Fixes PR5694; Confirmed by submitter. OK art@, krw@
2007-12-28provide vpd page 0, which lists which vpd pages we provide.David Gwynne
2007-12-28rename some functions to make it clear theyre used to emulate vpd responsesDavid Gwynne
2007-12-28implement emulation of vpd page 83, the device identification page. if theDavid Gwynne
disk provides a wwn, use it, otherwise do our best to generate an id from the model and serial number.
2007-12-28massage the way vpds are defined. rename the page used for the devicesDavid Gwynne
serial number and split the vpd header out for use in other places. while here define the device identification page bits too. ok krw@ marco@
2007-12-27Remove leftover code in m197_machdep.c, back when I wanted to address theMiod Vallat
DCAM2 boards in a different way.
2007-12-27Fix the spurious or unclaimed interrupt messages, I swapped them by mistake.Miod Vallat
2007-12-27Make the mvme188 interrupt handling closer to the aviion interrupt handling:Miod Vallat
non-VME syscon interrupt sources will now use their own intrhand array, and interrupt sources will be enabled in the arbiter as interrupt handlers are registered. This allows VME devices to use the whole 256 interrupts range.
2007-12-27Undo previous commit after debating a few corner cases with gwk. ThisMarco Peereboom
needs to be redone in another way.
2007-12-27allow for max 5000 uses/sec offset adjust, this makes it possible forOtto Moerbeek
clocks with drifts larger than 500ppm to be corrected.
2007-12-27Add _PPC support. Tested by several people.Marco Peereboom
2007-12-27missing newline in autoconf pxe report; spotted by henningTheo de Raadt
2007-12-27fifofs, deadfs and specfs all have the same "trivial lookup routine thatThordur I. Bjornsson
always fails". Introduce vop_generic_lookup(), which is a trivial lookup routine that always fails and use that instead, zap the redundant copies. ok toby@, tedu@, art@
2007-12-27use TAILQ_FOREACH when possible instead of manuallyThordur I. Bjornsson
rolling it. ok todd@, miod@;
2007-12-27power(4) can now make use of the DS1687 register definitions header file.Joel Sing
ok jasper@
2007-12-27Clean up the clock MD code. Move all of the DS1687 register definitions toJoel Sing
the appropriate place and remove all of the magic numbers. Whilst we're here fix up some KNF issues. Also, the get/set functions used the wrong control registers, allowing the clock to update during operation. ok miod@, jasper@
2007-12-271.90 again. use the right flags when creating a dmamap for use duringDavid Gwynne
interrupts.
2007-12-27oops, there was other code in the previous commit that shouldnt have goneDavid Gwynne
in. this reverts 1.90.
2007-12-27use the right flags when creating dmamaps for use in interrupt handlers.David Gwynne
2007-12-27KNF, no functional changeMarco Peereboom
2007-12-27Fix for PR5365.Thordur I. Bjornsson
Use the va_blocksize, that is the blocksize of the underlying exported file system instead of the DIRBLKSIZ constant to size the chunks. Diff from Enache Adrian <3n4ch3@gmail.com> Tested by myself and a few others.
2007-12-26Since no cache flush/inval operation will occur before we enable D$, andMiod Vallat
we never disable it, it is not necessary to check for D$ to be enabled before acting. That's a few more cycles spared.
2007-12-26Remove the last debug bit from the PSR on 88110: do not force memory accessesMiod Vallat
instructions to be serialized (this defeats the purpose of having a superscalar processor, and accesses to volatile variables are done with explicit memory barriers anyway). This brings a HUGE speedup: openssl speed -elapsed shows AES is 90% faster, blowfish is 75% faster, and sha1 is 50% faster. Not so bad! However, doing this increases the pressure on the processor bus, so it is necessary to increase the processor bus timeout on 40MHz boards again (to 256 usec). ``black cat'' 50MHz boards seem to be unaffected, so they remain at 64 usec.
2007-12-26Teach the hppa bootloader how to boot 64-bit kernels.Mark Kettenis
ok miod@, deraadt@
2007-12-26Honour the rounding mode in fpu_ftoi().Miod Vallat