summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-07-29The stream header length and flags field are uint8_t not int.Marcus Glocker
2008-07-29check for m_devget() returning NULL, increment ierror countThordur I. Bjornsson
and just return; OK mglocker@
2008-07-29When paused (or overrun), the record ring pointers are not incrementedAlexandre Ratchov
properly in audio_rint(), the periodic boundary conditions aren't met. This causes, later read(2) to return EFAULT while trying to access unmapped regions of the kernel address space. Fix this by using the correct pointer arithmetic. ok jakemsr@
2008-07-29Reenable the AUXWRITE dance to try and find the aux port in pckbc(4), basedMiod Vallat
on an attachment dependent flag; the Tadople SPARCLE needs it. ok kettenis@ deraadt@
2008-07-29Add rebuild mark so that we can restart a rebuild upon clean shutdown.Marco Peereboom
Fix a typo while here. The rebuild field was appended to the metadata so that we can automatically update from v2 to v3. The only visible difference will be that in the dmesg the SCSI version number will go from 002 to 003. ok deraad.
2008-07-29- fix FIFO overruns on PCI-E chipsets by setting the DMA sizeReyk Floeter
RX/TX configuration registers to 128 instead of 512 bytes. - add a few more MAC/RF id strings for the dmesg. - check for PCI-E instead of single chip variants in a few places. ok deraadt@
2008-07-28zap some extra spaces and tabs.Federico G. Schwindt
2008-07-28When getting the string descriptors, fetch 2 bytes (size and type) first,Federico G. Schwindt
and then the whole string based on the returned size, not just one byte. The Lexar card reader kindly loaned by Denis Doroshenko (denis dot doroshenko at gmail.com) it's happy now, and after further inspection it's what other OSs do. Discussed with yuo@. krw@ yuo@ ok.
2008-07-28ignore PS mode changes and PS-Poll from non-associated STAs.Damien Bergamini
keep track of the number of associated STAs in PS mode.
2008-07-28Align the route message length to the next natural boundary via ALIGN() toClaudio Jeker
ensure that the next message is nicely aligned as well. Some archs (sparc, m88k)have strict alignement issues since the inclusion of 64bit counters in the messages because those values could end up on non aligned addresses. Found and fix tested by miod@, OK deraadt@
2008-07-28No longer clear ci_want_resched within cpu_switchto(), now that it's doneMiod Vallat
in the MI code.
2008-07-28regenMiod Vallat
2008-07-28Put XBOW in the generated constants, not PCI...Miod Vallat
2008-07-28In addition to cop0 sr, prevent cop0 ic from being modified inMiod Vallat
process_write_regs().
2008-07-28Remove dead code.Miod Vallat
2008-07-28In process_write_regs() and sigreturn(), be more strict about the bitsMiod Vallat
userland is allowed to change in psr.
2008-07-28According to the manual, delay slot kill the benefits of being superscalar,Miod Vallat
so don't use any in the 88110-specific parts of locore.
2008-07-28syncReyk Floeter
2008-07-28revert AR5416 PCIE to AR5418, the product description is clear aboutReyk Floeter
it while atheros' driver says something wrong (even if it is technically correct). also rename AR9280 PCIE to AR9281 (guessed). triggered by kettenis@
2008-07-28regenMark Kettenis
2008-07-28Name PLX PEX devices a bit more consistently, and keep them sorted inMark Kettenis
numerical order.
2008-07-28remove an #if noyet block that will never be needed.Thordur I. Bjornsson
softupdates are reported too statfs via the mount point flags or the mount_info part of statfs; ok pedro@
2008-07-28regenJonathan Gray
2008-07-28Add devices from submitted dmesgs and some VX800 bits.Jonathan Gray
2008-07-28dont stuff nfs mount point flags into the statfs f_flags member, itsThordur I. Bjornsson
wrong. But this was harmless anyway since sys_statfs() sets this field corrently after calling VFS_STATFS(); ok pedro@, blambert@
2008-07-28Fix the tracking of RTF_MPATH. Until now the magic happend on the first routeClaudio Jeker
and not on the routes with the right prio. So pick up the correct route by calling rn_mpath_prio() first. OK henning@
2008-07-28add another 3G modems support to umsm(4).Yojiro Uo
- Option GlobeSuffer ICON7.2 - Option GlobeTrotter HSDPA ICON 225 These modems require special request to change its mode to modem. It is similar with huawei E220, but these modems using UMASS standard query to change mode. tested by pyr@ and ajacoutot@ ok jsg@ and pyr@
2008-07-28missing "goto err".Damien Bergamini
fix IEEE80211_DEBUG builds.
2008-07-28syncReyk Floeter
2008-07-28new atheros PCI Ids for the ar9k chipsets, change AR5418 to be AR5416 PCIE.Reyk Floeter
2008-07-28reinstate a comment whacked in -r1.138; ok deraadtJason McIntyre
2008-07-28Fix integer truncation in ttwrite(). ok deraadt, miod.Stefan Kempf
2008-07-28syncTheo de Raadt
2008-07-283 plx devices found on Sun T2 systemsTheo de Raadt
2008-07-27Increase the size of the TSB on large memory machines. This make buildingMark Kettenis
a kernel 10-15% faster on the t1k. Don't do this for SMALL_KERNEL though, otherwise the 4MB locked mapping for the data segment will be too small to include a ramdisk.
2008-07-27sanitize RX path a bit.Damien Bergamini
make sure drivers pass a contiguous header, check header length earlier. fix checking of frames sequence number for frames containing an Address 4 field (required for future work). fix processing of control frames (only pspoll for now).
2008-07-27s/IEEE80211_DPRINTF/DPRINTF/Damien Bergamini
automatically prepend __func__ to output. deobfuscates debug messages a bit. no binary change unless compiled with IEEE80211_DEBUG.
2008-07-27remove unused structures and duplicated definitions.Damien Bergamini
remove clause 3 of license while I'm here (from FreeBSD).
2008-07-27Some devices take longer to load the firmware. Increase the firmwareMarcus Glocker
load timeout from 50000us to 500000us. Reported and tested by William Dunand with an I-O DATA WN-G54/CF device. Since this device works now, we add it to the man page.
2008-07-27fix a typo in a comment.Marc Balmer
ok mglocker
2008-07-26Silence scsi_inquire_vpd() so devices that don't understand the necessaryKenneth R Westerback
INQUIRY options don't spam dmesg during probe. Seen by miod@ and kettenis@ for SCSI CD's. ok miod@
2008-07-26shrink ieee80211_set_link_state().Damien Bergamini
2008-07-26remove useless #includes.Damien Bergamini
2008-07-26properly handle management frames (required for future work).Damien Bergamini
remove useless #includes.
2008-07-26call Phase1 every 2**16 frames instead of calling it for every frame.Damien Bergamini
properly handle frames with an address 4 field (required for future work). remove useless #includes.
2008-07-26Since we are able to change the device image resolution on the fly in theMarcus Glocker
meantime, the memory allocation for the read(2) method for video(4) is not right anymore, and can cause a buffer overflow. We fix this by queuering the maximum available image size for a device at attach time. If the image size should exceed our video(4) buffer after a video format change (which shouldn't happen), uvideo(4) will gracefully fail. Also tested by kettenis@
2008-07-26deivce -> device typo fix in comment.Kenneth R Westerback
2008-07-25phyio -> physioMiod Vallat
2008-07-25Improve eisa bus probe by deciding the number of logical eisa slots fromMiod Vallat
the motherboard eisa id, instead of using a ``one size fits all'' value which is too large on more than half the eisa-capable alpha designs. The id -> slot # logic is based on the alpha ECU configuration files, so we should not perform worse than ECU itself (and see all slots ECU sees too).
2008-07-25The PIE address range defaults are too big for alpha and can land on orKurt Miller
above the stack. Fix by mapping PIE into the first quarter of the address space before stack. "will do for now" miod@