summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-07-27Missing $OpenBSD$ tag.Xavier Santolaria
2007-07-27As on i386:Tom Cosgrove
We don't want to pass the PXE MAC address to the kernel when booting from a local disk, since the MAC address causes the kernel to look for root on NFS. Do this by remembering (not adding to boot arguments) the MAC address when opening the PXE device, and clearing this if we happen to load a file off a non-network disk. "works as advertised for me" todd@; "stop sitting on this/no objections" deraadt@; amd64 code mainly written by patch(1).
2007-07-27We don't want to pass the PXE MAC address to the kernel when bootingTom Cosgrove
from a local disk, since the MAC address causes the kernel to look for root on NFS. Do this by remembering (not adding to boot arguments) the MAC address when opening the PXE device, and clearing this if we happen to load a file off a non-network disk. "works as advertised for me" todd@; "stop sitting on this/no objections" deraadt@
2007-07-27Commiting for xsa@ who dosent want to for some reason. He has KNFed andGordon Willem Klok
de-proplibed some of the netbsd bluetooth drives for HID devices (mice and keyboards) they will however NOT BUILD YET as they lack the glue device bthidev and our replacement for the problib. no objections from uwe
2007-07-27grow ramdisk filesystem sizeTheo de Raadt
2007-07-27Correct the length of the usb_string_descriptor_t and fix a possibleMarc Balmer
buffer overflow. Problem found by (and original diff from) Marc Winiger <mw@msys.ch>, comment by me on jsg's request. ok jsg, claudio
2007-07-27Adapt powernow-k7.c driver to use the ACPI _PSS table for retreivingGordon Willem Klok
p_state data based on similar work done to powernow-k8.c. This work was done by Devin Smith <devin at devinsmith dot net> and this commit is a slightly modified verson of his last diff to tech@, thanks again for your work.
2007-07-27Add ids for two Conexant codecs; not sure they're officialIan Darwin
("does not exist outside of mentions in linux/netbsd on the web"), gleaned from http://www.ussg.iu.edu/hypermail/linux/kernel/0504.0/1146.html. "sure" deraadt@, ok with above comment jsg@
2007-07-25Back out the tracking of procs in struct selinfo. There's one seriousArtur Grabowski
bug in the code, but as soon as I try to fix it, it seems to trigger some other bugs. Instead of trying to figure out what's going on while everyone suffers, it's better to back out and figure out the bugs outside the tree.
2007-07-25Add a missing splx() and while there update the printf() to match the formatClaudio Jeker
of the other ones. From Marc Winiger mw at msys . ch
2007-07-25crank to 4.2-betaTheo de Raadt
2007-07-25bthub for amd64, based on diff from johanTodd T. Fries
reads ok xsa@ compile tested phessler
2007-07-25define and use CDCE_DEBUG and DPRINTF/DPRINTFN to be less noisy on theMarc Balmer
console. From Marc Winiger <mw@msys.ch> ok jsg, claudio
2007-07-24new function to check the MIC of a received EAPOL-Key frame.Damien Bergamini
2007-07-24use rc4_skip().Damien Bergamini
fix ieee80211_eapol_key_encrypt() so that we don't add more padding bytes than necessary in the case of AES Key Wrap encryption.
2007-07-24add rc4_skip() function that can be used to discard bytes fromDamien Bergamini
the arc4 key stream. rc4_skip(ctx, len); is equivalent to: u_int8_t dummy[len]; rc4_crypt(ctx, dummy, dummy, len); except that is does not require storage space and that it saves some cpu cycles. ok deraadt@
2007-07-24remove some unused key derivation functions.Damien Bergamini
we won't support PeerKey handshake in a first time.
2007-07-24remove arc4_ compatibility macros.Damien Bergamini
2007-07-24add functions to compute EAPOL-Key Key MIC fields and to encrypt/decryptDamien Bergamini
EAPOL-Key Data fields.
2007-07-24add ic_globalcnt to struct ieee80211com:Damien Bergamini
in an RSNA, each STA must maintain a 256-bit global key counter that must be initialized to a random value (see 8.5.7).
2007-07-24cleanup definition of struct ieee80211_eapol_key.Damien Bergamini
prepend 802.1X header. use byte-arrays to prevent access to unaligned fields.
2007-07-24hardware WEP in the TX path.Damien Bergamini
make sure to clear the SCAN lock in case the scan is interrupted.
2007-07-24Remove some goo for dealing with 32-bit cpu's.Mark Kettenis
"I don't mind this diff" miod@
2007-07-24bthub for macppc to make xsa happy.Michael Knudsen
todd will commit the MAKEDEV bits later.
2007-07-23This shouldn't be needs-count -- especially because it breaks config.Michael Knudsen
Revert it to needs-flag. Noticed by xsa.
2007-07-23There seems to be enough room for rl(4) after all.Mark Kettenis
2007-07-23Add ssio(4) and its com(4) ports; thanks to jsg@ for reminding me.Mark Kettenis
2007-07-23Since __sparc__ gets defined on sparc64 too, add a !defined (__sparc64__)Mark Kettenis
to the condition that protects CPU_ISSUN4OR4C. While we currently define that macro on sparc64 too, we won't in the near future. ok miod@
2007-07-23bthub needs-countMichael Knudsen
2007-07-23This improves cdce(4) and makes some devices work that previously did notMarc Balmer
(like the Sony Ericsson K610 mobile phone). - Read hardware address from ethernet descriptor makes the Sony Ericsson K610 work. - Add support for status notifications (interrupt endpoint). - Recognize if there is a union descriptori (thus remove CDCE_NO_UNION). - Handle wrong union descriptors (master/slave values are swapped) (Ambit NTL 250) Diff done by Marc Winiger <mw@msys.ch>, tested by many on different platforms and with various devices: cable modems, mobile phones, and, zaurus as USB function. ok jsg, claudio, kili
2007-07-23Some style/knf nits.Michael Knudsen
Also, don't restrict to only opening dev minor 0.
2007-07-23Add glue for a control device for bthub(4). Will be used to configureMichael Knudsen
device inquiry/discovery parameters, pairings, and what else might be needed. From discussion with gwk. MAKEDEV goo follows later. ok and lots of input from miod.
2007-07-23STAC7661:Deanna Phillips
- enable internal mic and select it as the default recording source, - create mixerctl record.source for selecting between internal and external mics, - mute input by default.
2007-07-23Fix a typo in a comment: VAIO SE -> VAIO SZ.Deanna Phillips
2007-07-23STAC7661: rename "inputs.mic" to "record.volume". This is what theDeanna Phillips
audio layer wants, and is a more accurate description. Use the correct number of steps.
2007-07-23STAC7661:Deanna Phillips
- Add set_port and get_port functions and use them to create a stereo master volume out of the headphone and speaker dacs. Unbreaks setting the volume in ports like xmms. - Use the correct number of steps for the dac volumes.
2007-07-23We will never make a mixer item out of the pin control operation, soDeanna Phillips
move it out of azalia_generic_mixer_set into its own function, azalia_generic_mixer_pinctrl. From kent@netbsd. In azalia_stac9200_mixer_init, let the unsolicited event handler make the initial headphone vs speaker choice. Removes some duplicate code. These changes only affect STAC9200. Tested by krw@ on a Latitude D620.
2007-07-22Get rid of the fixe VA range for device mappings; use uvm_km_valloc() instead.Mark Kettenis
This allows mappings of more than 256MB, needed by some frame buffers. "looks good", miod@
2007-07-22spacing, chop some of the more obscenely long lines.Gordon Willem Klok
2007-07-22Move hppa to __HAVE_TIMECOUNTERS.Mark Kettenis
2007-07-22Enable rl(4) on hppa, tested by me, ok kettenis@Jonathan Gray
2007-07-22clear the IFF_ALLMULTI flag when the interface goes down.David Gwynne
2007-07-22the softc variable is sc, not sp.David Gwynne
2007-07-21no need to say in two ways "a set of usb devices went away"; ok by a fewTheo de Raadt
2007-07-21Add sk(4). Tested by Maurice Janssen.Mark Kettenis
2007-07-21add ETHERTYPE_PAE (802.1X Port Access Entity).Damien Bergamini
replace a dead link while i'm here. ok canacar@ reyk@
2007-07-21another rare device temporarily gets the axe (until some other shrinkage ↵Theo de Raadt
happens)
2007-07-20Make lcd(4) "blink" when machdep.led_blink is set.Mark Kettenis
2007-07-20Give hppa the blink_led API from sparc64, and the associated machdep.led_blinkMark Kettenis
sysctl.
2007-07-20Enable lcd(4).Mark Kettenis