summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-06-11Zero the size of the correct partition. Missed in previous cleanup.Kenneth R Westerback
ok miod@
2006-06-11TypoMiod Vallat
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-11show the number of DMA segments that were in the packet that just failedBrad Smith
to be mapped in stge_start().
2006-06-11Don't spew sense informaton from the test unit ready command issued byKenneth R Westerback
stopen(). This change was misplaced in the st roto-tilling at c2k6. Noticed by deraadt@.
2006-06-11the link state detection code should be checking for revision B2 insteadBrad Smith
of B1 to account for the differences with the revision defines used in OpenBSD's if_bgereg.h vs FreeBSD's.
2006-06-10Add functions to decode date and time strings that make sure no invalidMarc Balmer
information can be passed.
2006-06-10endiannessDamien Bergamini
2006-06-10- simplify allocation/free/reset of QoS Tx ringsDamien Bergamini
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h
2006-06-10- fix checking of WEP flagsDamien Bergamini
- encrypt mgmt frames when they need to (shared authmode) - move default MAC/BBP/RF settings from rt2560.c to rt2560reg.h
2006-06-10- fix checking of WEP flagDamien Bergamini
- move default MAC/BBP/RF settings from if_ral.c to if_ralreg.h
2006-06-10shorten a name for bioctlTheo de Raadt
2006-06-10ANSIfy, KNF and remove a silly comment.Gordon Willem Klok
ok toby@, "absolutely" deraadt@
2006-06-10Make id in mpi_complete an unused value instead of random stack garbage.Marco Peereboom
This was causing the "empty portfacts" issue since the IOC wasn't complete yet with the request however since the id would match the requested id the timeout was a terminal condition.
2006-06-10ANSIfy, KNFGordon Willem Klok
ok toby@, deraadt@
2006-06-10allow SO_SNDBUF and SO_RECVBUF setsockopts on existing sockets to succeedBob Beck
for any value that is not an increase in size when we are under mbuf pressure, rather than only succeeding when setting the value to the 4k minimum. ok markus@, henning@
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.