summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-04OpenBSD uses bus_space_copy_#, not bus_space_copy_region_#. Make sure only theMiod Vallat
first name is used, and remove any #define foo_region foo compatibility defines. Also, on sparc64, do not provide a `raw' version of bus_space_copy.
2010-04-04Fix bus_space_{read,write}_raw_region_# operation.Miod Vallat
2010-04-04Add a reference to the IPv6CP RFC. From Brad.Stuart Henderson
2010-04-04Attach the 2nd generation of 6000 2x2 devices even though the firmwareDamien Bergamini
is not yet available. The combo WiFi/WiMAX devices need a separate firmware too (that is not yet available), so do not use the firmware for WiFi-only devices as it will likely not work. Change the way active chains (the ones that have an antenna plugged in) are detected to work around a firmware bug which could make us mark non-existing chains as active.
2010-04-04syncDamien Bergamini
2010-04-04PCI ID for second generation of Intel Centrino Advanced-N 6200 devices.Damien Bergamini
2010-04-04syncDamien Bergamini
2010-04-04PCI ID for Atheros AR9300.Damien Bergamini
It will require a lot of work in athn(4) to be supported though, because of important differences (in DMA and registers) with AR5008/AR9001/AR9002 series.
2010-04-04Fix 5GHz channels TX power settings for RT2860/RT2870 (does notDamien Bergamini
affect RT3572.) Found (again!) by Yao Zhao (dragonlinux at gmail dot com)
2010-04-04clock_settime() should cancel an in-progress adjtime() just likePhilip Guenthe
settimeofday() does, so move those bits into settime() "I like it" deraadt@
2010-04-04configure conversion for the correct direction. I guess no one hasJacob Meuser
ever tried recording big endian samples with fms.
2010-04-04avoid rounding the blocksize to 0Jacob Meuser
2010-04-04Better write 'href="mailto:' instead of 'style="mailto:'.Ingo Schwarze
Diff from Tim van der Molen <tbvdm at xs4all dot nl>, thanks! ok kristaps@
2010-04-03instead of returning EINVAL if an unsupported sample rate wasJacob Meuser
requested, just use a supported sample rate. makes paramter negotiation much easier. problem noted and patch tested on several sb(4) devices by J.C Roberts, thanks.
2010-04-03Set the RL_FLAG_MACSLEEP flag for the RTL8103E chipset.Stuart Henderson
Currently a noop as the code for RL_FLAG_MACSLEEP hasn't been added yet. From FreeBSD via Brad.
2010-04-03Use hw.product sysctl to tell whether we are installing on a Gdium LibertyMiod Vallat
system, or something else. Derive the fdisk instructions in `use the whole disk for OpenBSD' from this knowledge, and set up a 32MB ext2fs partition on Gdium, and the 1MB elsewhere (as was already been done). On Gdium, format this partition in fancy mode (-O 1) and 4KB blocks, so that PMON has a chance to load files larger than 4MB (such as bsd.rd) without failing in a pathetic way, and also copy the kernel image to the ext2fs partition after the installation has completed. Note that, apart from creating a larger ext2fs partition on Gdium, there should be no need for this. Unfortunately, since regular PMON does not have ext2fs code, Lemote wrote its own code to access ext2 filesystems. Saying that this code is full of shortcomings and bugs would be an understatement. What is worse is that this code has been written by people with no knowledge (or even insight) of how error conditions ought to be handled, and their ext2fs code will happily abort a read upon error with no error; if one does not compare the final read size to the file size obtained by stat(), there is no way to figure out that the read has been aborted. Of course since regular (upstream) PMON code is written correctly, it does not expect this, so it is easy to end up with PMON not loading a kernel image completely, yet proceeding happily to transfer control to this broken image. I guess the morale behind this is that system software is too difficult to get done correctly, to be done by hardware people.
2010-04-03Adjust the details about commands without perms being hidden,Stuart Henderson
prompted by a suggestion from Rod Whitworth. ok jmc@ "Cool!" Rod.
2010-04-03Add hw.product to the bsd.rd sysctl(8) binary. ok deraadt@Miod Vallat
2010-04-03Don't return 0 if error is set to EBADRPC. Found by jsg@ and clang.Kenneth R Westerback
ok deraadt@
2010-04-03Build all manual pages in base with mandoc(1) instead of groff,Ingo Schwarze
excepting the tbl(1) pages, which are less than twenty. "commit the diff that enables it, now" deraadt@
2010-04-03Minor reliability fixes:Miod Vallat
- clear initrd signature before returning to PMON or to the loaded kernel - fail /etc/boot.conf access when loading from an initrd image, instead of letting it point to the beginning of the kernel image and have the code complain of lines being too long. Bump minor version.
2010-04-03backout last change, committed by mistake, sorry...Alexandre Ratchov
2010-04-03doc fixes from jmcAlexandre Ratchov
2010-04-03no need to die from .Xr without arguments, we can just ignore itIngo Schwarze
ok deraadt@
2010-04-03When we have no title in man(7), just use "unknown". No need to bail.Ingo Schwarze
ok deraadt@
2010-04-03When two conflicting list types are specified for the same list,Ingo Schwarze
use the first, discard the second, and warn. No need to bail out. ok deraadt@
2010-04-03* outside literal context in mdoc(7), handle blank lines like .PpIngo Schwarze
* a missing NAME section in mdoc(7) need not be fatal ok deraadt@
2010-04-03se* cannot fit until I resize the mediaTheo de Raadt
2010-04-03scsi_all.h is needed before scsi_disk.h now. ok marcoNicholas Marriott
2010-04-03You cannot save a pointer to your attach arguments and expect it to pointMark Kettenis
somewhere meaningful later on. Save the PCI device tag instead and use it instead. ok miod@, jakemsr@
2010-04-03Add support for Nokia Internet Stick CS-15.Marco Pfatschbacher
Device and initial diff from Patrick Wildt. Thanks. OK jsg@
2010-04-03syncMarco Pfatschbacher
2010-04-03Add Nokia Internet Stick CS-15.Marco Pfatschbacher
OK jsg@
2010-04-03byteswap the cmdset word properly so we enable the right features onDavid Gwynne
bigendian archs.
2010-04-03remove some debug outputDavid Gwynne
2010-04-03dont allocate with M_TEMP and then free with M_DEVBUF. made even worse thatDavid Gwynne
this was done for every sensor update, which really screwed up the memory stats. noticed by deraadt@
2010-04-03add support for emulating the disk characteristics and disk limits vpdDavid Gwynne
pages. this if the first step in figuring out if disks use a different physical block size compared to the logical block size they present to the operating system.
2010-04-03On the random MAC address also turn off the 'local administered' bit,Theo de Raadt
since it is our intent to deceive. Prompted by weerd. ok ckuethe
2010-04-03Add missing documention:Philip Guenthe
- fork1() flags: FORK_SIGHAND, FORK_PTRACE, and FORK_THREAD - RTHREADS kernel option - rfork() RFTHREAD flag (with a BUGS entry that it's not usable from C) ok tedu@
2010-04-03syncTheo de Raadt
2010-04-03add bnx; from bradTheo de Raadt
2010-04-03document the first byte of the random MAC addressTheo de Raadt
2010-04-02The rtm_errno check which was moved in the last commit should onlyStuart Henderson
be done for rtmsgs (which have an rtm_errno) and not ifmsgs (which have part of an if_data struct in that location). Fixes problems finding interface addresses at startup. ok claudio@
2010-04-02tweak previous; half of the tweaks from jmc@; ok jmc@Ingo Schwarze
2010-04-02document ping6/traceroute6, ok jmcStuart Henderson
2010-04-02add $OpenBSD$Jonathan Gray
2010-04-02ugly spacingTheo de Raadt
2010-04-02Special-case SIOCADDMULTI and SIOCDELMULTI ioctls, based on code from if_tun.Stefan Sperling
Makes IPv6 work with if_vether. ok deraadt
2010-04-02remove unnccessary editorializing which is a bit mockingTheo de Raadt
2010-04-02syncTheo de Raadt