summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2008-03-04sthen@ has an motherboard with both agp and pcie that fails to boot.Owain Ainsworth
disabling agp_ali solves this. Proper fix shall hopefully some sometime after release. Shouldn't affect anyone. ok sthen@, prodded by deraadt@.
2008-03-04Add a workaround against a NULL pointer dereference on alpha whenMiod Vallat
invoking bus_dmaamp_sync, until the cause of the problem is found. ok deraadt@
2008-03-04remove -betaTheo de Raadt
2008-03-04Do not permit insertion of a "" symbolic link translation into the pathTheo de Raadt
translation; abort with ENOENT; ok millert kettenis thib, pr #5752
2008-03-04fix use-after-free: pfxlist_onlink_check() might free rt_llinfo forMarkus Friedl
the current route, so make sure RTF_LLINFO is still set; fixes pr 5711; with krw@ and claudio@; ok jsing@
2008-03-03Palm 700WX from and tested by todd@Jonathan Gray
discussed with deraadt@.
2008-03-03regenJonathan Gray
2008-03-03Palm 700WX from todd@.Jonathan Gray
discussed with deraadt@.
2008-03-03Two more rum devices from Ralink driver via sephe@dragonfly.Jonathan Gray
discussed with deraadt@
2008-03-03regenJonathan Gray
2008-03-03Two more rum devices from Ralink driver via sephe@dragonfly.Jonathan Gray
2008-03-02because arc4random_uniform is being used, the modulo bias is taken care ofTheo de Raadt
2008-03-02Add a arc4random_uniform() that returns a uniformly distributed numberDamien Miller
in the range 0 <= x < upper_bound Please use this new API instead of "arc4random() % upper_bound", as it avoids the "modulo bias" that favours small results when upper_bound is not a power of two. feedback deraadt@ mcbride@; ok deraadt@
2008-03-02Include sigcode in core dumps. This makes it possible to backtraceMark Kettenis
through signal handlers with gdb. ok miod@
2008-03-02Change some spaces to tabs in the transmit functions.Brad Smith
ok kettenis@
2008-03-02if there is no smbios, there cannot be acpiTheo de Raadt
ok kettenis gwk, tested by a lot of people, and checked from the logs
2008-03-02Clear interrupts on detach. Fixes interrupt storm on digital-onlyDeanna Phillips
controllers, like the HDMI found on Radeon cards. Tested by claudio@ and kettenis@.
2008-03-02Add missing half duplex flag for 100baseT4.Brad Smith
ok kettenis@
2008-03-02Correct a status flag which could cause half duplex to be reported forBrad Smith
a 10 Mbps full duplex connection but only when not using autoneg. ok kettenis@
2008-03-02Correct the comment describing the BGE_PCISTATE_PCI_BUSSPEED bit.Brad Smith
It had the sense of the bit reversed. From jdp@FreeBSD ok kettenis@
2008-03-02If bus_dmamap_load_mbuf() fails in ixgb_get_buf() use m_freem() intead ofBrad Smith
m_free() to free the mbuf cluster. ok mglocker@
2008-03-02At the moment em_flowstatus() does not deal with fiber interfaces andBrad Smith
will not return any flow control status so just return no status (0) instead of reading copper PHY registers and not returning anything anyway. ok kettenis@
2008-03-02If bus_dmamap_load_mbuf() fails in em_get_buf() use m_freem() intead ofBrad Smith
m_free() to free the mbuf cluster. ok krw@ mglocker@
2008-03-01Resolve an issue where the Starfire chipset can get into an endless loopBrad Smith
of watchdog timeouts. This happens due to the fact that the driver counts the packets in the output queue to check for the chip hanging but whenever a watchdog timeout happens and the init routine is called and in turn the stop routine the counter is never actually cleared. From Geoff Steckel via PR 5724 ok krw@ martin@ mglocker@
2008-03-01Print consoleness the canonical way.Mark Kettenis
tested by deraadt@, ok krw@
2008-03-01Print consoleness the canonical way.Mark Kettenis
ok deraadt@
2008-03-01Use getpropspeed() to get console speed. Add code to handle "ssp-console" andMark Kettenis
"ssp-control" as well.
2008-03-01Make sabtty(4) adopt the speed configured in OpenFirmware when it is theMark Kettenis
console. ok deraadt@
2008-03-01Add getpropspeed(); a function which decodes a property describing a serialMark Kettenis
port configuration and returns the configured speed.
2008-03-01Provide "reg" property when attaching cpu(4).Mark Kettenis
2008-03-01regenMark Kettenis
2008-03-01Add O2 Micro firewire.Mark Kettenis
2008-03-01regenMark Kettenis
2008-03-01Correct/shorten a few more Intel chipset entries I overlooked before.Mark Kettenis
2008-02-29Fix dksc() bootpath parsing.Miod Vallat
2008-02-29Fix db_read_bytes() for short reads.Miod Vallat
2008-02-29replacement algorithm. initialize a 64K-short buffer using DurstenfeldTheo de Raadt
shuffle. Upon allocation, swap-permute the new value to a random slot in the 0..32K-1 th entry of the buffer as we move forward, ensuring randomness but also satisfying the non-repeating property we need. Also avoid the value of 0, since IP ID's of 0 are special. Inspired by Dillon's implementation. We believe this is easier to read though, initializes with less bias, handles the ID of 0 properly, and wins speed tests. Thanks a lot to mcbride and djm for doing a bunch of statistical and speed analysis, and comments from nordin ok mcbride djm
2008-02-28from audio(4):Jacob Meuser
blocksize sets the current audio blocksize. The generic audio driver layer and the hardware driver have the opportunity to ad- just this block size to get it within implementation-required limits. Upon return from an AUDIO_SETINFO call, the actual blocksize set is returned in this field. Normally the blocksize is calculated to correspond to 50ms of sound and it is recalcu- lated when the encoding parameter changes, but if the blocksize is set explicitly this value becomes sticky, i.e., it remains even when the encoding is changed. The stickiness can be cleared by reopening the device or setting the blocksize to 0. however, there were insufficient checks to make the blocksize is actually sticky once it is set by the user. this adds them. ok ratchov@
2008-02-28Add initial bits for fiber support with the BCM5706/BCM5708 chipsets.Brad Smith
Tested with copper adapters by brad@, johan@ and Jung <moorang at gmail dot com> ok dlg@
2008-02-28Update for the BCM5706 miidevs entry change.Brad Smith
ok dlg@
2008-02-28regenBrad Smith
2008-02-28- Update the BCM5706 PHY entry to also mention SX since this id is sharedBrad Smith
between copper and fiber PHY. - Add the PHY id for the BCM5708S fiber adapters. From FreeBSD ok dlg@
2008-02-27Don't dump duplicate data in stack segments of core dumps when the stackMark Kettenis
memory map is fragmented. Avoids ridiculously large core dumps. ok miod@
2008-02-27Make sure we match the correct pci domain; clean up the code a bit and removeMark Kettenis
an unneeded goto. ok miod@
2008-02-27Add ICH8M SATA IDE support, and adjust for renamed ICH7 and ICH8 IDs.Mark Kettenis
tested by drahn@, "looks right to me" deraadt@
2008-02-27regenMark Kettenis
2008-02-27Add ICH8M SATA IDE, and correct a few ICH7 and ICH8 SATA/AHCI/RAID entries.Mark Kettenis
tested by drahn@, "looks right to me" deraadt@
2008-02-27Correct the watchdog timer by moving it out from under the condition checkBrad Smith
for the IFF_OACTIVE flag. Tested by brad@, johan@, krw@, wilfried@ From mickey
2008-02-27return from tda_attach before registering the sensor taskRobert Nagy
if there are no temperature sensors
2008-02-26syncTheo de Raadt