Re: Loading drivers via kldload

2011-08-16 Thread Andriy Gapon
on 16/08/2011 22:09 John Baldwin said the following: > On Tuesday, August 16, 2011 12:26:11 pm Andriy Gapon wrote: >> >> The following are pure speculations, I'd rather let David speak, but just in >> case; >> >> on 16/08/2011 18:45 John Baldwin said the following: >>> Well, that would seem odd, s

Re: Loading drivers via kldload

2011-08-16 Thread John Baldwin
On Tuesday, August 16, 2011 12:26:11 pm Andriy Gapon wrote: > > The following are pure speculations, I'd rather let David speak, but just in > case; > > on 16/08/2011 18:45 John Baldwin said the following: > > Well, that would seem odd, still. It only returns BUS_PROBE_GENERIC (not > > 0), so

RE: Loading drivers via kldload

2011-08-16 Thread David Somayajulu
Please see below. -david S. -Original Message- From: Andriy Gapon [mailto:a...@freebsd.org] Sent: Tuesday, August 16, 2011 9:26 AM To: John Baldwin Cc: David Somayajulu; freebsd-current@freebsd.org Subject: Re: Loading drivers via kldload The following are pure speculations, I'd r

Re: Loading drivers via kldload

2011-08-16 Thread Andriy Gapon
The following are pure speculations, I'd rather let David speak, but just in case; on 16/08/2011 18:45 John Baldwin said the following: > Well, that would seem odd, still. It only returns BUS_PROBE_GENERIC (not 0), > so > David's driver's probe routine should still be called to get a chance to

Re: Loading drivers via kldload

2011-08-16 Thread John Baldwin
On Monday, August 15, 2011 9:06:34 am Andriy Gapon wrote: > on 13/08/2011 00:20 David Somayajulu said the following: > > This is pretty bizarre. I have been experimenting with a very simple driver > > (see source below) which essentially checks the PCI vendor and Device ID's > > in > > the probe r

Re: Loading drivers via kldload

2011-08-15 Thread Andriy Gapon
on 13/08/2011 00:20 David Somayajulu said the following: > This is pretty bizarre. I have been experimenting with a very simple driver > (see source below) which essentially checks the PCI vendor and Device ID's in > the probe routine. The attach and detach are empty functions. When I run > kldload

RE: Loading drivers via kldload

2011-08-12 Thread David Somayajulu
ailto:s...@freebsd.org] Sent: Thursday, August 11, 2011 11:48 PM To: David Somayajulu Cc: freebsd-current@freebsd.org Subject: Re: Loading drivers via kldload On Thu, 11 Aug 2011 17:08:30 -0700 David Somayajulu mentioned: > Hi All, > While loading PCIe based HBA drivers via kldload, doe

Re: Loading drivers via kldload

2011-08-11 Thread Stanislav Sedov
On Thu, 11 Aug 2011 17:08:30 -0700 David Somayajulu mentioned: > Hi All, > While loading PCIe based HBA drivers via kldload, does FreeBSD expect a valid > (i.e., non-zero) PCI subsystem Vendor and Device IDs? > It depends on the specific driver. FreeBSD doesn't check for the PCI ID in genera