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

[debian-users:30290] Re: kernel 2.4.12 の make-kpkg が失敗します



以下のパッチを、メンテナに送ったんですが、まだカーネルには、入ってないん
ですかね。

要は、1行writelを追加するだけなので、分かりますよね。

Yutaka Takeuchi wrote:

>NEC LaVie MX で sid 環境を使っています。
>kernel 2.4.10では何故かusb-ohciの組み込みに失敗するので(modprobeを複
>数回実行するとOKとの情報をWebで入手しましたが、ダメでした)
>
--- ../linux-2.4.4/drivers/usb/usb-ohci.c   Sun Apr 29 19:15:18 2001
+++ linux-2.4.4/drivers/usb/usb-ohci.c  Sun Apr 29 21:24:14 2001
@@ -2083,6 +2083,7 @@
    int smm_timeout = 50; /* 0,5 sec */

    if (readl (&ohci->regs->control) & OHCI_CTRL_IR) { /* SMM owns the HC */
+       writel (OHCI_INTR_OC, &ohci->regs->intrenable);
        writel (OHCI_OCR, &ohci->regs->cmdstatus); /* request ownership */
        dbg("USB HC TakeOver from SMM");
        while (readl (&ohci->regs->control) & OHCI_CTRL_IR) {


-- 
"Free software is not for free."
Kaz Sasayama <Kaz.Sasayama@xxxxxxxxxxxxxxxx>; Screen Name: kazssym
Hyper Linux Systems (Hypercore Software Design, Ltd.)
<URL:http://www.hypercore.co.jp/>