summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-08-16Apply a light paddling with the knf stick. No binary change.Owain Ainsworth
2008-08-16bios_dev -> ba_name and bios_apmp -> ba_apmp in DPRINTF statements.Kenneth R Westerback
i386 kernels compile with BIOS_DEBUG again. Spotted by Mathias Schmocker.
2008-08-15Make the DZ_{READ,WRITE}_{BYTE,WORD} macros visible outside of dz.c, forMiod Vallat
other dz attachments to be able to use them (soon).
2008-08-15Fix array index computation in the machine check handler. Gives fatal bus errorsMiod Vallat
a chance to be reported correctly...
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Move the vxt-specific clock functions frow clock.c to the cpu-specific supportMiod Vallat
file, fewer #ifdef this way.
2008-08-15Correct disassembly of the start of a function: fix display layout and skipMiod Vallat
only the 2 bytes of the procedure entry mask, not 4 bytes.
2008-08-15Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()Miod Vallat
macro and related function pointers.
2008-08-15Rename the cpu_dep hook ``steal_pages'' to ``init'', as it serves as anMiod Vallat
early initialization routine (to enable caches, etc) while still running physical, and does not allocate memory anymore. (The irony in this is that forthcoming KA60 support actually steals pages in its init function...)
2008-08-15hmac.c is needed by softraid crypto now, even on non-wlan machines.Miod Vallat
2008-08-15Prefer unaligned accesses over copying the rx buffer on all archs that canChristian Weisgerber
handle it, not only i386. ok brad@
2008-08-15use new shared HMAC_SHA1 code in crypto/hmac.[ch] rather than localDamien Miller
copy; ok hshoexer@
2008-08-15use LLC_SNAPFRAMELEN here too.Damien Bergamini
2008-08-14Kill the _MCLDEREFERENCE() macro it was only used once and it should be onlyClaudio Jeker
used once -- in m_free(). Removed so that people don't get stupid ideas. OK thib@
2008-08-14If the AML SizeOf() method is called with an object reference it shouldJoel Sing
return the size of the referenced object. This fixes a panic on the ASUS eeePC 1000H when attaching the acpiasus(4) driver. Issue reported and fix tested by robert@ ok marco@
2008-08-14Allow the sector size to be specified by the user when configuring aJoel Sing
vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us to create disklabels and file systems that are suitable for use on devices that have a non-512 byte sector size (eg. CDROMs). With help from krw@ and feedback from pedro@. ok krw@, pedro@
2008-08-14ieee80211_derive_pmkid() is not used eitherDamien Bergamini
2008-08-14#ifdef notyet ieee80211_kdf() as it is not used yet (shrink kernel a bit)Damien Bergamini
2008-08-14move the HostAP bridge code and the delivery of data frames to ether_inputDamien Bergamini
to a separate ieee80211_deliver_data() function. this will later be called by the A-MSDU deaggregation routine.
2008-08-14in ieee80211_input(), call if_start() after enqueuing frames in if_sndDamien Bergamini
when acting as an access point instead of having each driver doing the job. tested by krw@ (ral AP) and me with several drivers.
2008-08-14put ieee80211_dump_pkt() under #ifdef IEEE80211_DEBUGDamien Bergamini
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-14convert the last traces of btoc/ctob macrosMartin Reindl
ok miod@
2008-08-13Make sure that we don't sleep with a lock held, some small cleanup whileOwain Ainsworth
i'm here.
2008-08-13Check for zero in drm_calloc() to prevent divide-by-zero. Also rearrangeOwain Ainsworth
the two calls to drm_calloc() that had nmemb and size the wrong way around.
2008-08-13Kill file_priv->refs, it is always 1. Also move two things from theOwain Ainsworth
softc into file_priv since otherwise the wrong value could rarely be used.
2008-08-13Add VIDIOC_ENUM_FRAMESIZES ioctl. This permits applications to query theMarcus Glocker
available formats and resolutions of a device (e.g. "luvcview -L").
2008-08-13Change the drm_lock*() api to take a pointer to the struct as aOwain Ainsworth
parameter, this makes things a little cleaner and removes the need to pass in the softc for some functions.
2008-08-13idgen32 wasn't really right here. Change back to how it was, butOwain Ainsworth
done a little nicer. Advice from deraadt@.
2008-08-13Generate the magic id using idgen32(). While i'm here fix the locking aOwain Ainsworth
bit so we don't sleep with a spinlock. ok djm@.
2008-08-13Kill a bunch of the drm context code that nothing uses anymore, theOwain Ainsworth
xserver only actually uses a small part of it nowadays. Kill a few other dead bits from the drmP.h while i'm here.
2008-08-13Initial stab at a driver for the integrated random number generator of theMark Kettenis
UltraSPARC T2.
2008-08-13one should never use sizeof(struct llc) since 802.2 LLC headersDamien Bergamini
have a variable length. use LLC_SNAPFRAMELEN instead (which happen to be equal to sizeof(struct llc)) as we only deal with LLC+SNAP headers. some indentation tweaks while i'm here. no binary change.
2008-08-13do not increment is_rx_eapol_key twice for each frame.Damien Bergamini
fix a test on the mbuf length and one on the descriptor version. remove redundant checking of GTK KDE length.
2008-08-13This tab had bugged me forever.Tobias Weingartner
2008-08-13Disable the fantastics mis-feature on some newer Turion CPUs called C1E.Artur Grabowski
This "power saving" disables the apic when both cpu cores hit the hlt instruction which kills our timer. From FreeBSD. (poked by kettenis)
2008-08-13remove a bunch of bogus ARGSUSEDThordur I. Bjornsson
2008-08-13Disable the fantastics mis-feature on some newer Turion CPUs called C1E.Artur Grabowski
This "power saving" disables the apic when both cpu cores hit the hlt instruction which kills our timer. From FreeBSD.
2008-08-13Add more Config mode registers.Brad Smith
From FreeBSD
2008-08-13Add the 8139D PCI id.Brad Smith
2008-08-13regenBrad Smith
2008-08-13Add another PCI id for the Realtek 8139D chipset.Brad Smith
From FreeBSD
2008-08-13Replace the use of a separate softc field to track the linkBrad Smith
state with the newly minted link flag in the softc's rl_flags field. Tested by fkr@
2008-08-12Kill dmesg spam. Since we can't guarantee that a device is capable ofOwain Ainsworth
having a drm driver, don't print when we fail to attach one. stops the "drm at vga? not supported" spam people are seeing.
2008-08-12Fix multiple addition error recently introduced for when extended partitionsTheo de Raadt
are just before an OpenBSD partition in a MBR; done with kettenis & otto ok reyk
2008-08-12adopt the integrity group cipher of the AP at association time.Damien Bergamini
2008-08-12nuke unused fields.Damien Bergamini
2008-08-12add the code to encrypt/decrypt management frames, retrieve key idDamien Bergamini
from MMIE etc... this code can't be triggered as no drivers claim MFP capability yet.
2008-08-12reserves the correct number of bytes in ieee80211_send_4way_msg2().Damien Bergamini
2008-08-12clear Tx_Rx protection bits properly.Damien Bergamini