]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
smc911x: Add IRQ polarity configuration
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 20 Oct 2008 17:15:30 +0000 (18:15 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 22 Oct 2008 11:00:38 +0000 (07:00 -0400)
commit319edafef64406c971035c56bd68480e5a82b581
treebef9d87129f0ee70ab3df01d7c21bcd7736eca32
parentbd2c4972fff2d621383bc2c3389a7b1ac7eca8f1
smc911x: Add IRQ polarity configuration

Platforms like ARM Ltd's RealView require the IRQ polarity bit to be set
for the SMC9118 chip. This patch allows the dynamic configuration via
the smc911x_platdata structure.

This patch also changes the smc91x_platdata structure name to the
correct smc911x_platdata in the smc911x_drv_probe() function.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/smc911x.c
include/linux/smc911x.h