Re: [PATCH] 2.6 driver for Silan SC92031 (second try)

From: Andrew Morton
Date: Sat Dec 09 2006 - 01:01:53 EST


On Fri, 08 Dec 2006 18:17:06 -0200
Cesar Eduardo Barros <cesarb@xxxxxxxxxx> wrote:

> From: Cesar Eduardo Barros <cesarb@xxxxxxxxxx>
>
> This is a driver for the Silan SC92031/Rsltek 8139D NIC chip.
>
> ...

> +config SC92031
> + depends on NET_PCI && PCI && EXPERIMENTAL
> + select CRC32
>
> ...
>
> + } while(unlikely(cmpxchg(&priv->intr_status,

You'll have the arm maintainer after you with a pointy stick.

cmpxchg is only available on certain architectures. It would be acceptable
to make this driver depend on X86 (or something). Better to rewrite this
code so it doesn't use cmpxchg.
-
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/