* [PATCH v2 0/2] can: ems_pci: refine PCI IDs for ASIX AX99100
@ 2023-07-20 10:28 Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 1/2] can: ems_pci: remove PCI_SUBVENDOR_ID_ASIX definition Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h Jiaqing Zhao
0 siblings, 2 replies; 9+ messages in thread
From: Jiaqing Zhao @ 2023-07-20 10:28 UTC (permalink / raw)
To: Wolfgang Grandegger, Marc Kleine-Budde
Cc: Gerhard Uttenthaler, support, Andy Shevchenko, linux-can,
linux-pci, linux-kernel, Jiaqing Zhao
Moves ASIX AX99100 ids to pci_ids.h for serial and parallel driver
support in upcoming patchset. Also removes PCI_SUBVENDOR_ID_ASIX as
0xa000 is not the PCI-SIG assigned vendor id of ASIX.
Link: https://lore.kernel.org/all/20230718174200.2862849-1-jiaqing.zhao@linux.intel.com/
Changes in v2:
* Split changes into 2 patchsets
Jiaqing Zhao (2):
can: ems_pci: remove PCI_SUBVENDOR_ID_ASIX definition
can: ems_pci: move ASIX AX99100 ids to pci_ids.h
drivers/net/can/sja1000/ems_pci.c | 7 +------
include/linux/pci_ids.h | 4 ++++
2 files changed, 5 insertions(+), 6 deletions(-)
--
2.39.2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 1/2] can: ems_pci: remove PCI_SUBVENDOR_ID_ASIX definition
2023-07-20 10:28 [PATCH v2 0/2] can: ems_pci: refine PCI IDs for ASIX AX99100 Jiaqing Zhao
@ 2023-07-20 10:28 ` Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h Jiaqing Zhao
1 sibling, 0 replies; 9+ messages in thread
From: Jiaqing Zhao @ 2023-07-20 10:28 UTC (permalink / raw)
To: Wolfgang Grandegger, Marc Kleine-Budde
Cc: Gerhard Uttenthaler, support, Andy Shevchenko, linux-can,
linux-pci, linux-kernel, Jiaqing Zhao
PCI_SUBVENDOR_ID_ASIX is defined as 0xa000, which is not the vendor id
assigned to ASIX by PCI-SIG. Remove it to avoid possible confusion and
conflict.
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/can/sja1000/ems_pci.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/can/sja1000/ems_pci.c b/drivers/net/can/sja1000/ems_pci.c
index c56e27223e5f..3e18c63a982c 100644
--- a/drivers/net/can/sja1000/ems_pci.c
+++ b/drivers/net/can/sja1000/ems_pci.c
@@ -111,7 +111,6 @@ struct ems_pci_card {
#ifndef PCI_VENDOR_ID_ASIX
#define PCI_VENDOR_ID_ASIX 0x125b
#define PCI_DEVICE_ID_ASIX_9110 0x9110
-#define PCI_SUBVENDOR_ID_ASIX 0xa000
#endif
#define PCI_SUBDEVICE_ID_EMS 0x4010
@@ -123,7 +122,7 @@ static const struct pci_device_id ems_pci_tbl[] = {
/* CPC-104P v2 */
{PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030, PCI_VENDOR_ID_PLX, 0x4002},
/* CPC-PCIe v3 */
- {PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_9110, PCI_SUBVENDOR_ID_ASIX, PCI_SUBDEVICE_ID_EMS},
+ {PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_9110, 0xa000, PCI_SUBDEVICE_ID_EMS},
{0,}
};
MODULE_DEVICE_TABLE(pci, ems_pci_tbl);
--
2.39.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-20 10:28 [PATCH v2 0/2] can: ems_pci: refine PCI IDs for ASIX AX99100 Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 1/2] can: ems_pci: remove PCI_SUBVENDOR_ID_ASIX definition Jiaqing Zhao
@ 2023-07-20 10:28 ` Jiaqing Zhao
2023-07-20 10:40 ` Marc Kleine-Budde
1 sibling, 1 reply; 9+ messages in thread
From: Jiaqing Zhao @ 2023-07-20 10:28 UTC (permalink / raw)
To: Wolfgang Grandegger, Marc Kleine-Budde
Cc: Gerhard Uttenthaler, support, Andy Shevchenko, linux-can,
linux-pci, linux-kernel, Jiaqing Zhao, Bjorn Helgaas
Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
Controller to pci_ids.h for its serial and parallel port driver
support in subsequent patches.
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
---
drivers/net/can/sja1000/ems_pci.c | 6 +-----
include/linux/pci_ids.h | 4 ++++
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/net/can/sja1000/ems_pci.c b/drivers/net/can/sja1000/ems_pci.c
index 3e18c63a982c..1aaedaf866f1 100644
--- a/drivers/net/can/sja1000/ems_pci.c
+++ b/drivers/net/can/sja1000/ems_pci.c
@@ -108,10 +108,6 @@ struct ems_pci_card {
#define EMS_PCI_BASE_SIZE 4096 /* size of controller area */
-#ifndef PCI_VENDOR_ID_ASIX
-#define PCI_VENDOR_ID_ASIX 0x125b
-#define PCI_DEVICE_ID_ASIX_9110 0x9110
-#endif
#define PCI_SUBDEVICE_ID_EMS 0x4010
static const struct pci_device_id ems_pci_tbl[] = {
@@ -122,7 +118,7 @@ static const struct pci_device_id ems_pci_tbl[] = {
/* CPC-104P v2 */
{PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030, PCI_VENDOR_ID_PLX, 0x4002},
/* CPC-PCIe v3 */
- {PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_9110, 0xa000, PCI_SUBDEVICE_ID_EMS},
+ {PCI_VENDOR_ID_ASIX, PCI_DEVICE_ID_ASIX_AX99100_LB, 0xa000, PCI_SUBDEVICE_ID_EMS},
{0,}
};
MODULE_DEVICE_TABLE(pci, ems_pci_tbl);
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 2dc75df1437f..16608ce4fd0f 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1760,6 +1760,10 @@
#define PCI_SUBDEVICE_ID_AT_2700FX 0x2701
#define PCI_SUBDEVICE_ID_AT_2701FX 0x2703
+#define PCI_VENDOR_ID_ASIX 0x125b
+#define PCI_DEVICE_ID_ASIX_AX99100 0x9100
+#define PCI_DEVICE_ID_ASIX_AX99100_LB 0x9110
+
#define PCI_VENDOR_ID_ESS 0x125d
#define PCI_DEVICE_ID_ESS_ESS1968 0x1968
#define PCI_DEVICE_ID_ESS_ESS1978 0x1978
--
2.39.2
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-20 10:28 ` [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h Jiaqing Zhao
@ 2023-07-20 10:40 ` Marc Kleine-Budde
2023-07-20 14:54 ` Jiaqing Zhao
2023-07-24 6:39 ` Jiaqing Zhao
0 siblings, 2 replies; 9+ messages in thread
From: Marc Kleine-Budde @ 2023-07-20 10:40 UTC (permalink / raw)
To: Jiaqing Zhao
Cc: Wolfgang Grandegger, Gerhard Uttenthaler, support,
Andy Shevchenko, linux-can, linux-pci, linux-kernel,
Bjorn Helgaas
[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]
On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
> Controller to pci_ids.h for its serial and parallel port driver
> support in subsequent patches.
Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
the other patches depend on. How to coordinate among the subsystems?
I don't mind taking the entire (v1) series with the Acks from the
tty/serial and parport maintainers, or give my Acked-by to upstream
via their trees.
> Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> ---
> drivers/net/can/sja1000/ems_pci.c | 6 +-----
> include/linux/pci_ids.h | 4 ++++
> 2 files changed, 5 insertions(+), 5 deletions(-)
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-20 10:40 ` Marc Kleine-Budde
@ 2023-07-20 14:54 ` Jiaqing Zhao
2023-07-26 11:38 ` Greg Kroah-Hartman
2023-07-24 6:39 ` Jiaqing Zhao
1 sibling, 1 reply; 9+ messages in thread
From: Jiaqing Zhao @ 2023-07-20 14:54 UTC (permalink / raw)
To: Marc Kleine-Budde, Sudip Mukherjee, Greg Kroah-Hartman
Cc: Wolfgang Grandegger, Gerhard Uttenthaler, support,
Andy Shevchenko, linux-can, linux-pci, linux-kernel,
Bjorn Helgaas
On 2023-07-20 18:40, Marc Kleine-Budde wrote:
> On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
>> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
>> Controller to pci_ids.h for its serial and parallel port driver
>> support in subsequent patches.
>
> Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
> the other patches depend on. How to coordinate among the subsystems?
>
> I don't mind taking the entire (v1) series with the Acks from the
> tty/serial and parport maintainers, or give my Acked-by to upstream
> via their trees.
Add tty and parport maintainers to this thread.
I'd like to ask other maintainers' opinion as I'm not sure which option
is better and I had no similar experience before.
>> Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
>> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>> ---
>> drivers/net/can/sja1000/ems_pci.c | 6 +-----
>> include/linux/pci_ids.h | 4 ++++
>> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> Marc
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-20 10:40 ` Marc Kleine-Budde
2023-07-20 14:54 ` Jiaqing Zhao
@ 2023-07-24 6:39 ` Jiaqing Zhao
2023-07-24 8:24 ` Marc Kleine-Budde
1 sibling, 1 reply; 9+ messages in thread
From: Jiaqing Zhao @ 2023-07-24 6:39 UTC (permalink / raw)
To: Marc Kleine-Budde
Cc: Wolfgang Grandegger, Gerhard Uttenthaler, support,
Andy Shevchenko, linux-can, linux-pci, linux-kernel,
Bjorn Helgaas
On 2023-07-20 18:40, Marc Kleine-Budde wrote:
> On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
>> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
>> Controller to pci_ids.h for its serial and parallel port driver
>> support in subsequent patches.
>
> Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
> the other patches depend on. How to coordinate among the subsystems?
>
> I don't mind taking the entire (v1) series with the Acks from the
> tty/serial and parport maintainers, or give my Acked-by to upstream
> via their trees.
Since in ems_pci there are only definition changes, I think having your
Acked-by and upstream via the serial/parallel tree might be better.
>> Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
>> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
>> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
>> ---
>> drivers/net/can/sja1000/ems_pci.c | 6 +-----
>> include/linux/pci_ids.h | 4 ++++
>> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> Marc
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-24 6:39 ` Jiaqing Zhao
@ 2023-07-24 8:24 ` Marc Kleine-Budde
0 siblings, 0 replies; 9+ messages in thread
From: Marc Kleine-Budde @ 2023-07-24 8:24 UTC (permalink / raw)
To: Jiaqing Zhao
Cc: Wolfgang Grandegger, Gerhard Uttenthaler, support,
Andy Shevchenko, linux-can, linux-pci, linux-kernel,
Bjorn Helgaas
[-- Attachment #1: Type: text/plain, Size: 1203 bytes --]
On 24.07.2023 14:39:58, Jiaqing Zhao wrote:
>
>
> On 2023-07-20 18:40, Marc Kleine-Budde wrote:
> > On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
> >> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
> >> Controller to pci_ids.h for its serial and parallel port driver
> >> support in subsequent patches.
> >
> > Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
> > the other patches depend on. How to coordinate among the subsystems?
> >
> > I don't mind taking the entire (v1) series with the Acks from the
> > tty/serial and parport maintainers, or give my Acked-by to upstream
> > via their trees.
>
> Since in ems_pci there are only definition changes, I think having your
> Acked-by and upstream via the serial/parallel tree might be better.
Fine with me. Please add my:
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
to the patches 1 and 2.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-20 14:54 ` Jiaqing Zhao
@ 2023-07-26 11:38 ` Greg Kroah-Hartman
2023-07-26 11:47 ` Marc Kleine-Budde
0 siblings, 1 reply; 9+ messages in thread
From: Greg Kroah-Hartman @ 2023-07-26 11:38 UTC (permalink / raw)
To: Jiaqing Zhao
Cc: Marc Kleine-Budde, Sudip Mukherjee, Wolfgang Grandegger,
Gerhard Uttenthaler, support, Andy Shevchenko, linux-can,
linux-pci, linux-kernel, Bjorn Helgaas
On Thu, Jul 20, 2023 at 10:54:01PM +0800, Jiaqing Zhao wrote:
> On 2023-07-20 18:40, Marc Kleine-Budde wrote:
> > On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
> >> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
> >> Controller to pci_ids.h for its serial and parallel port driver
> >> support in subsequent patches.
> >
> > Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
> > the other patches depend on. How to coordinate among the subsystems?
> >
> > I don't mind taking the entire (v1) series with the Acks from the
> > tty/serial and parport maintainers, or give my Acked-by to upstream
> > via their trees.
>
> Add tty and parport maintainers to this thread.
>
> I'd like to ask other maintainers' opinion as I'm not sure which option
> is better and I had no similar experience before.
Either is fine with me, I can just take them all through my tty tree as
that's simplest for me :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h
2023-07-26 11:38 ` Greg Kroah-Hartman
@ 2023-07-26 11:47 ` Marc Kleine-Budde
0 siblings, 0 replies; 9+ messages in thread
From: Marc Kleine-Budde @ 2023-07-26 11:47 UTC (permalink / raw)
To: Greg Kroah-Hartman
Cc: Jiaqing Zhao, Sudip Mukherjee, Wolfgang Grandegger,
Gerhard Uttenthaler, support, Andy Shevchenko, linux-can,
linux-pci, linux-kernel, Bjorn Helgaas
[-- Attachment #1: Type: text/plain, Size: 1390 bytes --]
On 26.07.2023 13:38:22, Greg Kroah-Hartman wrote:
> On Thu, Jul 20, 2023 at 10:54:01PM +0800, Jiaqing Zhao wrote:
> > On 2023-07-20 18:40, Marc Kleine-Budde wrote:
> > > On 20.07.2023 10:28:59, Jiaqing Zhao wrote:
> > >> Move PCI Vendor and Device ID of ASIX AX99100 PCIe to Multi I/O
> > >> Controller to pci_ids.h for its serial and parallel port driver
> > >> support in subsequent patches.
> > >
> > > Sorry, I haven't noticed the change in "include/linux/pci_ids.h", that
> > > the other patches depend on. How to coordinate among the subsystems?
> > >
> > > I don't mind taking the entire (v1) series with the Acks from the
> > > tty/serial and parport maintainers, or give my Acked-by to upstream
> > > via their trees.
> >
> > Add tty and parport maintainers to this thread.
> >
> > I'd like to ask other maintainers' opinion as I'm not sure which option
> > is better and I had no similar experience before.
>
> Either is fine with me, I can just take them all through my tty tree as
> that's simplest for me :)
Go ahead!
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2023-07-26 11:48 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-20 10:28 [PATCH v2 0/2] can: ems_pci: refine PCI IDs for ASIX AX99100 Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 1/2] can: ems_pci: remove PCI_SUBVENDOR_ID_ASIX definition Jiaqing Zhao
2023-07-20 10:28 ` [PATCH v2 2/2] can: ems_pci: move ASIX AX99100 ids to pci_ids.h Jiaqing Zhao
2023-07-20 10:40 ` Marc Kleine-Budde
2023-07-20 14:54 ` Jiaqing Zhao
2023-07-26 11:38 ` Greg Kroah-Hartman
2023-07-26 11:47 ` Marc Kleine-Budde
2023-07-24 6:39 ` Jiaqing Zhao
2023-07-24 8:24 ` Marc Kleine-Budde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).