public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: ivaylo@bglans.net
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.XX and JMicron
Date: Thu, 9 Aug 2007 21:36:53 +0200	[thread overview]
Message-ID: <20070809193653.GF6002@1wt.eu> (raw)
In-Reply-To: <Pine.LNX.4.62.0708091550270.25126@mail.bglans.net>

Hi Ivaylo,

On Thu, Aug 09, 2007 at 03:54:30PM +0300, ivaylo@bglans.net wrote:
> 
> Hello,
> 
> I have ASUS P5B-VM DO mobo with JMicron SATA/PATA controler. I write mail 
> to Alan Cox and he told me that PATA part of JMicron controler can be 
> pressant as generic ide. So I make some changes to generic ide driver in 
> kernel 2.4.35 to be support JMicron PATA controler, but I'm not advanced 
> in C programing and not sure what I did is right. It works for me.
> 
> If there are any interes I send you (see bellow) changes.

Your patch looks good to me. I'm queuing it for 2.4.36.
BTW, just for your info, you should always create your patch with diff -u
one directory above linux, so that we apply them with patch -p1. You don't
need to resend it, it's small enough for me to fix it by hand.

Thanks,
Willy

> 
> Best Regards.
> Ivaylo Josifov
> 
> --- /home/ivaylo/boza/linux-2.4.35/include/linux/pci_ids.h      2007-07-26 
> 23:53:41.000000000 +0300
> +++ include/linux/pci_ids.h     2007-08-02 19:51:18.000000000 +0300 @@ 
> -2100,3 +2100,7 @@
> 
>  #define PCI_VENDOR_ID_WORKBIT          0x1145
>  #define PCI_DEVICE_ID_WORKBIT_CB       0xf021
> +
> +#define PCI_VENDOR_ID_JMICRON          0x197b
> +#define PCI_DEVICE_ID_JMICRON_20363    0x2363
> +
> 
> 
> --- /home/ivaylo/boza/linux-2.4.35/drivers/ide/pci/generic.h    2007-07-26 
> 23:53:41.000000000 +0300
> +++ drivers/ide/pci/generic.h   2007-08-02 19:58:53.000000000 +0300 @@ 
> -157,6 +157,16 @@
>                 .channels       = 2,
>                 .autodma        = NOAUTODMA,
>                 .bootable       = ON_BOARD,
> +       },{     /* 12 */
> +               .vendor         = PCI_VENDOR_ID_JMICRON,
> +               .device         = PCI_DEVICE_ID_JMICRON_20363,
> +               .name           = "JMICRON_20363",
> +               .init_chipset   = init_chipset_generic,
> +               .init_hwif      = init_hwif_generic,
> +               .init_dma       = init_dma_generic,
> +               .channels       = 1,
> +               .autodma        = NOAUTODMA,
> +               .bootable       = ON_BOARD,
>         },{
>                 .vendor         = 0,
>                 .device         = 0,
> 
> 
> --- /home/ivaylo/boza/linux-2.4.35/drivers/ide/pci/generic.c    2007-07-26 
> 23:53:41.000000000 +0300
> +++ drivers/ide/pci/generic.c   2007-08-02 19:51:15.000000000 +0300 @@ 
> -143,6 +143,7 @@
>         { PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_PICCOLO,PCI_ANY_ID, 
>         PCI_ANY_ID, 0, 0, 9},
>         { PCI_VENDOR_ID_TOSHIBA, 
>         PCI_DEVICE_ID_TOSHIBA_PICCOLO_1,PCI_ANY_ID, PCI_ANY_ID, 0, 0, 10},
>         { PCI_VENDOR_ID_TOSHIBA, 
>         PCI_DEVICE_ID_TOSHIBA_PICCOLO_2,PCI_ANY_ID, PCI_ANY_ID, 0, 0, 11},
> +       { PCI_VENDOR_ID_JMICRON, PCI_DEVICE_ID_JMICRON_20363,PCI_ANY_ID, 
> PCI_ANY_ID, 0, 0, 12},
>         { 0, },
>  };
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2007-08-09 19:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-09 12:54 2.4.XX and JMicron ivaylo
2007-08-09 19:36 ` Willy Tarreau [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070809193653.GF6002@1wt.eu \
    --to=w@1wt.eu \
    --cc=ivaylo@bglans.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox