NatSemi SCx200 patches for Linux-2.5

From: Christer Weinigel (christer@weinigel.se)
Date: Mon Sep 30 2002 - 06:23:31 EST


Hi,

This patch adds support for the National Semiconductor SCx200
processor to Linux 2.5 (as of the BK tree yesterday). If it looks
good, please apply to the 2.5 kernel.

The patch consists of the following drivers:

arch/i386/kernel/scx200.c -- give kernel access to the GPIO pins

drivers/chars/scx200_gpio.c -- give userspace access to the GPIO pins
drivers/chars/scx200_wdt.c -- watchdog timer driver

drivers/i2c/scx200_i2c.c -- use any two GPIO pins as an I2C bus
drivers/i2c/scx200_acb.c -- driver for the Access.BUS hardware

drivers/mtd/maps/scx200_docflash.c -- driver for a CFI flash connected
                                      to the DOCCS pin

How can I guarantee that the driver scx200.c is initialized before any
other drivers that use the scx200_gpio functions (e.g. scx200_i2c.c)?
I have put scx200.c in in arch/i386/kernel in the hope that this
directory will always be initialized before anything else, but is this
really true?

  /Christer




-- 
"Just how much can I get away with and still go to heaven?"

Freelance consultant specializing in device driver programming for Linux Christer Weinigel <christer@weinigel.se> http://www.weinigel.se

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



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:44 EST