!19 dinghai driver init
From: @hcf85679 Reviewed-by: @king7290 Signed-off-by: @king7290
This commit is contained in:
commit
8f5f6c08d3
@ -1,5 +1,5 @@
|
|||||||
%global pkg dinghai
|
%global pkg dinghai
|
||||||
%define pkg_version 2.24.30.01
|
%define pkg_version 2.24.40.01
|
||||||
%define release 2
|
%define release 2
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
@ -87,9 +87,9 @@ done
|
|||||||
# Add zxdh_en_aux udev conf
|
# Add zxdh_en_aux udev conf
|
||||||
|
|
||||||
%{__install} -d %{buildroot}%{_sysconfdir}/udev/rules.d/
|
%{__install} -d %{buildroot}%{_sysconfdir}/udev/rules.d/
|
||||||
echo 'ACTION!="add", GOTO="drivers_end"' > %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-zxdh_en_aux-drivers.rules
|
echo 'ACTION!="add", GOTO="drivers_end"' > %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-dinghai10e_en_aux-drivers.rules
|
||||||
echo 'ENV{MODALIAS}=="zxdh_auxiliary:zxdh_pf.en_aux", RUN{builtin}+="kmod load zxdh_en_aux"' >> %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-zxdh_en_aux-drivers.rules
|
echo 'ENV{MODALIAS}=="dinghai10e_auxiliary:dinghai10e.en_aux", RUN{builtin}+="kmod load dinghai10e_en_aux"' >> %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-dinghai10e_en_aux-drivers.rules
|
||||||
echo 'LABEL="drivers_end"' >> %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-zxdh_en_aux-drivers.rules
|
echo 'LABEL="drivers_end"' >> %{buildroot}%{_sysconfdir}/udev/rules.d/80-%{name}-dinghai10e_en_aux-drivers.rules
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
@ -117,17 +117,14 @@ rm /var/run/rpm-%{pkg}-modules.list
|
|||||||
%defattr(644,root,root,755)
|
%defattr(644,root,root,755)
|
||||||
/lib/modules/%{kernel_version}
|
/lib/modules/%{kernel_version}
|
||||||
%config(noreplace) %{_sysconfdir}/depmod.d/%{pkg}.conf
|
%config(noreplace) %{_sysconfdir}/depmod.d/%{pkg}.conf
|
||||||
%{_sysconfdir}/udev/rules.d/80-%{name}-zxdh_en_aux-drivers.rules
|
%{_sysconfdir}/udev/rules.d/80-%{name}-dinghai10e_en_aux-drivers.rules
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Nov 29 2024 hcf <han.chengfei@zte.com.cn> - 1:2.24.30.01-2
|
* Tue Feb 11 2025 hcf <han.chengfei@zte.com.cn> - 1:2.24.40.01-2
|
||||||
- rename compile shell
|
- rename driver rules name
|
||||||
|
|
||||||
|
* Mon Dec 23 2024 hcf <han.chengfei@zte.com.cn> - 1:2.24.40.01-1
|
||||||
|
- init kmod-dinghai driver
|
||||||
|
|
||||||
* Fri Nov 29 2024 hcf <han.chengfei@zte.com.cn> - 1:2.24.30.01-1
|
|
||||||
- update pkg_version
|
|
||||||
|
|
||||||
* Mon Oct 28 2024 hcf <han.chengfei@zte.com.cn> - 1:2.24.20.03-1
|
|
||||||
- Add net and rdma ko
|
|
||||||
|
|
||||||
* Wed Aug 28 2024 hcf <han.chengfei@zte.com.cn> - 1:2.24.20.02-1
|
|
||||||
- Dinghai driver init
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user