summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-10if we're not reading a page then we're writing a page. stupid braino fromDavid Gwynne
me pointed out by marco.
2006-06-10Redo debug prints to make it less loud and more granular.Marco Peereboom
ok dlg
2006-06-10Make uvn_sync_lock a rwlock, okay thib@ tedu@Pedro Martelletto
2006-06-10the rest of the spi-device configuration pagesDavid Gwynne
2006-06-10the rest of the spi-port configuration pages.David Gwynne
2006-06-10Add IIC attachment/probe. no IIC devices yet.Dale Rahn
2006-06-10bring PHYS address in sync with RAMDISK, matches the addresss redbootDale Rahn
wants. Note that redboot still wants to have a virtual load address between 0 and ramsize, so loading an unmodified kernel still doesn't work.
2006-06-10include i2c bits instead of dummying out i2c_bitbang.Dale Rahn
2006-06-10I2C support for 80321/80219Dale Rahn
2006-06-09fix up the comment.Brad Smith
2006-06-09{x,}ldcontrolb() codepath is SUN4-only, so don't bother checking for LfsbailMiod Vallat
in mem_access_fault4m.
2006-06-09Simplify ami_disk by chaging some ifs around.Marco Peereboom
2006-06-09Add percentages for BGI and Rebuild. Example:Marco Peereboom
# bioctl -h ami0 Volume Status Size Device ami0 0 Rebuild 1000M sd1 RAID5 8% done
2006-06-09some more fxp revisions.Brad Smith
2006-06-09identify 8139's in C+ mode with RL_8139CPLUS instead of RL_8139; no ↵Brad Smith
functional change.
2006-06-09syncTheo de Raadt
2006-06-09spacing that made a grep look very suspiciousTheo de Raadt
2006-06-08attempt at correcting the comments to somewhat more proper englishFelix Kronlage
prodded by uwe@
2006-06-08unsigned long long -> u_int64_tDavid Gwynne
2006-06-08Keep track of the average RSSI using an Exponential Moving Average (EMA).Damien Bergamini
Use it to dynamically tune radio receive sensitivity. The idea is simple: - increase sensitivity when the RSSI is bad to optimize throughput on long distance to the AP, and - decrease sensitivity when the RSSI is good to reduce noise level and optimize throughput on short distance to the AP The EMA allows to smooth RSSI variations so we don't end up changing the sensitivity too frequently. We check if it would be worth updating the sensitivity every one second. RSSI thresholds were taken from the Ralink Tech. Linux driver. Also, clean a few things while I'm here: - account for FCS when determining if RTS protection must be used - fix check for whether WEP encryption is needed or not - encrypt mgmt frames if we need to (shared authmode) - cosmetic tweaks
2006-06-08dont panic on empty portfacts or portenable replies. we should probablyDavid Gwynne
retry the init sequence if this happens.
2006-06-08substitute the Cardbus_conf_read/Cardbus_conf_write macros withFelix Kronlage
cardbus_conf_read/cardbus_conf_write. This makes fxp* at cardbus? work (again?) on macppc. tested by various users.
2006-06-08Move ISA logic of allocation functions to better place.Tobias Weingartner
Thanks for krw@ for testing isa floppies. brad@ ok, jason@ ok.
2006-06-08actually enable/disable the Tx BMU descriptor polling, missed in rev 1.107.Brad Smith
ok krw@
2006-06-08do not set the mii_ticks field to zero in the asynchronous autonegotiationBrad Smith
function as this is already done in the MII tick handler just before calling the autonegotiation function. ok krw@
2006-06-07- when killing a process due to parity error, notify syslog.Miod Vallat
- when checking for the parity error itself: + use pmap_kenter_pa() and pmap_kremove() for the temporary mapping. + reenable external cache before invoking pmap_kremove() [which can cause a cache flush on some models].
2006-06-07Pass M_CANFAIL to malloc() in sendsig(), and if it fails, kill the process;Miod Vallat
this is better than panic'ing due to low memory condition.
2006-06-07One last occurence of an inline sigexit() in sendsig.Miod Vallat
2006-06-07Remove unused bus_space_probe().Miod Vallat
2006-06-07killproc() is orphaned, so kill it; ok deraadt@Miod Vallat
2006-06-07enable azalia; ok jasonTheo de Raadt
2006-06-07shut up and play the music.Jason Wright
2006-06-07do not #undef HORRID_III_HACKTheo de Raadt
This means that for now a config file can build us3 kernels ok jason
2006-06-07from freebsd r1.185 (tested by beck@ and krw@; pedro@ ok):Michael Shalayeff
After a rmdir()ed directory has been truncated, force an update of the directory's inode after queuing the dirrem that will decrement the parent directory's link count. This will force the update of the parent directory's actual link to actually be scheduled. Without this change the parent directory's actual link count would not be updated until ufs_inactive() cleared the inode of the newly removed directory, which might be deferred indefinitely. ufs_inactive() will not be called as long as any process holds a reference to the removed directory, and ufs_inactive() will not clear the inode if the link count is non-zero, which could be the result of an earlier system crash. If a background fsck is run before the update of the parent directory's actual link count has been performed, or at least scheduled by putting the dirrem on the leaf directory's inodedep id_bufwait list, fsck will corrupt the file system by decrementing the parent directory's effective link count, which was previously correct because it already took the removal of the leaf directory into account, and setting the actual link count to the same value as the effective link count after the dangling, removed, leaf directory has been removed. This happens because fsck acts based on the actual link count, which will be too high when fsck creates the file system snapshot that it references. This change has the fortunate side effect of more quickly cleaning up the large number dirrem structures that linger for an extended time after the removal of a large directory tree. It also fixes a potential problem with the shutdown of the syncer thread timing out if the system is rebooted immediately after removing a large directory tree.
2006-06-07regenBrad Smith
2006-06-07rename the Realtek RT8111B entry to RT8168.Brad Smith
2006-06-06- general cleaning, removing unneeded vars, spelling, etcJason Wright
- set traffic class (in PCI config space) to 0 - clean up the interrupt handler - always read/write the INTCTL register with 4 bytes - before resetting, ensure RUN bit is zero - zero the BDP regs during reset - still has a bunch of hacks in it to get it working, but at least it interrupts correctly on my workstation now.
2006-06-06fix a bad strlcpy, from ben lovettJolan Luff
2006-06-06Define R5k/R10k extra trap codes.Miod Vallat
2006-06-06In pmap_enter(), when deciding to flush the icache for a page, invoke theMiod Vallat
TLB-friendly cache function. From NetBSD.
2006-06-06back out multiple routing table diffs (3 of 'em) because this makesTheo de Raadt
'route show' dump out repeated copies of the v6 routing table on ramdisks. on some architectures it spins forever doing this, on others it just goes for a long time printing the v6 routes over and over before terminating. spotted by jmc and krw, backout diff tested by beck.
2006-06-06Put mrouting enable flag inside the right ifdef. If you change filesTheo de Raadt
here, make sure they compile with or without IPSEC, you morons!
2006-06-06set the ccb state when it comes off the free list. this isnt used anywhereDavid Gwynne
yet, but i like to be ready when the time comes.
2006-06-06fix a panic string to mention the corrent place its freaking out in.David Gwynne
2006-06-06use _C_LABEL() instead of _Michael Shalayeff
2006-06-06System build pieces for armish arch.Dale Rahn
2006-06-05Write the words of the mac address in reverse order to fix a MAC problem onDale Rahn
a Realtek 8169 found in a Thecus N2100, tested jsg, ok pval
2006-06-05- discard Rx frames with a bad CRC earlyDamien Bergamini
- don't start AMRR if we have set a fixed rate - fix TSF synchronization - remove a x2 prototype + ;; (pointed out by Jean-Baptiste Campesato)
2006-06-05start to sync some changes and fixes from various "openhal" ports ofReyk Floeter
this driver. thanks for contribution (even if i didn't get much feedback from these projects...). tested by many during c2k6, like aanriot@ and ian@
2006-06-05cleanup.Marc Balmer