summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-09-06syncMarkus Friedl
2004-09-06add intel PRO_1000_GT; ok deraadtMarkus Friedl
2004-09-06Jumbo pack of fixes:Miod Vallat
- do not leak memory when polling; - bring LUN support back - Motorola documentation says LUNs are not supported, but it's a SysV/m88k limitation, not a hardware one. - honour request timeout while polling (instead of using a fixed value) - do not program the scsi command length if the hardware knows it from the scsi command group (as advised in the manual) - various minor fixes, especially better error recovery. tested by nick@ and I; ok deraadt@.
2004-09-02Prevent mixer from resetting volume back to blead-from-the-ears.Marco Peereboom
From NetBSD via Antoine Jacoutot <ajacoutot at lphp.org> Ok millert@ mickey@ deraadt@
2004-09-01regen for BCM4401-B0Todd C. Miller
2004-09-01Support Broadcom BCM4401-B0; from FreeBSD. OK deraadt@ and henning@Todd C. Miller
2004-09-01Make sure we don't call kernfs_xread() with a negative offset.Todd C. Miller
Problem found by Christer Oberg. OK henning@, deraadt@
2004-08-31Buglet in cachectl(), do not use curproc anymore.Miod Vallat
2004-08-31Prevent backup CARP hosts from replying to arp requests, fixes strangenessRyan Thomas McBride
with some layer-3 switches. From Bill Marquette. ok henning@ mickey@ dhartmei@ and deraadt@
2004-08-30another card tat uses system promMichael Shalayeff
2004-08-30In the interrupt handler, if there is a DMA transfer in progress, doMiod Vallat
not busy wait for the transfer to complete at the very beginning, as this interrupt could be unrelated to the transfer; busywaiting could cause the scsi command timeout to be triggered, and the code would not recover correctly. Instead, make the DMA check simply return, leaving the "busy" flag set; and perform the usual interrupt handler duties, except for the phase change. test&ok millert@
2004-08-30fix some types not agreeing with gcc 3Per Fogelstrom
2004-08-30Add the original LUNA-88K support.Kenji Aoyama
- retrieve auto-boot information from NVRAM - retrieve ethernet address information from FUSE ROM They are stored different way from LUNA-88K2. Tested by Jeff McMahill, ok by miod@
2004-08-30Increment the states reference counter in the rule attached to the stateRyan Thomas McBride
being inserted, so that the counter does not wrap back when the state is removed. This fixes pfsync setups with adaptive timeouts. From Chris Pascoe ok canacar@ dhartmei@ henning@ deraadt@
2004-08-30from freebsd via Jonathan GrayDavid Gwynne
"Use the USBD_FORCE_SHORT_XFER flag when setting up transmit transfers. Without this, the device cannot detect the end of ethernet packets whose size is a multiple of the USB packat size. ok deraadt@
2004-08-30Remove 'usb_'realloc() usage because it doesn't know the size of the oldDale Rahn
buffer, thus may copy too much, causing a memory fault. ok millert, dlg, henning, tdeval, otto
2004-08-29Add Adaptec 2120S. ok deraadt@ mickey@Marco Peereboom
Found and tested by Alexei E. Suslikov <cruel at texnika.com.ua>
2004-08-29oops debugging printfMichael Shalayeff
2004-08-27Add wsmux to support USB keyboards on RAMDISK_CD, which has usb support,Dale Rahn
ok deraadt@
2004-08-27Support USB keyboards on install where USB support is enabled. ok deraadt@Dale Rahn
2004-08-26Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.Otto Moerbeek
ok miller@ henning@
2004-08-26diskboot changesPer Fogelstrom
2004-08-26Fix a problem where the driver could get stuck in the rx int loop.Per Fogelstrom
2004-08-26sync with GENERIC for PCI NICs and MII PHY driversBrad Smith
ok deraadt@
2004-08-25Swap the sources for clock and statclock on MVME188 (the Z8536 being moreMiod Vallat
reliable), and add a large block of comments to explain the timer mess^Wsituation on MVME188.
2004-08-25Allow DMA transfers to be disabled through device flags; default is to enableMiod Vallat
DMA.
2004-08-25Set SCMD_PAD in non-integral sector DMA transfers, or the transfer neverMiod Vallat
completes; from the old driver, forgotten during the replacement here.
2004-08-25Rearm the DUART counter as soon as we enter the interrupt handler, to notMiod Vallat
drift the clock of the hardclock() processing time.
2004-08-25Minor tweaks to make things work in install.Per Fogelstrom
2004-08-25unbreak DEBUG; ok henning, deraadtMarkus Friedl
2004-08-25Disable ehci on macppc for now, it causes a race condition between devicesDale Rahn
attached at boot and ehci, can be enabled via UKC. ok deraadt@
2004-08-25Better DUART timer interval computation for clock.Miod Vallat
2004-08-25Use a simpler delay() routine for MVME188, from Mach via Luna88kMiod Vallat
2004-08-24back out the last change as it seems to produce problems found by brad@; ↵Michael Shalayeff
deraadt@ ok
2004-08-24The#@$#%^&}1 z8536 timers runs at PCLK/2, hence 2MHz. Compensate, sinceMiod Vallat
the code assumes 1MHz timers.
2004-08-24Sync with i386 cdboot.8:Tom Cosgrove
Better description of the path to bsd.rd, to avoid having to update it every release. Also note that cdboot's ls command doesn't work on ISO-9660 filesystems.
2004-08-24Better description of the path to bsd.rd, to avoid having to update itTom Cosgrove
every release. Mentioned by marc@, among others. Also note that cdboot's ls command doesn't work on ISO-9660 filesystems. help and ok jmc@ and deraadt@
2004-08-24Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.Brad Smith
From NetBSD Fixes PR 3825 ok mcbride@ canacar@ claudio@
2004-08-24Oops, unbreak dartcngetc().Miod Vallat
2004-08-24Correctly document the order in which cdboot looks for kernels.Tom Cosgrove
2004-08-24Have cdboot look for /3.6/amd64/bsd.rd first.Tom Cosgrove
"go for it" deraadt@
2004-08-24Have cdbr look for cdboot at /3.6/amd64/cdboot as well as at /cdboot.Tom Cosgrove
"go for it" deraadt@
2004-08-24Correctly document the order in which cdboot looks for kernels.Tom Cosgrove
2004-08-24Have cdboot look for /3.6/i386/bsd.rd first.Tom Cosgrove
"go for it" deraadt@
2004-08-24Have cdbr look for cdboot at /3.6/i386/cdboot as well as at /cdboot.Tom Cosgrove
"go for it" deraadt@; part of diff reviewed and ok weingart@.
2004-08-24Since the cpu frequency can only be an integral number on the Luna88k,Miod Vallat
simplify the delay() code, and as a result do not use floating-point code in the kernel anymore. Tested by aoyama@
2004-08-24Correctly initialize and shuffle statclock on 1x7.Miod Vallat
2004-08-24change physmem divisor to 256. divide by page size was wrong. this doesTed Unangst
what i intended all along, without contrived arithmetic screw up. from discussions with mickey and deraadt
2004-08-24fix the microtime renaming leftover; from Emil Mikulic ↵Michael Shalayeff
<g5ba9cd0@dmr.ath.cx>; pr3893; deraadt@ ok
2004-08-24adapt uvm_km_pages_lowat to physmem. thanks testers. ok deraadt@Ted Unangst