summaryrefslogtreecommitdiffstats
path: root/include/assert.h
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2010-12-18 14:24:24 +0000
committertijl <tijl@FreeBSD.org>2010-12-18 14:24:24 +0000
commit5eed66cfe03bed0ea6be6caaded8d1e18b4754da (patch)
treea19cb5d3e5e08426f5fbba83eac5ed20e3deaf74 /include/assert.h
parentc76be15f2cdecfdf9514336b8c1e79d7a995d3ac (diff)
downloadFreeBSD-src-5eed66cfe03bed0ea6be6caaded8d1e18b4754da.zip
FreeBSD-src-5eed66cfe03bed0ea6be6caaded8d1e18b4754da.tar.gz
No need to zero the softc. It's allocated with M_ZERO.
Use pci_enable_busmaster instead of setting PCIM_CMD_BUSMASTEREN directly. There's no need to set PCIM_CMD_MEMEN. The bit is set when a SYS_RES_MEMORY resource is activated. Remove redundant pci_* function calls from suspend/resume methods. The bus driver already saves and restores the PCI configuration. Write 1 byte instead of 4 when setting the HIFN_TRDY_TIMEOUT register. It is only 1 byte according to the specification. Reviewed by: jhb Approved by: kib (mentor)
Diffstat (limited to 'include/assert.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud