summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-09If running on the original 33C93, reject commands not in groups 0, 1 or 5Miod Vallat
if their size is not exactly six bytes, as the chip can't cope with this situation. Another situation all 33C93 do not cope with very well, is sending stop commands to targets (such as all sd(4) devices when halting with poweroff) - it takes a very long time to recover once all targets on the bus have been powered down, so we need to raise timeouts to unholy values (one test case has required more than 20 seconds to recover). Not surprising, as this command is not documented as supported in the chip documentation.
2012-04-09Cope with strict alignment platforms, and unbreak the RX logic. Tested withMiod Vallat
ep@eisa on sgi.
2012-04-09Minimal threads support for mips64.Mark Kettenis
2012-04-08Sync with the current state of thingsMiod Vallat
2012-04-08Enable option CPU_R4600, verified to work on an R4600PC Indy. The secondaryMiod Vallat
cache is still not supported yet (needs extra code being worked on, as does the R5000SC Indy).
2012-04-08Be more careful when reprogramming the sq(4) DMA and PIO timing parameters;Miod Vallat
the current logic can be traced back to DaveM's intership at SGI in 1996, and are adequate for the hardware he had access to. However, ``recent'' Indigo2 and Indy systems are fit with a faster (33MHz instead of 25MHz) GIO64 bus, which need different timing parameters, and guess what? The PROM knows the right values to set. Since programming these timing registers was apparently only necessary for the Challenge S second interface: 1) only reprogram those registers on an IP24 (Indy, Challenge S) system. 2) pick proper values depending upon the actual GIO64 bus speed. Item #1 fixes Ethernet operation on Indigo2 (at least my teal R4400SC). Item #2 fixes Ethernet operation on my R5000SC Indy. For the record, programming unoptimal value caused `TX DMA underrun' errors (documented as `can't happen' in the HPC3 documentation, oh the irony), which could be reproduced reliably with ypbind(8).
2012-04-08Minimal threads debug support for powerpc.Mark Kettenis
2012-04-08no more lint;Jason McIntyre
2012-04-08no more lint;Jason McIntyre
2012-04-08tedu lintJonathan Gray
ok tedu@ guenther@ krw@ espie@ deraadt@
2012-04-08syncTheo de Raadt
2012-04-08unhook lint from the tree. The parser is incomplete and difficultJonathan Gray
to fix and there are several alternatives that don't tell quite so many dangerous lies. enthusiastic agreement from a bunch of people
2012-04-08additional urtwn device ids found in the linux driverJonathan Gray
2012-04-08regenJonathan Gray
2012-04-08additional urtwn device ids found in the linux driverJonathan Gray
2012-04-08Missed kbproto documentation directory.Matthieu Herrb
2012-04-08New directories for protocol documentation.Matthieu Herrb
2012-04-08regenJonathan Gray
2012-04-08add ids for Attansic/Atheros L1F (AR8161) and L2F (AR8162).Jonathan Gray
2012-04-08additional adapter types from FreeBSDJonathan Gray
2012-04-08Do not fire name timer when automatic-rename is off, from Tim Ruehsen aNicholas Marriott
while ago.
2012-04-08match BELKIN F7D2102; from Seth JacksonTheo de Raadt
2012-04-08add BELKIN F7D2102; Seth JacksonTheo de Raadt
2012-04-08add the evtimout rate-limiting code for accept() here too.Theo de Raadt
eyed a little by joel
2012-04-07Rate-limit accepting of new connections while we are experiencing fdChristiano F. Haesbaert
exaustion for tcpbench. ok deraadt
2012-04-07The Route Distinguishers should not be used to control distribution.Claudio Jeker
Found by and fix tested by Rimi Philippe
2012-04-07Tweak FAT detection/usage. Recognize 'bare' FAT media that lacksKenneth R Westerback
the 0x55aa signature. Don't try FAT detection if we have found an OpenBSD MBR partition. Don't try to read a disklabel from 'bare' FAT media. There can't be one. Finally, don't allow the writing of a disklabel on 'bare' FAT media. There is no safe spot for it, and splatting it in the middle of the FAT structures has not proved helpful.
2012-04-07Bring the rtable sockopt code in line with the setrtable() implementation.Claudio Jeker
While there change IP_RTABLE to SO_RTABLE. IP_RTABLE will die soon. With and OK guenther@
2012-04-07remove superfluous return, ok mikebCamiel Dobbelaar
2012-04-07Minimal threads debug support for sparc64.Mark Kettenis
2012-04-07The wcookie is per-process, not per-thread.Mark Kettenis
2012-04-07Fix previous commit; the function signatures are different for our in-treeMark Kettenis
version of GDB compared to what's currently upstream.
2012-04-07grammar fix;Jason McIntyre
2012-04-06range check st_size before calling calloc()Theo de Raadt
ok millert
2012-04-06Minimal threads debug support; enough to make attach and detach work.Mark Kettenis
Only amd64 for now; more architectures will follow.
2012-04-06Implement PT_GET_THREAD_FIRS and PT_GET_THREAD_NEXT.Mark Kettenis
ok miod@
2012-04-06Make the logic for PMAP_PREFER() and the logic, inside pmap, to do theMiod Vallat
necessary cache coherency work wrt similar virtual indexes of different physical pages, depending upon two distinct global variables, instead of a shared one. R4000/R4400 VCE requires a 32KB mask for PMAP_PREFER, which is otherwise not necessary for pmap coherency (especially since, on these processors, only L1 uses virtual indexes, and the L1 size is not greater than the page size, as we are using 16KB pages).
2012-04-06Rework IP22 RTC year base computation, again. It turns out that differentMiod Vallat
Indy PROM versions use different year bases - after all, using 1970 instead of the previously used value of 1940 smelled like a bug, and probably was, so this eventually got fixed in later PROM versions. Instead of hardcoding a year base depending upon the system, we will now ask ARCBios for its current year, and compare it to what can be read from the RTC registers to figure out what year base is in use by the PROM.
2012-04-06Get serial console speed from ARCBios earlier; repairs serial console on OctaneMiod Vallat
and O2 (other systems unaffected).
2012-04-06there is no need to cast an unsigned type with (unsigned).Theo de Raadt
ok jsing
2012-04-06syncTheo de Raadt
2012-04-06iterate over e_shnum using Elf32_Word instead of intTheo de Raadt
2012-04-06BIOCGBLEN is using a u_int, not an intTheo de Raadt
and casting to size_t for malloc is better
2012-04-06unlike the previous century, the malloc argument now has an accurate typeTheo de Raadt
rather than just "(unsigned)"
2012-04-06Fix typo.Joel Sing
2012-04-06no need to (unsigned) a small constantTheo de Raadt
2012-04-06Put raidctl in the attic.Joel Sing
2012-04-06Put raidframe in the attic.Joel Sing
2012-04-06Remove raidframe related references.Joel Sing
2012-04-06Regen.Joel Sing