1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

More ispfwfunc definitions funnies which break pre-7.0 builds.

This commit is contained in:
Matt Jacob 2006-09-01 05:03:42 +00:00
parent 8379353c85
commit 8070de6398
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161794
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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