freebsd-nq/sys/dev
Jung-uk Kim c909aebcbb - Remove more dead code[1]. Since r207330, we only need to check division
by zero of the second argument 'from'.
- Prefer u_int32_t over unsigned int to make its intention more clearer.
- Move the function to a header file and make it a static inline function.

Pointed out by:	Andrew Reilly (areilly at bigpond dot net dot au)[1]
MFC after:	3 days
2010-05-04 16:56:59 +00:00
..
aac Use enums in the aac_command_status_table rather than duplicating the same 2010-04-13 12:10:55 +00:00
acpi_support Prefer correct and simpler backlight control methods for ASUS G2K laptop. 2010-02-13 02:30:43 +00:00
acpica Merge ACPICA 20100428. 2010-04-28 22:25:27 +00:00
adb Add support for interpreting taps on ADB touchpads as a button click. 2009-11-28 17:48:25 +00:00
adlink Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
advansys Separate the parallel scsi knowledge out of the core of the XPT, and 2009-07-10 08:18:08 +00:00
ae Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
age With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
agp Acquire the page lock around vm_page_unwire(). For consistency, extend the 2010-05-03 16:55:50 +00:00
aha
ahb
ahci Enable PCI busmastering explicitly to be sure. 2010-05-02 14:46:05 +00:00
aic Snip redundant assignment. 2009-05-13 22:31:25 +00:00
aic7xxx Document the usfs driver and the NO_SYSCTL_DESCR option, and update the comment for umass. 2010-02-08 20:57:42 +00:00
alc With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
ale It seems ale(4) controllers do not like to see TCP payload in the 2010-04-26 21:08:15 +00:00
amd Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
amdsbwd amdsbwd: new driver for AMD SB600/SB7xx watchdog timer 2009-11-30 11:44:03 +00:00
amdtemp Restore (undocumented) support for early revisions and add more comments. 2009-09-14 23:08:19 +00:00
amr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
an Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
arcmsr Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
asmc Use %zu for size_t. 2009-09-14 21:33:00 +00:00
asr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
ata Add Target/LUN ID checks. 2010-04-30 08:37:00 +00:00
ath Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
atkbdc On certain chipsets AT keyboard controller isn't present and is 2010-04-29 06:16:00 +00:00
auxio Enroll these drivers in multipass probing. The motivation behind this 2009-12-22 21:02:46 +00:00
bce - Enable flow control. 2010-04-30 02:35:46 +00:00
bfe Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
bge For the on-board interfaces found in Fujitsu SPARC64 machines obtain the 2010-04-26 18:56:06 +00:00
bktr Use standard types in preference to BSD types so that these header files 2010-03-28 00:10:09 +00:00
bm Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
buslogic
bwi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
bwn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cardbus Move the PCI-specific logic of removing a cardbus device into a 2010-01-05 20:42:25 +00:00
cas - Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES 2010-05-03 20:57:16 +00:00
ce Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cfe Create the "cfecons" tty directly using tty_makedev(). It is not clear what 2010-01-26 03:42:34 +00:00
cfi Move from using devclass_find_free_unit(cfi_diskclass, 0) to -1, since 2009-06-10 17:41:24 +00:00
ciss Initialize the callout structure earlier in attach before calling any 2010-04-28 18:49:45 +00:00
cm Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cmx
coretemp Change 'dev.cpu.N.temperature', sysctl I (degC) to IK (Kelvin). 2009-09-06 12:01:29 +00:00
cp Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cpuctl - Add support to atomically set/clear individual bits of a MSR register 2009-06-30 12:35:47 +00:00
cpufreq
cs Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ct Spell "Hz" correctly wherever it is user-visible. 2010-01-12 17:59:58 +00:00
ctau Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cxgb Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
cy
dc cardbus -> CardBus 2010-01-03 23:28:32 +00:00
dcons Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
de Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
digi
dpms Attach dpms(4) to vgapm and make sure to restore DPMS state after 2009-12-15 19:58:23 +00:00
dpt Get rid of #ident, GCC 4.4 warns about it being deprecated. 2010-01-08 17:20:41 +00:00
drm Add page locking to the vm_page_cow* functions. 2010-05-04 15:55:41 +00:00
e1000 Address the LOD that some are seeing, put the RX lock 2010-04-28 19:22:52 +00:00
ed Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
eisa strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
en
ep Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
esp Take advantage of OF_getscsinitid(). 2010-04-27 15:50:25 +00:00
et Only Tx checksum offloading is supported now. Remove experimental 2009-11-20 20:43:16 +00:00
ex Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
exca CardBus instead of cardbus. 2010-01-03 23:26:29 +00:00
fatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
fb Allocate memory for VBE info block with malloc(9), not as static local. 2010-04-07 21:38:42 +00:00
fdc Remove _FDE quirk handling as these quirks are automatically repaired 2009-12-14 22:28:32 +00:00
fe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
firewire Cast a bus_size_t to a (size_t) to use %zd specifier. Not quite the 2010-03-29 17:24:23 +00:00
flash Merge from projects/mips to head by hand: 2010-01-10 05:15:46 +00:00
fxp With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
gem According to the Linux sungem driver, in case of Apple (K2) GMACs 2010-02-22 21:01:08 +00:00
glxsb
hatm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hifn Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
hme The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
hptiop MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
hptmv Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
hptrr MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
hwpmc When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counting PMC, so the log buffers were leaked when the PMC was deconfigured. The process mappings are only useful for sampling PMCs anyway, so only log the mappings if the PMC is a sampling PMC. 2010-05-01 22:04:58 +00:00
ic Merge from projects/mips to head by hand: 2010-01-11 04:13:06 +00:00
ichsmb ichsmb: add another pci id 2009-12-16 12:25:27 +00:00
ichwd Add support for the NM10 chipset. 2010-01-24 10:50:20 +00:00
ida
ie Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ieee488 GPIB overhaul, part #2: make the tnt4882 driver work with the newer 2010-02-01 21:21:10 +00:00
if_ndis Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
iicbus Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iir Get rid of #ident. 2010-01-08 20:40:28 +00:00
io - Extract the IODEV_PIO interface from ia64 and make it MI. 2010-04-28 15:38:01 +00:00
ipmi - Fixed incorrect watchdog timeout setting: MSB of a 2-byte 2009-12-18 12:10:42 +00:00
ips Fix argument order in a call to mtx_init. 2009-12-17 00:21:12 +00:00
ipw Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iscsi/initiator Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
isp On sparc64 obtain the initiator ID from the Open Firmware device tree 2010-05-03 18:39:40 +00:00
ispfw Don't spam dmesg with "registered firmware ..." when module is compiled 2010-03-05 03:37:42 +00:00
iwi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
iwn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ixgb - Use callout_init_mtx() instead of callout_init(..., CALLOUT_MPSAFE). 2009-11-19 18:37:55 +00:00
ixgbe Remove the tx queue selection based on the cpu whe 2010-04-16 16:33:05 +00:00
jme Add TSO support on VLANs. jme(4) controllers do not require VLAN 2010-02-22 22:05:49 +00:00
joy
kbd Use an unsigned integer for storing the key code. 2009-09-22 11:29:11 +00:00
kbdmux Use proper types in kbdmux_kbd_getc(): 2009-06-08 20:24:29 +00:00
ksyms Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
le Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
led (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument. 2009-12-28 22:56:30 +00:00
lge - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
lindev lindev(4) [1] is supposed to be a collection of linux-specific pseudo 2009-09-26 12:45:28 +00:00
lmc One more #ifdef fix for GCC 4.4. 2010-01-08 15:57:56 +00:00
malo Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
mc146818 Remove clause 3 from Izumi Tsutsui's licenses. 2009-12-25 22:58:43 +00:00
mca strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
mcd
md Lock the page around vm_page_activate() and vm_page_deactivate() calls 2010-05-03 20:31:13 +00:00
mem
mfi Correct mfip module dependency on mfi. This allows mfip to be loaded as 2010-03-02 17:34:11 +00:00
mge Assorted fixes for mge(4). 2010-02-17 17:03:04 +00:00
mii Add Marvell PHYG65G Gigabit PHY which is found on 88E8059 Yukon Optima. 2010-04-30 19:01:55 +00:00
mk48txx Fix botches in r201005: 2010-01-01 22:47:53 +00:00
mlx Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
mly MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
mmc Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
mn
mpt Print IR_RESYNC updates informatively. 2010-05-02 22:48:27 +00:00
mse
msk Add basic support for Marvell 88E8059 Yukon Optima. 2010-04-30 18:58:55 +00:00
mvs Import mvs(4) - Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA controllers 2010-05-02 19:28:30 +00:00
mwl Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
mxge Add missing IFCAP_LINKSTATE to mxge 2010-04-15 14:26:52 +00:00
my Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ncv strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
nfe With r206844, CSUM_TCP is also set for CSUM_TSO case. Modify 2010-04-19 22:10:40 +00:00
nge Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
nmdm - Remove an unnecessary memory barrier from an atomic op. 2009-06-09 13:33:03 +00:00
nsp strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
null Remove unneeded minor numbers from /dev/null and /dev/zero. 2009-09-06 09:59:02 +00:00
nve Initialize the ifnet before calling mii_phy_probe() as some phy drivers 2010-01-27 14:43:28 +00:00
nvram
nxge Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ofw With r205496 in place we should ensure that nargs and nreturns are always 2010-04-02 21:48:27 +00:00
patm Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
pbio
pccard cardbus -> CardBus 2010-01-03 23:31:58 +00:00
pccbb Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pcf strict kobj signatures: fix iicbus_write impl in dev/pcf 2009-06-11 17:15:44 +00:00
pci Small whitespace fixes. 2010-03-11 15:25:47 +00:00
pcn - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
pdq Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
powermac_nvram
ppbus Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
ppc Add PCI ID for MCS9901's parallel port. 2010-03-23 20:08:18 +00:00
pst Temporarily revert the new-bus locking for 8.0 release. It will be 2009-08-20 19:17:53 +00:00
pty Move ptmx into pty(4). 2009-09-06 10:27:45 +00:00
puc Fix interrupt handling. It started off broken and grew worse over time. 2009-12-11 03:08:07 +00:00
quicc Remove a soft member which was never used. 2010-05-02 19:05:57 +00:00
ral Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
random There is rubbish here 2009-05-25 22:50:11 +00:00
rc
re Add preliminary support for 8168E/8111E PCIe controller. 2010-04-09 22:50:28 +00:00
rndtest
rp These checks against BUSY aren't needed: the newbus layer does this 2009-09-05 08:38:25 +00:00
safe Remove extraneous semicolons, no functional changes. 2010-01-07 21:01:37 +00:00
sbni Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
scc
scd
sdhci
sec Fix Book-E/MPC85XX build. Some prototypes were wrong and got revealed with 2009-06-13 08:57:04 +00:00
sf Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
sge Fix wrong dma tag usage. Previously it used TX descriptor ring dma 2010-05-03 00:56:26 +00:00
si Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
siba Revert r204992 and just wrap it all in ifdef INVARIANTS to fix the debug and 2010-03-11 08:03:56 +00:00
siis Make SATA XPT negotiate and enable some additional SATA features, such as: 2010-05-02 12:07:47 +00:00
sio
sis It's not necessary to reset the chip every time an input overflow event 2010-04-20 19:30:12 +00:00
sk Take a step towards removing if_watchdog/if_timer. Don't explicitly set 2009-11-06 14:55:01 +00:00
smbus
smc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
sn Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snc Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
snp Add ttydisc_rint_simple(). 2009-08-23 08:04:40 +00:00
sound - Remove more dead code[1]. Since r207330, we only need to check division 2010-05-04 16:56:59 +00:00
speaker Change the type of uio_resid member of struct uio from int to ssize_t. 2009-06-25 18:46:30 +00:00
spibus strict kobj signatures: fix assortment of bus_read_ivar impls 2009-06-11 17:06:58 +00:00
ste Make sure to store dma address of RX buffer in little endian form. 2010-01-08 02:43:20 +00:00
stg strict kobj sigs: fix assortment of device_detach and device_shutdown impls 2009-06-11 17:14:28 +00:00
stge The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 16:52:11 +00:00
streams
sym - On sparc64 obtain the initiator ID from the Open Firmware device tree 2010-04-27 18:05:33 +00:00
syscons Correct beastie_saver module name. 2010-04-07 18:42:21 +00:00
tdfx Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
ti Neither the page lock nor the page queues lock is required to unwire and 2010-05-03 15:51:59 +00:00
tl - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
trm MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
tsec tsec: Use IFQ_DRV macros for managing interface packet queue. 2009-11-20 13:28:06 +00:00
twa MFp4: Large set of CAM inprovements. 2010-01-28 08:41:30 +00:00
twe Teach twe driver to report array stripe size to GEOM. 2009-12-25 17:34:43 +00:00
tx Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
txp Make sure rx descriptor ring align on 16 bytes. I guess the 2009-08-31 22:09:48 +00:00
uart Remove redundant checking of sc_leaving (uart_intr() already handles this). 2010-05-02 19:07:19 +00:00
ubsec Cast the bus_size_t to a intmax_t rather than assuming type-punning to 2010-03-29 17:26:24 +00:00
usb Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
utopia
vge Remove wrong assertion. 2009-12-25 00:23:47 +00:00
vkbd
vr Use if_maddr_rlock()/if_maddr_runlock() rather than IF_ADDR_LOCK()/ 2009-06-26 11:45:06 +00:00
vx Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
watchdog
wb - Hook into the existing stat timer to drive the transmit watchdog instead 2009-11-19 22:14:23 +00:00
wds
wi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wl Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
wpi Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
xe Add new tunable 'net.link.ifqmaxlen' to set default send interface 2010-05-03 07:32:50 +00:00
xen The proper fix for the delayed SCTP checksum is to 2010-03-12 22:58:52 +00:00
xl cardbus -> CardBus 2010-01-03 23:29:49 +00:00