Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1497221 > unrolled thread
| Started by | Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
|---|---|
| First post | 2016-10-07 17:30 +0200 |
| Last post | 2016-10-07 17:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 2/2] jnx: Introduce include/linux/jnx/pci_ids.h Pantelis Antoniou <pantelis.antoniou@konsulko.com> - 2016-10-07 17:30 +0200
Re: [PATCH 2/2] jnx: Introduce include/linux/jnx/pci_ids.h Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-10-07 17:40 +0200
| From | Pantelis Antoniou <pantelis.antoniou@konsulko.com> |
|---|---|
| Date | 2016-10-07 17:30 +0200 |
| Subject | [PATCH 2/2] jnx: Introduce include/linux/jnx/pci_ids.h |
| Message-ID | <spFfY-2lv-35@gated-at.bofh.it> |
From: Rajat Jain <rajatjain@juniper.net> Add this header to contain the PCI device IDs that we cannot add in the linux pci_ids.h. This would contain PCI device IDs of Juniper devices as well as any PCIe switches etc. Signed-off-by: Rajat Jain <rajatjain@juniper.net> Signed-off-by: Debjit Ghosh <dghosh@juniper.net> Signed-off-by: Georgi Vlaev <gvlaev@juniper.net> Signed-off-by: Guenter Roeck <groeck@juniper.net> Signed-off-by: Mohammad Kamil <mkamil@juniper.net> Signed-off-by: Shyamshankar Dharmarajan <shyamd@juniper.net> Signed-off-by: Tom Kavanagh <tkavanagh@juniper.net> [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com> --- include/linux/jnx/pci_ids.h | 66 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 include/linux/jnx/pci_ids.h diff --git a/include/linux/jnx/pci_ids.h b/include/linux/jnx/pci_ids.h new file mode 100644 index 0000000..8c86aa8 --- /dev/null +++ b/include/linux/jnx/pci_ids.h @@ -0,0 +1,66 @@ +/* + * Juniper PCI ID(s) - for devices on Juniper Boards + * + * Rajat Jain <rajatjain@juniper.net> + * Copyright 2014 Juniper Networks + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef __JNX_PCI_IDS_H__ +#define __JNX_PCI_IDS_H__ + +#define PCI_VENDOR_ID_JUNIPER 0x1304 + +/* + * PTX SAM FPGA, device ID as present on various Juniper boards, such as + * - Sangria FPC + * - Hendricks FPC + * - Sangria 24x10GE PIC + * - Gladiator FPC + */ +#define PCI_DEVICE_ID_JNX_SAM 0x0004 + +/* Juniper Broadway ASIC family */ +#define PCI_DEVICE_ID_JNX_TF 0x003c +#define PCI_DEVICE_ID_JNX_TL 0x003d +#define PCI_DEVICE_ID_JNX_TQ 0x003e +#define PCI_DEVICE_ID_JNX_OTN_FRAMER 0x0055 +#define PCI_DEVICE_ID_JNX_PE 0x005e +#define PCI_DEVICE_ID_JNX_PF 0x005f /* Juniper Paradise ASIC */ + +/* Juniper SAM FPGA - Omega SIB, Sochu SHAM, Gladiator SIB */ +#define PCI_DEVICE_ID_JNX_SAM_OMEGA 0x006a + +/* Juniper SAM FPGA - present on GLD FPC board */ +#define PCI_DEVICE_ID_JNX_SAM_X 0x006b + +/* Juniper PAM FPGA - present on PTX MLC board */ +#define PCI_DEVICE_ID_JNX_PAM 0x006c +/* Juniper CBC FPGA - present on PTX1K RCB */ +#define PCI_DEVICE_ID_JNX_CBC 0x006e +#define PCI_DEVICE_ID_JNX_CBC_P2 0x0079 +#define PCI_DEVICE_ID_JNX_OMG_CBC 0x0083 + +/* Other Vendors' devices */ +#define PCI_DEVICE_ID_IDT_PES12NT3_TRANS_AB 0x8058 +#define PCI_DEVICE_ID_IDT_PES12NT3_TRANS_C 0x8059 +#define PCI_DEVICE_ID_IDT_PES12NT3_INT_NTB_C 0x805a +#define PCI_DEVICE_ID_IDT_48H12G2 0x807a +#define PCI_DEVICE_ID_IDT_PES24NT24G2 0x808e +#define PCI_DEVICE_ID_IDT_PES16NT16G2 0x8090 + +#define PCI_DEVICE_ID_PLX_8614 0x8614 +#define PCI_DEVICE_ID_PLX_8618 0x8618 +#define PCI_DEVICE_ID_PLX_8713 0x8713 + +/* + * Juniper CBD FPGA Device ID(s) + */ +#define JNX_CBD_FPGA_DID_09B3 0x004D +#define JNX_CBD_FPGA_DID_0BA8 0x005A + +#endif /* __JNX_PCI_IDS_H__ */ -- 1.9.1
[toc] | [next] | [standalone]
| From | Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-10-07 17:40 +0200 |
| Message-ID | <spFpE-2pN-75@gated-at.bofh.it> |
| In reply to | #1497221 |
On Fri, Oct 07, 2016 at 06:15:46PM +0300, Pantelis Antoniou wrote: > From: Rajat Jain <rajatjain@juniper.net> > > Add this header to contain the PCI device IDs that we cannot add in > the linux pci_ids.h. Why can't you? > This would contain PCI device IDs of Juniper devices as well as any > PCIe switches etc. Why do you need a .h file for this? Is the values in it shared across drivers? If not, you don't nee a .h file at all. If so, then it belongs in pci_ids.h as the top of that file describes. thanks, greg k-h
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web