[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F0D58AE.7070601@pengutronix.de>
Date: Wed, 11 Jan 2012 10:38:54 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: info@...ax.com
CC: Wolfgang Grandegger <wg@...ndegger.com>,
David Laight <David.Laight@...LAB.COM>,
Oliver Hartkopp <socketcan@...tkopp.net>, henrik@...conx.com,
netdev@...r.kernel.org, linux-can@...r.kernel.org,
socketcan-users@...ts.berlios.de, IreneV <boir1@...dex.ru>,
Stanislav Yelenskiy <stanislavelensky@...oo.com>, oe@...t.de,
henrik@...us-sw.com
Subject: Re: [PATCH net-next v2 2/4] can: cc770: add legacy ISA bus driver
for the CC770 and AN82527
Hello,
On 01/11/2012 10:00 AM, Wolfgang Zarre wrote:
>>> Please provide an extra patch for these unrelated changes. If we really
>>> want to remove it.
>>>
>>
>> Sure, this I can do.
>>
>
> Ok, here the patch to remove:
Looks good, please add a patch description and put in a patch series
together with the spinlock patch (see other mail).
Marc
> --------------------------------------------------------
> diff --git a/drivers/net/can/cc770/cc770.c b/drivers/net/can/cc770/cc770.c
> index 2d12f89..dad6707 100644
> --- a/drivers/net/can/cc770/cc770.c
> +++ b/drivers/net/can/cc770/cc770.c
> @@ -460,15 +460,6 @@ static netdev_tx_t cc770_start_xmit(struct sk_buff
> *skb, struct net_device *dev)
>
> stats->tx_bytes += dlc;
>
> -
> - /*
> - * HM: We had some cases of repeated IRQs so make sure the
> - * INT is acknowledged I know it's already further up, but
> - * doing again fixed the issue
> - */
> - cc770_write_reg(priv, msgobj[mo].ctrl0,
> - MSGVAL_UNC | TXIE_UNC | RXIE_UNC | INTPND_RES);
> -
> return NETDEV_TX_OK;
> }
>
> @@ -689,12 +680,6 @@ static void cc770_tx_interrupt(struct net_device
> *dev, unsigned int o)
> /* Nothing more to send, switch off interrupts */
> cc770_write_reg(priv, msgobj[mo].ctrl0,
> MSGVAL_RES | TXIE_RES | RXIE_RES | INTPND_RES);
> - /*
> - * We had some cases of repeated IRQ so make sure the
> - * INT is acknowledged
> - */
> - cc770_write_reg(priv, msgobj[mo].ctrl0,
> - MSGVAL_UNC | TXIE_UNC | RXIE_UNC | INTPND_RES);
>
> stats->tx_packets++;
> can_get_echo_skb(dev, 0);
> ----------------------------------------------------------
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
Download attachment "signature.asc" of type "application/pgp-signature" (263 bytes)
Powered by blists - more mailing lists