[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZRvPTa5L35ui9/q1@moxa-ThinkCentre-M90t>
Date: Tue, 3 Oct 2023 16:22:37 +0800
From: Crescent CY Hsieh <crescentcy.hsieh@...a.com>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org
Subject: Re: [PATCH 3/4] tty: serial: 8250: Fix MOXA RS422/RS485 PCIe boards
not work by default
On Mon, Oct 02, 2023 at 09:14:32AM +0200, Jiri Slaby wrote:
> On 02. 10. 23, 3:57, Crescent CY Hsieh wrote:
> > static int pci_moxa_init(struct pci_dev *dev)
> > {
> > unsigned short device = dev->device;
> > unsigned long iobar_addr = pci_resource_start(dev, 2);
> > + int i;
>
> unsigned
>
> > int num_ports = (device & 0x00F0) >> 4;
>
> And this one too (in the previous patch).
Sorry, I am not sure I get your meaning, could you explain to me?
---
Sincerely,
Crescent CY Hsieh
Powered by blists - more mailing lists