summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-02-24Backout a backout because noone knows what the hell the backout is aTheo de Raadt
backout of. COME ON. Be exact in your commit messages.
2009-02-24request a bulk update when the pfsync if configuration is changed via anDavid Gwynne
ioctl. without this peers would not request a bulk update when they come up, and therefore will not have the full state tree available for use in failover. ok mcbride@ "go for it" deraadt@
2009-02-23dont put pfsync packets on the wire if no syncdev is specified. issuesDavid Gwynne
reported by david@ an earlier version of this was ok mcbride@ ok deraadt@
2009-02-23When jumping out of the interrupt handler early, clear conditions we knowMiod Vallat
are likely set but don't need specific handling. This silences the interrupt handler if DIAGNOSTIC in some cases. ok grange@ deraadt@
2009-02-23regenJonathan Gray
2009-02-23Match on the SAS1078DE which appears to be used in at least theJonathan Gray
ServeRAID-MR10is. While here remove duplicate entries for SAS1078/PERC6 which are the same id, both with a SYMBIOS (LSI) vendor id and same product id (0x0060). ok marco@ dlg@ deraadt@
2009-02-23- fix test for IPv4 checksumKevin Lo
- change age_get_macaddr() prototype(no functional change) and set smb pointers to NULL for consistency - clean up and fix the multicast code; from Brad - When the attach routine failed, release all resources including interrupts, interrupt handler, and DMA memory Tested by couderc@ and giovanni <qgiovanni at gmail dot com> ok deraadt@
2009-02-22Replace bcmp in while loop with check of ac_multirangecnt.Mark Kettenis
From brad@comstyle.com. ok deraadt@
2009-02-22On machines with less than 16MB of physical memory, reduce the lower boundMiod Vallat
of uvm_km_pages. ok deraadt@ tedu@
2009-02-22Don't enforce a minimum size for nkmempages by default; if the computedMiod Vallat
value (based on physmem) is below NKMEMPAGES_MIN, we are on a low memory machine and can not afford more anyway. ok deraadt@ tedu@
2009-02-22In icmp6_mtudisc_update make sure that the requested MTU is not less thenClaudio Jeker
the minimal IPv6 MTU minus the size of a frag header (which is needed because of a hack in ip6_output/ip6_setpmtu). Inspired by a similar fix from netbsd. OK markus@, OK deraadt@
2009-02-22Make Yukon-2 FE+ (88E8040, 88E8042) work.Mark Kettenis
ok deraadt@
2009-02-22Make 88E3016 actually work.Mark Kettenis
2009-02-22Untested FB-DIMM decoding adapted from changes made to NetBSDJonathan Gray
by Paul Goyette. ok deraadt@
2009-02-22fix PR 6082: do not create more fd's than will fit in the message onOtto Moerbeek
the receiving side when passing fd's. ok deraadt@ kettenis@
2009-02-21dma_cachectl() bye-bye.Miod Vallat
2009-02-21No need to use special copy{from,to}buf for MVME376, the board's buffersMiod Vallat
are mapped uncached anyway.
2009-02-21Previous delay() fix broke 1x2 boards. Make sure delay() works on themMiod Vallat
before mc attaches, as intended.
2009-02-21Move part of the mp lock logic into per-cpu callbacks; on MVME197DP we needMiod Vallat
to disable NMI sources in addition to interrupt sources, and we can not use a quick sequence with shadowing frozen as done for atomic ops. This lets GENERIC.MP boot multiuser on MVME197DP boards, and is so far stable enough to be able to recompile a kernel from scratch (with make -j2).
2009-02-21Get rid of 88110 nmi stacks. This was a good idea, but I outsmarted myselfMiod Vallat
since it was intended to service NMI occuring in user mode, and we could end up invoking preempt() and have another cpu start using this stack, with interesting results.
2009-02-21overzealous cut/paste; found by Vladimir Kirillov <proger@uaoug.org.ua>Marco Peereboom
2009-02-21Fix a kernel crash for bulk devices when closing the video stream;Marcus Glocker
We give the kthread loop a moment to recognize that bulk_running=0 before we close the USB pipes. Otherwise it can happen that we close the USB pipes before the kthread loop stopped.
2009-02-20This should get me nominated for the ``stupidest bug of the year'' award.Miod Vallat
2009-02-20When looping to process external interrupts, do not complain (and panic)Miod Vallat
if another processors sends us an IPI, it will get handled later.
2009-02-20atomic_{set,clear}bits_int were not safe enough on 88110 systems, as theyMiod Vallat
can be interrupted by NMI; move the SMP version of these routines from inlines to a separate file (kernel text shrinks 20KB...). Since the implementation for 88110 becomes really hairy, the pre-main() code is responsible for copying the appropriate code over for kernels configured for both 88100 and 88110 cpus, to avoid having to choose the atomicity strategy at runtime. Hairy, I said. This gets GENERIC.MP run much further on 197DP. Not enough to reach multiuser mode, but boots up to starting sshd and then panics.
2009-02-20Let M188 kernel compile.Miod Vallat
2009-02-20Oops didn't mean for Debugger() to remain there.Marco Peereboom
2009-02-20Let the sdmmc adapters tell the sdmmc layer how much sectors they canMiod Vallat
transfer with one command. Build on this and the recent minphys() changes in the sdmmc layer to crank transfers at the maximum possible size instead of a sad DEV_BSIZE. Depending on your controller, this can speed up sdmmc I/O up to 2.5 times.
2009-02-20Tweak debug printf.Mark Kettenis
2009-02-20Make sure we have enough space in the LDC transmit queue to send a DRING_DATAMark Kettenis
message and bail out early instead of dropping packets to be transmitted.
2009-02-20Ensure that bpf_mtap() is always called at the same interrupt priorityJoel Sing
level within the tun(4) driver. Otherwise we can be interrupted whilst copying a packet into the BPF buffer, leading to a race between bpf_mtap() calls. This can result in corruption within the BPF buffers. Also ensure that we are at IPL_NET when calling ether_input_mbuf(). Fixes PR6073. ok claudio@, canacar@ (for an earlier version of this diff)
2009-02-20Add Sony VGP-VCC9 Camera (Ricoh chipset) to the quirk list.Marcus Glocker
2009-02-20regenMarcus Glocker
2009-02-20Add Sony VGP-VCC9 Camera (Ricoh chipset).Marcus Glocker
2009-02-20Add more Ricoh chipsets to the quirk list which could work.Marcus Glocker
2009-02-20Don't attach non-UISUBCLASS_VIDEOCONTROL interfaces from some quirkMarcus Glocker
devices. Problem reported by Jerome Pinot (QuickCam OEM). Also tested by deraadt@ with ricoh chipset.
2009-02-20Bring NO_CCB to cac(4), which helps bio work better withoutKenneth R Westerback
generating worrying error messages. Or possibly losing i/o's. tested by jbg@ ok deraadt@
2009-02-19Indicate if a thermal sensor is present on ddr3 modules.Jonathan Gray
2009-02-19Move most of spdmem match logic into the driver and add crc16/ddr3Jonathan Gray
support based on changes in NetBSD by Paul Goyette with goop like bitfields/single decode function mess removed and things like module type/simpler capacity calculations added. Tested by a bunch of people in particular krw who tested a few revs of the ddr3 bits.
2009-02-19the uaa structure (and things it points, for instance ifaces) is onlyTheo de Raadt
alive during match and attach. do not attempt to reuse this pointer or ifaces during a deferred attach routine, since it will contain junk, but instead make copies. tested on all 3 kinds of uvideo's (ricoh fw load, apple fw load, and the rest) ok robert mglocker
2009-02-19suspend/resume bits so that we can develop this in tree. This is disabled.Marco Peereboom
code from mlarkin and me help from art,toby,jordan and several others ok jordan, go for it deraadt
2009-02-19sys/types.h or sys/param.h MUST BE FIRSTTheo de Raadt
2009-02-19Don't use scsi_xfer if we don't run a command came from the scsi layer.Alexander Yurchenko
2009-02-19Make prom_sun4v_soft_state_supported() call the right client interface.Mark Kettenis
2009-02-18Disable all IGPGART chipsets in radeondrm for release.Owain Ainsworth
The RS480 is just fucking evil, the RS690 works ONCE but doesn't on reboot, and i've never heard about a RS400 being tested, so disable that too for safety. This is so that only working chipsets make release, if I just removed your working chipset, please let me know. deraadt@ requested that I do this now, not later.
2009-02-18In __cpu_simple_lock(), do not hog the bus with exclusive accesses; ifMiod Vallat
xmem didn't return the expected value, spin doing regular loads until it appears we have a chance to grab the lock again.
2009-02-18typoMiod Vallat
2009-02-18Move goto lables to the beginning of the line. Having them indented likeClaudio Jeker
the rest of the switch cases is a good camouflage.
2009-02-18Fix thinko in list traversal in vsbic_cmd_ccb().Miod Vallat
2009-02-18Better bus_dmamap_sync() routine, lets vsbic(4) run on 68060 systems, soMiod Vallat
let it attach on them now.