Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: Fix build warnings

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Marc Kleine-Budde
Date: Tuesday, November 9, 2010 - 5:59 am

On 11/09/2010 01:26 PM, Tomoya MORINAGA wrote:

As far as I understand the datasheet the access to IF1 and IF2 is
completely independent. Why do you lock here?

[...]


Sorry - netdev_dbg() is easier to use, its first argument is the
netdevice, while dev_dbg needs a device and that's deeply hidden in the
netdevice.

[...]


Looping busy it not an option here.


Nope - please remove the waiting completely and convert your flow
control to netif_stop_queue/netif_wake_queue.

cheers, 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   |
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Marc Kleine-Budde, (Tue Nov 9, 5:59 am)
Re: [PATCH net-next-2.6 v2] can: Topcliff: PCH_CAN driver: ..., Marc Kleine-Budde, (Thu Nov 11, 3:04 am)