Package: yaird Version: 0.0.12-17 Severity: wishlist Tags: patch Hi,
I have tried to use yaird on an old Apple Oldworld 7600/132. The version currently in Debian fails because of unrecognized devices. The patch attached add supports for these machines by: * ignoring the Grand Central IO controller, * recognizing the MACE ethernet controller (module "mace"). Regards, -- Jérémy
diff -ruN yaird-0.0.12.orig/perl/Hardware.pm yaird-0.0.12/perl/Hardware.pm
--- yaird-0.0.12.orig/perl/Hardware.pm 2006-08-07 01:20:56.000000000 +0200
+++ yaird-0.0.12/perl/Hardware.pm 2006-08-14 10:36:31.000000000 +0200
@@ -97,6 +97,9 @@
elsif ($abspath =~ m!/[[:xdigit:]]+\.[[:xdigit:]]+:ohare$!) {
# Another Apple bus; harmless
}
+ elsif ($abspath =~ m!/[[:xdigit:]]+\.[[:xdigit:]]+:gc$!) {
+ # Another Apple bus; harmless
+ }
elsif ($abspath =~ m!/[[:xdigit:]]+\.[[:xdigit:]]+:ATA$!) {
# for stuff like
#
/sys/devices/pci0000:00/0000:00:10.0/0.f3000000:ohare/0.00020000:ATA
@@ -113,6 +116,11 @@
# Other mac-io devices are not storage related.
$modules = [ "mesh" ];
}
+ elsif ($abspath =~ m!/[[:xdigit:]]+\.[[:xdigit:]]+:mace$!) {
+ # Apple NIC,
+ # expected behind a mac-io.
+ $modules = [ "mace" ];
+ }
elsif ($abspath =~ m!/ide\d+$!) {
# IDE bus. On this end of the
# cable we normally have on the PCI bus a chipset
signature.asc
Description: Digital signature

