Wolfram Sang
74ff60b29e
net/can/mscan: replace hardcoded values with defines
...
Not all hardcoded values have been replaced as this made the code quite
unreadable. IMHO this compromise serves the purpose of readability.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-11-17 03:54:04 -08:00
Wolfram Sang
1712fe5941
net/can/mscan: fix function annotations
...
- use extern where apropriate
- don't export symbols
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-11-17 03:54:02 -08:00
Wolfram Sang
622ed7e9cf
net/can/mscan: move defines into .h file
...
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-11-17 03:53:59 -08:00
Wolfram Sang
afa17a500a
net/can: add driver for mscan family & mpc52xx_mscan
...
Taken from socketcan-svn, fixed remaining todos, cleaned up, tested with a
phyCORE-MPC5200B-IO and a custom board.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de >
Cc: Wolfgang Grandegger <wg@grandegger.com >
Cc: Grant Likely <grant.likely@secretlab.ca >
Cc: David Miller <davem@davemloft.net >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-11-13 20:47:03 -08:00