Re: [openib-general] Re: [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17



On Fri, 2006-03-24 at 13:19 -0800, Roland Dreier wrote:

Having #ifdef CONFIG_NET all over is definitely suboptimal.
Unfortunately it looks kind of hard to untangle your skb use from the
rest of the driver, so putting a dependency on NET might be the best bet.

I don't think it will be that bad, actually. I'll see how it works to
just move skb-based code into a single source file and build it iff
CONFIG_NET.

How are you building on powerpc?

I have a hack that lets me compile-test, which I used to make sure I was
getting sparse annotations and header inclusions into decent shape.

Anyway building an ia64 cross toolchain is easy with http://kegel.com/crosstool

I'll take a look.

I would just get rid of your atomic_clear_mask() and atomic_set_mask()
calls. They're bogus because you're not even operating on an
atomic_t, and not many architectures implement them.

They're not obviously defined to operate on atomic_t objects, but what
you say makes sense. I guess that's a peril of using macros for that
stuff.

Bryan> I've been building with C=1 for months. I'll see if I can
Bryan> figure out why you're getting such different results.

It's probably because I use CF=-D__CHECK_ENDIAN__ too.

Ah.

The whole duplicated SMA / ipath_verbs doesn't work without ib_mad loaded.

There is no duplicated SMA code. There are two routines in ipathfs that
handle nodeinfo and portinfo structures, but they're for passing them to
userspace; they don't even really resemble the code in ipath_mad.c.

Regarding "ipath_verbs doesn't work without ib_mad loaded", I don't know
that there's a problem there any more. We took out the use of
ib_register_mad_agent to create an automatic dependency that depmod
would find, and we're just recommending mangling modprobe.conf instead
for now.

- Andrew raised some questions about the special "pick a device for
me" that I'm not sure we satisfied him on.

That's possible. Andrew, what's your opinion on that?

It looks like ipath_copy.c is completely unused now that you're not
including the ipath_ether driver.

That's true; sorry about that. Do you want me to send you a patch that
drops it and pulls it out of headers and kbuild stuff?

<b

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] MMC/SD host driver for Ricoh Bay1Controllers
    ... if this driver should be doing ... Is the dependency on YENTA correct? ... Is the controller only capable of 512 byte transfers? ... single known controller that looks at opcodes. ...
    (Linux-Kernel)
  • Re: dual boot - Nvidia device driver
    ... Group Dependency, or Build Order Dependency, or Resources. ... Now on to the DVD/CD driver - then try to install my applicaton. ... >>> This is the reason I always prefer componentization rather then manual install of apps and drivers on XPe images. ...
    (microsoft.public.windowsxp.embedded)
  • Re: "can not load the device driver for this hardware - code 39" and "RUN DLL32 EP 25
    ... Hope that you componentize the driver properly. ... Use Dependency Walker to do the check. ... Windows cannot load the device driver for this hardware. ... references an entry point in another binary file that could not be loaded. ...
    (microsoft.public.windowsxp.embedded)
  • [RFC: 2.6 patch] remove the USB_STORAGE_ONETOUCH driver
    ... USB_STORAGE_ONETOUCH got a dependency on!PM. ... Considering that this also implies that the driver is not available ... This patch therefore removes this driver. ... * GNU General Public License for more details. ...
    (Linux-Kernel)
  • Re: Catalog Item Dependencies
    ... dependency mechanisms. ... Sysgen vars and the automatic dependency checks from the IDE parsing ... Or the Driver resolver which parses the bat files as before ...
    (microsoft.public.windowsce.platbuilder)