lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 11 Dec 2009 11:00:31 +0100 From: Wolfgang Grandegger <wg@...ndegger.com> To: Barry Song <21cnbao@...il.com> CC: davem@...emloft.net, socketcan-core@...ts.berlios.de, uclinux-dist-devel@...ckfin.uclinux.org, netdev@...r.kernel.org, "H.J. Oertel" <oe@...t.de> Subject: Re: [PATCH v4] add the driver for Analog Devices Blackfin on-chip CAN controllers Barry Song wrote: > Signed-off-by: Barry Song <21cnbao@...il.com> > Signed-off-by: H.J. Oertel <oe@...t.de> > --- > -v4: > 1. request and release interrupts in open/close instead of in module load/unload > 2. use bfin_read16/write16 instead of common readw/writew > 3. fix "line over 80 characters" checkpatch warning > 4. fix other coding style issues required by Wolfgang Grandegger David, here is my Signed-off-by: Wolfgang Grandegger <wg@...ndegger.de> for this driver. There is just some minor issue with the copyright below. IIRC, the merge window is still open. It would be nice if this driver gets accepted for 2.6.33 already. Thanks. > drivers/net/can/Kconfig | 9 + > drivers/net/can/Makefile | 1 + > drivers/net/can/bfin_can.c | 783 ++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 793 insertions(+), 0 deletions(-) > create mode 100644 drivers/net/can/bfin_can.c > > diff --git a/drivers/net/can/Kconfig b/drivers/net/can/Kconfig > index bb803fa..8c485aa 100644 > --- a/drivers/net/can/Kconfig > +++ b/drivers/net/can/Kconfig > @@ -54,6 +54,15 @@ config CAN_MCP251X > ---help--- > Driver for the Microchip MCP251x SPI CAN controllers. > > +config CAN_BFIN > + depends on CAN_DEV && (BF534 || BF536 || BF537 || BF538 || BF539 || BF54x) > + tristate "Analog Devices Blackfin on-chip CAN" > + ---help--- > + Driver for the Analog Devices Blackfin on-chip CAN controllers > + > + To compile this driver as a module, choose M here: the > + module will be called bfin_can. > + > source "drivers/net/can/mscan/Kconfig" > > source "drivers/net/can/sja1000/Kconfig" > diff --git a/drivers/net/can/Makefile b/drivers/net/can/Makefile > index 56899fe..7a702f2 100644 > --- a/drivers/net/can/Makefile > +++ b/drivers/net/can/Makefile > @@ -14,5 +14,6 @@ obj-$(CONFIG_CAN_MSCAN) += mscan/ > obj-$(CONFIG_CAN_AT91) += at91_can.o > obj-$(CONFIG_CAN_TI_HECC) += ti_hecc.o > obj-$(CONFIG_CAN_MCP251X) += mcp251x.o > +obj-$(CONFIG_CAN_BFIN) += bfin_can.o > > ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG > diff --git a/drivers/net/can/bfin_can.c b/drivers/net/can/bfin_can.c > new file mode 100644 > index 0000000..c7fc1de > --- /dev/null > +++ b/drivers/net/can/bfin_can.c > @@ -0,0 +1,783 @@ > +/* > + * Blackfin On-Chip CAN Driver > + * > + * Copyright 2004-2009 Analog Devices Inc. > + * > + * Enter bugs at http://blackfin.uclinux.org/ > + * > + * Licensed under the GPL-2 or later. > + */ David, is this a legal (acceptable) copyright note or is the usual "GPL-2 or later" text required. Barry, thanks for your contribution. Wolfgang. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists