public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Network drivers with direct io memory accesses
@ 2008-05-15  0:10 Greg KH
  2008-05-15  0:13 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2008-05-15  0:10 UTC (permalink / raw)
  To: netdev

Hi all,

I'm currently sitting on two network drivers:
 Alacritech gigabit driver that supports 3 different classes of cards:
  http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ldp/net-add-alacritech-slicoss-driver.patch

 ET1310 network driver
  http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/ldp/net-add-et131x-driver.patch

Both of these drivers are accessing memory on the devices directly,
without using the proper kernel abstractions for it, making them usable
only on x86-based boxes probably.

My question is, does this have to be fixed in order to get them
accepted into the tree?  It's going to be a very big effort to fix them
up from what I can tell.  I don't mind, it's just going to take a while,
and I'm wondering if people want to use these drivers sooner than the
month or so it's going to take me (at the least.)

Yes, I know the Alacritech driver still has the firmware in the patch
itself, that will be moved out, I know, and there are probably other
minor issues left to clean up in each of these drivers, that's not the
point here...

Any thoughts?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network drivers with direct io memory accesses
  2008-05-15  0:10 Network drivers with direct io memory accesses Greg KH
@ 2008-05-15  0:13 ` David Miller
  2008-05-15  0:28   ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: David Miller @ 2008-05-15  0:13 UTC (permalink / raw)
  To: greg; +Cc: netdev

From: Greg KH <greg@kroah.com>
Date: Wed, 14 May 2008 17:10:44 -0700

> Both of these drivers are accessing memory on the devices directly,
> without using the proper kernel abstractions for it, making them usable
> only on x86-based boxes probably.
> 
> My question is, does this have to be fixed in order to get them
> accepted into the tree?

I'd say yes.

If that aspect isn't fixed I can't even build test them on my
computers.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network drivers with direct io memory accesses
  2008-05-15  0:13 ` David Miller
@ 2008-05-15  0:28   ` Greg KH
  2008-05-20 18:33     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2008-05-15  0:28 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Wed, May 14, 2008 at 05:13:15PM -0700, David Miller wrote:
> From: Greg KH <greg@kroah.com>
> Date: Wed, 14 May 2008 17:10:44 -0700
> 
> > Both of these drivers are accessing memory on the devices directly,
> > without using the proper kernel abstractions for it, making them usable
> > only on x86-based boxes probably.
> > 
> > My question is, does this have to be fixed in order to get them
> > accepted into the tree?
> 
> I'd say yes.

{sigh}

I figured that, but thought it would be worth it to at least ask. :)

> If that aspect isn't fixed I can't even build test them on my
> computers.

Hm, why?  They should still build I would think, just not run properly,
right?

Damm, I really gotta get that cross-build system set up here, I'll go
start that right now...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network drivers with direct io memory accesses
  2008-05-15  0:28   ` Greg KH
@ 2008-05-20 18:33     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2008-05-20 18:33 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Wed, May 14, 2008 at 05:28:24PM -0700, Greg KH wrote:
> On Wed, May 14, 2008 at 05:13:15PM -0700, David Miller wrote:
> > From: Greg KH <greg@kroah.com>
> > Date: Wed, 14 May 2008 17:10:44 -0700
> > 
> > > Both of these drivers are accessing memory on the devices directly,
> > > without using the proper kernel abstractions for it, making them usable
> > > only on x86-based boxes probably.
> > > 
> > > My question is, does this have to be fixed in order to get them
> > > accepted into the tree?
> > 
> > I'd say yes.
> 
> {sigh}
> 
> I figured that, but thought it would be worth it to at least ask. :)
> 
> > If that aspect isn't fixed I can't even build test them on my
> > computers.
> 
> Hm, why?  They should still build I would think, just not run properly,
> right?
> 
> Damm, I really gotta get that cross-build system set up here, I'll go
> start that right now...

Ok, I did this, and I don't see any build errors or warnings on sparc64.
Maybe the code isn't as bad as I imagined, I'll go through it all and
submit it for review.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-20 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15  0:10 Network drivers with direct io memory accesses Greg KH
2008-05-15  0:13 ` David Miller
2008-05-15  0:28   ` Greg KH
2008-05-20 18:33     ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox