[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#721519: initramfs-tools: Please include ehci-orion in initramfs



On Sun, 2013-09-01 at 15:55 +0100, Ben Hutchings wrote:
> On Sun, 2013-09-01 at 15:28 +0100, Ian Campbell wrote:
> [...]
> > --- a/scripts/functions
> > +++ b/scripts/functions
> > @@ -47,6 +47,7 @@ panic()
> >  	modprobe -v i8042 || true
> >  	modprobe -v atkbd || true
> >  	modprobe -v ehci-pci || true
> > +	modprobe -v ehci-ehci || true
> 
> ehci-orion?

Damn, that's what I get for retyping instead of copying from the system
where I tested it... Thanks for the sharp eyes!

I've deployed scp this time...

8<---------------

From 2424404d16013882717970d0e5819b45bfce8e61 Mon Sep 17 00:00:00 2001
From: Ian Campbell <ijc@hellion.org.uk>
Date: Sun, 1 Sep 2013 15:22:23 +0100
Subject: [PATCH] include ehci-orion in auto_add_modules_list

This became a separate driver in v3.10 (a76dd463c58e), it is used on the Orion
and Kirkwood flavours.
---
v2: s/ehci-ehci/ehci-orion/
---
 debian/changelog  |    7 +++++++
 hook-functions    |    2 +-
 scripts/functions |    1 +
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 587f074..46421ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+initramfs-tools (0.114) UNRELEASED; urgency=low
+
+  [ Ian Campbell ]
+  * Include ehci-orion, used on kirkwood platforms.
+
+ -- Ian Campbell <ijc@hellion.org.uk>  Sun, 01 Sep 2013 15:03:26 +0100
+
 initramfs-tools (0.113) unstable; urgency=low
 
   [ Henrique de Moraes Holschuh ]
diff --git a/hook-functions b/hook-functions
index e751021..67d1503 100644
--- a/hook-functions
+++ b/hook-functions
@@ -432,7 +432,7 @@ auto_add_modules()
 	for arg in "$@" ; do
 		case "$arg" in
 		base)
-			modules="$modules ehci-pci ehci-hcd ohci-hcd uhci-hcd usbhid"
+			modules="$modules ehci-pci ehci-orion ehci-hcd ohci-hcd uhci-hcd usbhid"
 			modules="$modules xhci xhci-hcd"
 			modules="$modules btrfs ext2 ext3 ext4 ext4dev "
 			modules="$modules isofs jfs reiserfs udf xfs"
diff --git a/scripts/functions b/scripts/functions
index e150d06..684031a 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -47,6 +47,7 @@ panic()
 	modprobe -v i8042 || true
 	modprobe -v atkbd || true
 	modprobe -v ehci-pci || true
+	modprobe -v ehci-orion || true
 	modprobe -v ehci-hcd || true
 	modprobe -v uhci-hcd || true
 	modprobe -v ohci-hcd || true
-- 
1.7.10.4



Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: