mirror of
https://github.com/opnsense/src.git
synced 2026-02-13 07:44:48 -05:00
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) |
||
|---|---|---|
| .. | ||
| hifn7751.c | ||
| hifn7751reg.h | ||
| hifn7751var.h | ||