Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Post by Vojtech Pavli » Mon, 27 May 2002 22:30:09




  This cset moves a PCI ID definition from ide-pci.c to
  pci_ids.h where it belongs.

 drivers/ide/ide-pci.c   |    6 +-----
 include/linux/pci_ids.h |    4 ++++
 2 files changed, 5 insertions(+), 5 deletions(-)

diff -Nru a/drivers/ide/ide-pci.c b/drivers/ide/ide-pci.c
--- a/drivers/ide/ide-pci.c     Sun May 26 15:20:16 2002

 #include "pcihost.h"

-/* Missing PCI device IDs: */
-#define PCI_VENDOR_ID_HINT 0x3388
-#define PCI_DEVICE_ID_HINT 0x8013
-
 /*
  * This is the list of registered PCI chipset driver data structures.

        },
        {
                vendor: PCI_VENDOR_ID_HINT,
-               device: PCI_DEVICE_ID_HINT,
+               device: PCI_DEVICE_ID_HINT_VXPROII_IDE,
                bootable: ON_BOARD
        },
        {
diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h   Sun May 26 15:20:16 2002

 #define PCI_DEVICE_ID_MICROGATE_USC    0x0010
 #define PCI_DEVICE_ID_MICROGATE_SCC    0x0020
 #define PCI_DEVICE_ID_MICROGATE_SCA    0x0030
+
+#define PCI_VENDOR_ID_HINT             0x3388
+#define PCI_DEVICE_ID_HINT_VXPROII_IDE 0x8013
+

--
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Post by Martin Daleck » Tue, 28 May 2002 18:10:08


Uz.ytkownik Vojtech Pavlik napisa?:


>   This cset moves a PCI ID definition from ide-pci.c to
>   pci_ids.h where it belongs.

>  drivers/ide/ide-pci.c   |    6 +-----
>  include/linux/pci_ids.h |    4 ++++
>  2 files changed, 5 insertions(+), 5 deletions(-)

> diff -Nru a/drivers/ide/ide-pci.c b/drivers/ide/ide-pci.c
> --- a/drivers/ide/ide-pci.c        Sun May 26 15:20:16 2002
> +++ b/drivers/ide/ide-pci.c        Sun May 26 15:20:16 2002

>  #include "pcihost.h"

> -/* Missing PCI device IDs: */
> -#define PCI_VENDOR_ID_HINT 0x3388
> -#define PCI_DEVICE_ID_HINT 0x8013
> -
>  /*
>   * This is the list of registered PCI chipset driver data structures.
>   */

>    },
>    {
>            vendor: PCI_VENDOR_ID_HINT,
> -          device: PCI_DEVICE_ID_HINT,
> +          device: PCI_DEVICE_ID_HINT_VXPROII_IDE,
>            bootable: ON_BOARD
>    },
>    {
> diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> --- a/include/linux/pci_ids.h      Sun May 26 15:20:16 2002
> +++ b/include/linux/pci_ids.h      Sun May 26 15:20:16 2002

>  #define PCI_DEVICE_ID_MICROGATE_USC       0x0010
>  #define PCI_DEVICE_ID_MICROGATE_SCC       0x0020
>  #define PCI_DEVICE_ID_MICROGATE_SCA       0x0030
> +
> +#define PCI_VENDOR_ID_HINT                0x3388
> +#define PCI_DEVICE_ID_HINT_VXPROII_IDE    0x8013
> +

Please note that pci_ids.h. is a generated file. The ids have to be
moved to the ancestor of it as well.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Post by Dave Jone » Tue, 28 May 2002 18:30:10


 > Please note that pci_ids.h. is a generated file.

No. You're thinking of drivers/pci/devlist.h and classlist.h
If you looks at pci_ids.h, you'll notice we only have IDs in there
for devices Linux actually supports.

--
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Post by Martin Daleck » Tue, 28 May 2002 18:30:19


Uz.ytkownik Dave Jones napisa?:


>  > Please note that pci_ids.h. is a generated file.

> No. You're thinking of drivers/pci/devlist.h and classlist.h
> If you looks at pci_ids.h, you'll notice we only have IDs in there
> for devices Linux actually supports.

I stand corrected indeed. OK time for the next cup of coffe this
morning to get me awake finally :-).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Trivial: move PCI ID definitions from ide-pci.c to pci_ids.h

Post by Vojtech Pavli » Tue, 28 May 2002 18:50:09



> > diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
> > --- a/include/linux/pci_ids.h Sun May 26 15:20:16 2002
> > +++ b/include/linux/pci_ids.h Sun May 26 15:20:16 2002

> >  #define PCI_DEVICE_ID_MICROGATE_USC  0x0010
> >  #define PCI_DEVICE_ID_MICROGATE_SCC  0x0020
> >  #define PCI_DEVICE_ID_MICROGATE_SCA  0x0030
> > +
> > +#define PCI_VENDOR_ID_HINT           0x3388
> > +#define PCI_DEVICE_ID_HINT_VXPROII_IDE       0x8013
> > +

> Please note that pci_ids.h. is a generated file. The ids have to be
> moved to the ancestor of it as well.

Generated? I don't think so. devlist.h is, same for classlist.h, but not
pci_ids.h

--
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. pci_ids.h and pci.ids

All this talk of serial ports and PCI cards got me to do a 'lspci' on my
machine with a Lava DSerial-PCI. The entry shown for it was 'Serial
controller: Lava Computer mfg Inc: Unknown device 0100'. The first and second
parts looked fine, but the third part looked wrong. I did some poking around
and found that it is in <linux/pci_ids.h> but not in pci.ids. The file pci.ids
is part of pciutils, of which the latest version (2.1.8) is from May 20, 2000.

So then the question is: Would is be practical/possible to generate pci.ids
from pci_ids.h? I realize that there isn't currently enough information in it,
but I'm just fishing for ideas right now.

--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Troubled newbie

3. move AGP PCI defines to pci_ids.h

4. What is the syntax for export DISPLAY to get more than one remote machine to show program?

5. trivial patch for fixme in ide-pci.c

6. Microsoft .Net

7. Moving disks from a non-PCI system to a PCI system

8. SYSLOGD doesn't start! (urgent!)

9. PCI IDE and NCR 8250S PCI SCSI in my P5-90 system?

10. Solaris 7: Warning: /pci@0,0/pci-ide@7,1/ata@1 (ata1):

11. Solaris 7: "Warning: /pci@0,0/pci-ide@7,1/ata@1 (ata1):"

12. General PCI question: Does Linux permit PCI-PCI DMA Transfers

13. Use dev->slot_name in ide-pci.c