Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-10-01 Thread Vasu Dev
On Wed, 2009-09-30 at 14:59 -0500, micha...@cs.wisc.edu wrote: - lport = fcoe_if_create(fcoe, netdev-dev, 0); + lport = fcoe_if_create(fcoe, netdev-dev.parent, 0); No ampersand needed here since dev.parent is already a pointer unlink previously used netdev-dev. Vasu

Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-10-01 Thread Mike Christie
On 10/01/2009 12:08 PM, Vasu Dev wrote: On Wed, 2009-09-30 at 14:59 -0500, micha...@cs.wisc.edu wrote: - lport = fcoe_if_create(fcoe,netdev-dev, 0); + lport = fcoe_if_create(fcoe,netdev-dev.parent, 0); No ampersand needed here since dev.parent is already a pointer unlink

Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-10-01 Thread Vasu Dev
On Thu, 2009-10-01 at 14:26 -0500, Mike Christie wrote: On 10/01/2009 12:08 PM, Vasu Dev wrote: On Wed, 2009-09-30 at 14:59 -0500, micha...@cs.wisc.edu wrote: - lport = fcoe_if_create(fcoe,netdev-dev, 0); + lport = fcoe_if_create(fcoe,netdev-dev.parent, 0); No ampersand

Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-10-01 Thread Chris Leech
On Thu, Oct 01, 2009 at 12:26:43PM -0700, Mike Christie wrote: On 10/01/2009 12:08 PM, Vasu Dev wrote: On Wed, 2009-09-30 at 14:59 -0500, micha...@cs.wisc.edu wrote: - lport = fcoe_if_create(fcoe,netdev-dev, 0); + lport = fcoe_if_create(fcoe,netdev-dev.parent, 0); No

[Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-09-30 Thread michaelc
From: Mike Christie micha...@cs.wisc.edu The scsi mid layer will use the scsi_host's parent (or for vports in scsi-misc the first non scsi object) to set the block layer dma limits, so that each request obeys the hardware's restrictions for things like max segment size or segment bounds. fcoe

Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-09-30 Thread Mike Christie
On 09/30/2009 02:59 PM, micha...@cs.wisc.edu wrote: From: Mike Christiemicha...@cs.wisc.edu The scsi mid layer will use the scsi_host's parent (or for vports in scsi-misc the first non scsi object) to set the block layer dma limits, so that each request obeys the hardware's restrictions for

Re: [Open-FCoE] [PATCH 1/1] fcoe: set the scsi host's parent to the pci device

2009-09-30 Thread Joe Eykholt
micha...@cs.wisc.edu wrote: From: Mike Christie micha...@cs.wisc.edu The scsi mid layer will use the scsi_host's parent (or for vports in scsi-misc the first non scsi object) to set the block layer dma limits, so that each request obeys the hardware's restrictions for things like max