Re: [PATCH] Add common PCIE capability list

2020-09-07 Thread Mark Kettenis
> Date: Mon, 7 Sep 2020 13:33:14 -0500 > From: Jordan Hargrave > > Attaching the full diff ok kettenis@ > On Mon, Sep 07, 2020 at 01:09:12PM -0500, Jordan Hargrave wrote: > > On Thu, Sep 03, 2020 at 08:37:56PM +0200, Mark Kettenis wrote: > > > > Date: Wed, 2 Sep 2020 15:19:55 +1000 > > > > From

Re: [PATCH] Add common PCIE capability list

2020-09-07 Thread Jordan Hargrave
Attaching the full diff On Mon, Sep 07, 2020 at 01:09:12PM -0500, Jordan Hargrave wrote: > On Thu, Sep 03, 2020 at 08:37:56PM +0200, Mark Kettenis wrote: > > > Date: Wed, 2 Sep 2020 15:19:55 +1000 > > > From: Jonathan Gray > > > > > > On Tue, Sep 01, 2020 at 11:44:03PM -0500, Jordan Hargrave w

Re: [PATCH] Add common PCIE capability list

2020-09-07 Thread Jordan Hargrave
On Thu, Sep 03, 2020 at 08:37:56PM +0200, Mark Kettenis wrote: > > Date: Wed, 2 Sep 2020 15:19:55 +1000 > > From: Jonathan Gray > > > > On Tue, Sep 01, 2020 at 11:44:03PM -0500, Jordan Hargrave wrote: > > > This patch adds a common function for scanning PCIE Express Capability > > > list > > > T

Re: [PATCH] Add common PCIE capability list

2020-09-03 Thread Mark Kettenis
> Date: Wed, 2 Sep 2020 15:19:55 +1000 > From: Jonathan Gray > > On Tue, Sep 01, 2020 at 11:44:03PM -0500, Jordan Hargrave wrote: > > This patch adds a common function for scanning PCIE Express Capability list > > The PCIE Capability list starts at 0x100 in extended PCI configuration > > space.

Re: [PATCH] Add common PCIE capability list

2020-09-02 Thread Jordan Hargrave
On Wed, Sep 02, 2020 at 03:19:55PM +1000, Jonathan Gray wrote: > On Tue, Sep 01, 2020 at 11:44:03PM -0500, Jordan Hargrave wrote: > > This patch adds a common function for scanning PCIE Express Capability list > > The PCIE Capability list starts at 0x100 in extended PCI configuration > > space. >

Re: [PATCH] Add common PCIE capability list

2020-09-01 Thread Jonathan Gray
On Tue, Sep 01, 2020 at 11:44:03PM -0500, Jordan Hargrave wrote: > This patch adds a common function for scanning PCIE Express Capability list > The PCIE Capability list starts at 0x100 in extended PCI configuration space. This seems to only handle extended capabilities? Something like pcie_get_ex

[PATCH] Add common PCIE capability list

2020-09-01 Thread Jordan Hargrave
This patch adds a common function for scanning PCIE Express Capability list The PCIE Capability list starts at 0x100 in extended PCI configuration space. --- sys/dev/pci/pci.c| 28 sys/dev/pci/pcivar.h | 2 ++ 2 files changed, 30 insertions(+) diff --git a/sys/d