Re: [CFT] dmfe.c network driver update for 2.4

From: Tobias Ringstrom (tori@tellus.mine.nu)
Date: Fri Nov 17 2000 - 04:20:35 EST


On Thu, 16 Nov 2000, Jeff Garzik wrote:

> The kernel driver APIs are designed so that SMP and UP cases are equally
> high-performance, and portable beyond the x86 platform.
>
> Pretty much all ISA and PCI drivers need to be portable and SMP safe...
> if not so, it's a bug. That said, there is certainly more motivation to
> make a popular PCI driver is SMP safe than an older ISA driver. And
> portability is [IMHO] less of a priority than SMP safety, though it
> depends on the hardware being supported.

How about adding an ifdef CONFIG_SMP then print ugly warning to all known
SMP unsafe drivers? A message could be printed booth at compile and load
time.

/Tobias

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



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:12 EST