Bug#155132: SuperH unsupported
Package: makedev
Version: 2.3.1-59
Severity: wishlist
Tags: patch
Hi,
I'm one of the Debian/sh porters (see http://debian.dodes.org/sh).
This report is Cc:-ed to debian-superh@lists.debian.org.
The MAKEDEV script doesn't support SuperH. Please apply following
patch.
diff -ruN makedev-2.3.1/MAKEDEV makedev-2.3.1.new/MAKEDEV
--- makedev-2.3.1/MAKEDEV Fri Aug 2 00:10:34 2002
+++ makedev-2.3.1.new/MAKEDEV Fri Aug 2 00:10:05 2002
@@ -292,6 +292,9 @@
s390)
$0 $opts generic-s390
;;
+ sh*)
+ $0 $opts generic-sh
+ ;;
sparc)
$0 $opts generic-sparc
;;
@@ -488,6 +491,25 @@
$0 $opts consoleonly
$0 $opts rtc
;;
+ generic-sh)
+ $0 $opts std
+ $0 $opts fd
+ $0 $opts fd0 fd1
+ $0 $opts hda hdb
+ $0 $opts sda sdb sdc sdd
+ $0 $opts scd0 scd1
+ $0 $opts st0 st1
+ $0 $opts sg
+ $0 $opts pty
+ $0 $opts console
+ $0 $opts ttyS0 ttyS1 ttyS2 ttyS3
+ $0 $opts ttySC0 ttySC1 ttySC2 ttySC3
+ $0 $opts lp
+ $0 $opts par
+ $0 $opts audio
+ $0 $opts fb
+ $0 $opts rtc
+ ;;
generic-sparc)
$0 $opts std
$0 $opts fd0-bare fd1-bare
@@ -637,6 +659,11 @@
line=`suffix $arg ttyS`
minor=`math 64 + $line`
makedev ttyS$line c 4 $minor $dialout
+ ;;
+ ttySC[0-3])
+ line=`suffix $arg ttySC`
+ minor=`math 8 + $line`
+ makedev ttySC$line c 204 $minor $dialout
;;
pty[a-ep-z])
bank=`suffix $arg pty`
Regards,
--
YAEGASHI Takeshi <t@keshi.org> <takeshi@yaegashi.jp> <yaegashi@dodes.org>
Reply to: