mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 13:32:45 +00:00
More ispfwfunc definitions funnies which break pre-7.0 builds.
This commit is contained in:
parent
8379353c85
commit
8070de6398
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161794
@ -97,6 +97,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if __FreeBSD_version < 700000
|
||||
typedef void ispfwfunc(int, int, int, uint16_t **);
|
||||
#endif
|
||||
|
||||
#ifdef ISP_TARGET_MODE
|
||||
#define ISP_TARGET_FUNCTIONS 1
|
||||
#define ATPDPSIZE 256
|
||||
|
@ -337,7 +337,6 @@ DRIVER_MODULE(isp, pci, isp_pci_driver, isp_devclass, 0, 0);
|
||||
MODULE_DEPEND(isp, ispfw, 1, 1, 1);
|
||||
MODULE_DEPEND(isp, firmware, 1, 1, 1);
|
||||
#else
|
||||
typedef void ispfwfunc(int, int, int, uint16_t **);
|
||||
extern ispfwfunc *isp_get_firmware_p;
|
||||
#endif
|
||||
|
||||
|
@ -114,7 +114,6 @@ DRIVER_MODULE(isp, sbus, isp_sbus_driver, isp_devclass, 0, 0);
|
||||
#if __FreeBSD_version >= 700000
|
||||
MODULE_DEPEND(isp, firmware, 1, 1, 1);
|
||||
#else
|
||||
typedef void ispfwfunc(int, int, int, uint16_t **);
|
||||
extern ispfwfunc *isp_get_firmware_p;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user