summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-06-30Link the second stage bootblocks (and boot.net) 256KB higher to accomodateMiod Vallat
the GENERIC kernel growth; verified to not conflict with old prom on sun4. ok deraadt@
2009-06-29In sdmmc_intr_establish(), copy the entire name parameter instead ofMichael Knudsen
dumping the last byte. Input from otto@ and peter@. ok on an earlier diff from miod (and krw IIRC).
2009-06-29Zap isp_inline.h; it is no longer used.Mark Kettenis
ok deraadt@
2009-06-29Whack bridges that have conflicting windows. This prevents us from choosingMark Kettenis
address space that is already in use when reassigning BARs.
2009-06-29the data which is read is never used; ok krwTheo de Raadt
2009-06-29since we link in the 24xx firmware, might as well point to it; ok krw kettenisTheo de Raadt
2009-06-29Bring back rev 1.17, enable hardware vlan tagging/stripping.Jonathan Gray
ok deraadt@
2009-06-29enable isp(4)Theo de Raadt
2009-06-28Now the tx dma mapping problem it was exposing is fixedJonathan Gray
bring back rev 1.16, em style MCLGETI based on a diff from reyk with critical fixes by me.
2009-06-28Properly swap tx dma maps so we don't use invalid maps,Jonathan Gray
leak memory, lose maps or cause double frees. Problem courtesy of our good friends at Intel in the original FreeBSD driver. "awesome" dlg@
2009-06-28Attempt to map memory resources of unconfigured devices, if they do not haveMiod Vallat
I/O resources, via devio. Unfortunately it works as badly as when using the large window, so the bugs I am hunting must come from elsewhere.
2009-06-28Better wording for the not-supported-video-control message.Marcus Glocker
Requested by and OK deraadt@
2009-06-28Add colormap support for 8bpp mode.Mark Kettenis
2009-06-28Make this work in 8bpp mode too. Color support is still missing; probablyMark Kettenis
needs palette support.
2009-06-28Restore lost string constant, make DEBUG kernels compile.Kenneth R Westerback
Noticed by deraadt@.
2009-06-27Stricter checks when deciding which acceleration code to use. Instead ofMiod Vallat
matching on pci id, and if no match is found, on pci subsystem id, match on openfirmware device names (which amounts to a pci id AND subsystem id exact match). This makes XVR-500 cards (``bobcat'') run without acceleration. Which is better than trying to use ``jfb'' acceleration and fail. ok kettenis@
2009-06-27Preliminary cleanup work in order to help the PCI resource management code.Miod Vallat
As long as I can't figure out what endianness knobs I need to frob to make I/O and memory accesses through the large window work as intended, we are stuck to devio I/O mappings only...
2009-06-27In the bus_space_*_raw_* functions, move the invariant computations out ofMiod Vallat
the loop. No functional change.
2009-06-27If a device which has not been initialized by ARCS has a non-zero BAR, ignoreMiod Vallat
it if it does not fit in our extent, and force a suitable address. Prevents extent sanity check panics with some cards.
2009-06-27Add an explicit widget locator to xbow children; allows a given widget toMiod Vallat
be disabled with some UKC tinkering.
2009-06-27Remove debug printfs.Mark Kettenis
ok krw@
2009-06-27Revert the last change to this file which was made with armv7 support came in.Dale Rahn
The change was unrelated to v7 support, it was a cleanup item. For some reason this breaks ksyms on zaurus. however zaurus uses the old loadfile that is not fully synced with libsa
2009-06-26Two pci'd that come from cardbus, in case anyone ever needs them...Theo de Raadt
ok jsg
2009-06-26Fix a use after free in the pagedaemon.Owain Ainsworth
specifically, if we free a RELEASED anon, then we will first of all remove the page from the anon, free the anon, then get the next page relative to the anon page, then call uvm_pagefree(). The problem is that while we zero out anon->an_page, we do not zero out pg->uanon. Now, uvm_pagefree() if pg->uanon is not NULL zeroes out some variables in the struct for us. One of the backed out commits added more zeroing there which would have exacerbated this use after free under heavy paging (which was where we saw bugs). Fix this by zeroing out pg->uanon. I have looked for other similar cases, but have not found any as of yet. been in snaps a while, "please do commit that" deraadt@
2009-06-26invert direction for inner icmp state lookups (e.g. traceroute with icmp)Markus Friedl
ok henning, jsing
2009-06-26If we are going to move to the eeprom-based MAC address finding instead ofTheo de Raadt
CIS-based... some newer devices have the MAC address at offset 8 instead of offset 3. But we can tell by the first three octets, Intel says.
2009-06-26Prefer fdcache() to pdcache() in cpu_fork(), as the MI uvm code has touchedMiod Vallat
p->p_stats earlier, and loss of information there can cause spurious SIGPROF or SIGVTALRM to be delivered. ok kettenis@
2009-06-26Add all the cardbus com devices to puc, since these can show up on theTheo de Raadt
pci bus because of the expresscard adaptors... Lacking a better mechanism, also remind people to keep those lists syncronised.
2009-06-26Using information gleamed from the FreeBSD driver, change the MAC addressTheo de Raadt
reading to use the eeprom instead of CIS, and then the Xircom Cardbus cards can work in the expresscard adaptor, as pci devices. ok jsg
2009-06-26Overhaul sr_boot_assembly(). The original code had a number of problems,Joel Sing
including a "chunk id already in use" bug that occurred when assembling more than one volume at boot. Volumes are now kept in order, as are the chunks which they are assembled from. Duplicated chunk IDs are now handled appropriately, with the chunk that has the most recent ondisk metadata being used. Also tested by nicm@ who got bitten by the "chunk id already in use" bug. ok marco@
2009-06-26Support the ICH10 variants of em(4). All the work done by Dariusz SwiderskiClaudio Jeker
with help from Brad. OK deraadt@
2009-06-26the pr_usrreq implementation for routing sockets shares exactly one lineBret Lambert
of code between cases, so stop pretending otherwise, and move the if() dance to a switch, as is done in every other pr_usrreq I'm aware of. ok claudio@ michele@
2009-06-26regenKevin Lo
2009-06-26add the VIA VX855 chipsetKevin Lo
ok deraadt@
2009-06-26the 'inputs.usingdac' mixer item was used to select which group ofJacob Meuser
DACs to use. for several months, there have been at most two groups, the first being all usable analog DACs and the second being all usable digital DACs. so 'inputs.usingdac' essentially was used to switch between analog and digital modes. this was entirely unclear to most users because the DACs were listed by their NIDs, which means nothing unless you know how azalia(4) internals works. rename 'inputs.usingdac' to 'outputs.mode', and replace the lists of DAC NIDs with 'analog' and 'digital'. similarly for recording, change 'record.usingadc' to 'record.mode', and replace the lists of ADC NIDs with 'analog' and 'digital'.
2009-06-26if a codec has multiple line out jacks, and the codec says allJacob Meuser
the line out jack have different colors, use the colors in the line out mixer item names.
2009-06-25Back out if_ix.c 1.16, 1.17 and 1.18 (and corresponding changes to toTheo de Raadt
if_ix.h) since it corrupts packets or the checksum flags or something upwards and breaks nfs. The 1.16 MCLGETI change does not cause this but has a double free on reboot, and the 1.18 fixes that double free but introduces the packet corruption.
2009-06-25backout the buf_acquire() does the bremfree() since all callersThordur I. Bjornsson
where doing bremfree() befure calling buf_acquire(). This is causing us headache pinning down a bug that showed up when deraadt@ too cvs to current, and will have to be done anyway as a preperation for backouts. OK deraadt@
2009-06-25re-enable inteldrm since new X driver is about to fix the issueTheo de Raadt
2009-06-25fxp no longer fits on this mediaTheo de Raadt
2009-06-25Change safe_rng_read() from __inline to static __inline likeJonathan Gray
the original FreeBSD code for consistent behaviour between c89/c99 compilers.
2009-06-25scrub_flags is a u_int8_t, but PFSTATE_SCRUB_TCP is 0x0100, so theStuart Henderson
"reassemble tcp" state option failed to work correctly. Increasing this to u_int16_t fixes kernel/6178. ok deraadt@ henning@
2009-06-25Workaround a stupid problem ATI SB600 revisions and ATI SB700 southTheo de Raadt
bridge revisions A12 and A13. We really don't know what it does, but then noone else does. From NetBSD and Linux, via brad
2009-06-24Compute OpenBSD area bounds as the largest area spanning all the OpenBSDMiod Vallat
partitions; since all of them are DPME partitions, they might not be contiguous but that's the best we can do at the moment.
2009-06-24Even more pci ethernet devices, based on a diff from Brad.Miod Vallat
2009-06-24add some pci ethernet devices that some people, like miod, might be usingTheo de Raadt
2009-06-24enable softraidTodd T. Fries
test built and booted by me ok marco@, deraadt@
2009-06-24Remove a semicolon at the end of an if statement that made the threadJonathan Gray
waiting for all the workqs to die wakeup more often than it should have. ok dlg@ tedu@
2009-06-24There are 3 reasons why the first block in apm_probe can fail, and in oneTheo de Raadt
case it is not OK to DPRINTF, so delete that code. Found by dhill ok marco dhill
2009-06-24Add support for the SMBus controller for the Broadcom HT-1100 chipsetTheo de Raadt
to piixpm(4). from brad