Skip to contentSkip to conversation

Network drivers with direct io memory accesses

DISCUSSION Greg KH 2 participants 4 messages May 15, 2008 – May 20, 2008

Subsystems (2)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

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

maintainer
#1 lore raw

From: Greg KH <[email protected]>
Date: Wed, 14 May 2008 17:10:44 -0700

Quoted 6 lines

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.

author
#2 lore raw
Quoted 11 lines · David Miller

From: Greg KH <[email protected]>
Date: Wed, 14 May 2008 17:10:44 -0700

Quoted 6 lines

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. :)

Quoted 2 lines

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

author
#3 lore raw
Quoted 17 lines · Greg KH
Quoted 11 lines · David Miller

From: Greg KH <[email protected]>
Date: Wed, 14 May 2008 17:10:44 -0700

Quoted 6 lines

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. :)

Quoted 8 lines
Quoted 2 lines

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