--- - branch: MAIN date: Sun Nov 25 19:50:34 UTC 2012 files: - new: '1.54' old: '1.53' path: src/sys/dev/pci/if_wpi.c pathrev: src/sys/dev/pci/if_wpi.c@1.54 type: modified id: 20121125T195034Z.ea675d6c466882fe6ac9286871982d7f370858d2 log: | Rework firmware reference counting and error messages in wpi(4). . Clarify the shared firmware abstraction in wpi_cached_firmware and its new sibling wpi_release_firmware. . Fix typo in wpa_cache_firmware error branch leading to free NULL. . Fix leak in wpi_load_firmware error branch. . Sprinkle some kasserts to executably document invariants. . A little KNF here and there. Based on a patch from dh in PR kern/44144. module: src subject: 'CVS commit: src/sys/dev/pci' unixtime: '1353873034' user: riastradh