Add script to detect soekris board of net4801 and net4826. Patch from: kentarou matsuyama <[email protected]> SVN-Revision: 25102
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+net48xx_board_name () {
+ local name
+ local pci=`wc -l /proc/bus/pci/devices`
+ case "$pci" in
+ *"8"*)
+ name="net4826"
+ ;;
+ *1[0-4]*)
+ name="net4801"
+ *)
+ esac
+ echo $name
+}