1 Summary: Device driver/utilities for Equinox SST SuperSerial family
2 Summary(pl): Sterowniki do karty Equinox SST SuperSerial
7 Group: Applications/Communications
8 Source0: %{name}-%{version}-1.tar.gz
9 # Source0-md5: 3b335ac7f525036ad3147907adcd0ec8
10 Patch0: %{name}-misc.patch
11 URL: http://www.equinox.com/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Provides device driver and diagnostic utilities for Equinox
17 SuperSerial multiport and expandable host controller boards. This
18 driver supports ISA, EISA and PCI versions of the 2, 4, 8 and 16 port
19 boards as well as the expandable 64 and 128 port boards and the 4RJ
20 and 8RJ boards. ISA and EISA are not available on Itanium systems.
23 Ten pakiet zawiera sterownik i narzêdzia diagnostyczne dla kart
24 wieloportowych i rozszerzalnych kontrolerów Equinox SuperSerial. Ten
25 sterownik obs³uguje wersje ISA, EISA i PCI kart 2, 4, 8 i
26 16-portowych, a tak¿e rozszerzalne karty 64 i 128-portowe oraz karty
27 4RJ i 8RJ. ISA i EISA nie s± dostêpne w systemach Itanium.
30 %setup -q -n %{name}-%{version}-1
34 %{__make} build CC=%{kgcc} OPT="%{rpmcflags}" SMP=0
35 mv drv/eqnx.o drv/eqnx.o-up
37 %{__make} build CC=%{kgcc} OPT="%{rpmcflags}" SMP=1
40 rm -rf $RPM_BUILD_ROOT
42 %{__make} install OBJROOT=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
48 # check driver usage. If ports in use, disallow the remove
49 if [ -e /sbin/chkconfig ]
58 if [ -f /etc/rc.d/init.d/eqnx ]
60 /etc/rc.d/init.d/eqnx status > /dev/null 2>&1
63 echo "eqnx driver in use, unable to unload"
64 echo "Please stop all processes running on SST ports"
69 # stop the driver + remove device files
70 if [ -f /etc/rc.d/init.d/eqnx ]
72 /etc/rc.d/init.d/eqnx stop
75 # remove eqnx from startup scripts
76 if [ -e /usr/sbin/eqnx-installrc ]
78 /usr/sbin/eqnx-installrc -u
82 echo "To complete installation of the Equinox SST product:"
83 echo " 1. /etc/rc.d/init.d/eqnx start"
84 echo " 2. ensure this script is invoked at boot-time"
85 echo " (such as chkconfig --add eqnx, for redhat, etc.)"
86 echo " Refer to installation notes for more information".
89 %defattr(644,root,root,755)
92 %doc utils/ssdiag/README.ssdiag
93 %attr(754,root,root) /etc/rc.d/init.d/eqnx
95 %attr(755,root,root) %{_bindir}/sscode
96 %attr(755,root,root) %{_bindir}/ssdiag
97 %attr(755,root,root) %{_bindir}/ssmkn
98 %attr(755,root,root) %{_bindir}/ssrm
99 %attr(755,root,root) %{_bindir}/sstty
100 %attr(755,root,root) %{_sbindir}/rpmvar
101 %attr(755,root,root) %{_sbindir}/eqnx-cfg
102 %attr(755,root,root) %{_sbindir}/eqnx-installrc
103 %{_libdir}/sst/ss.hlp