summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-11mallocarray() for the rx_buffer memoryTheo de Raadt
2015-01-11Casting a gid_t to gid_t for a gid_t argument is overkillPhilip Guenther
2015-01-11use mallocarray() when reallocating the mux tableTheo de Raadt
2015-01-11KUE_MCFILTCNT() is non-constant, so use mallocarray()Theo de Raadt
2015-01-11unnecessary castTheo de Raadt
2015-01-11sncTheo de Raadt
2015-01-10Get the MAC address from the PCI ROM on systems without Open Firmware. CodeMark Kettenis
largely stolen from cas(4), but with a few tweaks.
2015-01-10Bye, bye simple_lock.Mark Kettenis
2015-01-10Disable (most) interrupts when the interface goes down.Mark Kettenis
2015-01-10Enable nep(4).Mark Kettenis
2015-01-10Hook up nep(4).Mark Kettenis
2015-01-10A few more loose ends.Mark Kettenis
2015-01-10Remove debug printfs.Mark Kettenis
2015-01-10nep(4)Mark Kettenis
2015-01-10Hook up nep(4).Mark Kettenis
2015-01-10Add support for promiscuous mode and multicase.Mark Kettenis
2015-01-10tell the truth about DES.Igor Sobrado
joint work with djm@ and jsing@, who suggested stronger words warning people away from single-DES. ok djm@
2015-01-10Properly stop DMA and tear down the rings when taking the interface down.Mark Kettenis
2015-01-101. They're flags, not counters. Set to one instead of incrementing.Ted Unangst
2. The G flag is useless and never checked. Remove it. ok millert
2015-01-10don't check for a return value that host() doesn't return, so futureTed Unangst
generations don't try to change any of the values and break the code. ok deraadt
2015-01-10Correct some comments and merge in6_if_up() into in6_ifattach() toMartin Pieuchot
reflect that IPv6 link-local addresses are no longer automagically configured the first time an interface is brought up. ok henning@, stsp@
2015-01-10Remove pointless empty 64bit support code stubs from bwi(4).Stefan Sperling
It seems no 64bit bus space support is forthcoming. Nothing has happened in DragonflyBSD for several years and FreeBSD has a different driver for 64bit chips called bwn(4). ok mpi@ some time ago
2015-01-10Merge two bwi(4) fixes from FreeBSD:Stefan Sperling
------------------------------------------------------------------------ r192306 | imp | 2009-05-18 17:31:26 +0200 (Mon, 18 May 2009) | 10 lines Fix a typo from the original driver. We need to write ctrl2 into RF register 0x52, not ctrl1. This appears to be a mistake in the bcm reverse engineering page, and has been corrected there. Tracing through the code, this is more in keeping with the "documented" register. Sephe thinks it looks interesting and may be worth fixing. :) Submitted by: ddkprog at yahoo com Reviewed by: Sepherosa Ziehau ------------------------------------------------------------------------ r192042 | nwhitehorn | 2009-05-13 16:25:55 +0200 (Wed, 13 May 2009) | 4 lines Add a short delay after programming PHY registers to give some time for the engine to catch up. This prevents a machine check exception from illegal memory requests with a BCM4318. ------------------------------------------------------------------------ No regressions observed by myself, miod@, and Vesa Norrman (vesbula at gmail).
2015-01-10Correct reversed test of setmountent() returnPhilip Guenther
Fix from Dennis Lindroos (denafcm (at) gmail.com)
2015-01-10revert host() back to correct behavior.Brent Cook
unbreak config file address parsing
2015-01-09return -1 on host() address parsing failure, not 1.Brent Cook
Match what parse.y expects it to return. ok millert@
2015-01-09return -1 on host() address parsing failure, not 1.Brent Cook
Match what parse.y expects it to return. ok millert@
2015-01-09absurd optimization. reduce initial space by one to avoid leaving one byteTed Unangst
hanging off on a page by itself.
2015-01-09The "SunMicro Virtual Eth Device" found on Oracle's more recent SPARC systemsMark Kettenis
claims to support both RNDIS and CDC Ethernet. However, RNDIS doesn't seem to work, at least not with our driver. So blacklist it here such that cdce(4) takes over. ok miod@, armani@ (both a while back)
2015-01-09regenMark Kettenis
2015-01-09SunMicro Virtual Eth DeviceMark Kettenis
2015-01-09Change rssi passed to ifconfig(8) to a signed value to fix printing signalStuart Henderson
strengths on 802.11 interfaces. ok stsp@ Power on wireless interfaces is usually scaled in dBm. rssi (received signal strength) is expected to be a -ve dBm values (i.e. [much] <1mW). Some (though not all!) drivers store this as negative values, so it needs to be passed to ifconfig that way for printing, not cast to an unsigned value. Valid range is something like -40 to -90dBm, so the range available with a signed char is reasonable whether it's stored as a +ve or -ve number.
2015-01-09Properly unwind from a failure in usbd_dma_contig_alloc(). CallingMark Kettenis
bus_dmamap_unload(9) on a map that failed to load is a bad idea and causes panics on some architectures (such as sparc64). ok mpi@
2015-01-09Fix loading memory allocated with bus_dmamem_alloc(9). The old could wouldMark Kettenis
always load all allocated pages instead of the size specified in the bus_dmamap_load_raw(9) call. Also fixes the corner case where a specified boundary is less than the page size, which would always create multiple segments, even if the specified size was smaller than the boundary. Fixes xhci(4) on sparc64.
2015-01-09Always check for DMA buffer overrun, not just for some specific xfers.Martin Pieuchot
2015-01-09Correctly report memory allocation failure in uhidev_set_report_async().Martin Pieuchot
2015-01-09Add an asynchronous version of uhidev_get_report(), from David HiggsMartin Pieuchot
with some tweaks. Nothing use it for the moment, but upcoming upd(4) improvements need it.
2015-01-09document the chips we support. lots of raid controllers use themDavid Gwynne
and im too lazy to find out what they are or list them all.
2015-01-09Document that ftp-proxy breaks explicit RFC4217 FTP TLS. While here,Stefan Sperling
chroot and privdrop is a feature, not a bug, so move it out of CAVEATS. ok sthen
2015-01-09Add support DIOC{G,S}CACHE to mfi(4). Cache of disk on mfi(4) willYASUOKA Masahiko
be enabled by default. Also if the controller doesn't have any RAM, the cache on the physical disk will be enabled. discuss with jsg tsubai ok dlg
2015-01-09regenJonathan Gray
2015-01-09add rate matching hubs seen on a C610 systemJonathan Gray
2015-01-09rename a variable to avoid a warningGilles Chehade
spotted by deraadt@
2015-01-09move the ignore-microsec-timestamp bit from mrt_parse to mrt_parse_dump_mpHenning Brauer
fixes a coredump reachable via show mrt file From: Benjamin Baier <programmer at netzbasis dot de>, ok claudio
2015-01-09remove excessive/wrong use of sys/param.hTheo de Raadt
peanuts -- but all work has to start somewhere.
2015-01-09match on C610Jonathan Gray
2015-01-09regenJonathan Gray
2015-01-09Add some Intel Xeon E5 v3 and C610/X99 ids.Jonathan Gray
2015-01-09save the bufq pointer from the buf before we turn it loose so it won'tTed Unangst
change on us. also, remove unused second arg to bufq_wait. from pedro at bitrig via david hill. ok beck kettenis
2015-01-09rename desiredvnodes to initialvnodes. less of a lie. ok beck deraadtTed Unangst