wok-tiny diff module-cs89x0/receipt @ rev 144
Some SCSI modules did not load (post_install missing)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 01 18:08:08 2019 +0200 (2019-09-01) |
parents | 3de5e6325aab |
children | a28c45a86936 |
line diff
1.1 --- a/module-cs89x0/receipt Wed Feb 27 17:43:23 2019 +0100 1.2 +++ b/module-cs89x0/receipt Sun Sep 01 18:08:08 2019 +0200 1.3 @@ -41,13 +41,28 @@ 1.4 <h4>CS89x0 Ethernet driver</h4> 1.5 <table> 1.6 <tr> 1.7 -<td>I/O base</td> 1.8 -<td><input type="text" name="IOCS89" ${IOCS89:+value="$IOCS89" } 1.9 -title="Likely 0x300 0x320 0x340 0x360 0x200 0x220 0x240 0x260 0x280 0x2a0 0x2c0 or 0x2e0" /></td> 1.10 +<td>Base io address</td> 1.11 +<td><select name="IOCS89"> 1.12 +EOT 1.13 +for i in 0x300 0x320 0x340 0x360 0x200 0x220 0x240 0x260 0x280 0x2a0 0x2c0 0x2e0; do 1.14 + echo -n "<option value=\"$i\"" 1.15 + [ "$i" = "$IOCS89" ] && echo -n ' selected="selected"' 1.16 + echo ">$i</option>" 1.17 +done 1.18 +cat <<EOT 1.19 +</select></td> 1.20 </tr> 1.21 <tr> 1.22 <td>IRQ</td> 1.23 -<td><input type="text" name="IRQCS89" title "Likely 10 11 12 or 5" ${IRQCS89:+value="$IRQCS89" }/></td> 1.24 +<td><select name="IRQCS89"> 1.25 +EOT 1.26 +for i in 10 11 12 5; do 1.27 + echo -n "<option value=\"$i\"" 1.28 + [ "$i" = "$IRQCS89" ] && echo -n ' selected="selected"' 1.29 + echo ">$i</option>" 1.30 +done 1.31 +cat <<EOT 1.32 +</select></td> 1.33 </tr> 1.34 <tr> 1.35 <td>Media</td> 1.36 @@ -63,7 +78,7 @@ 1.37 EOT 1.38 for i in $(seq 0 6); do 1.39 cat <<EOT 1.40 - <option value="$i"$([ "$DEBUGCS89" = "$i" ] && echo ' selected="selected"')>$i</option> 1.41 + <option value="$i"$([ "$DEBUGCS89" = "$i" ] && echo ' selected="selected"')>Level $i</option> 1.42 EOT 1.43 done 1.44 cat <<EOT