提交 6b40aba3 编写于 作者: K Krzysztof Hałasa

WAN: split hd6457x.c into hd64570.c and hd64572.c

Supporting both original SCA and SCA-II in one file was nice at some
point but now it's increasingly painful.
Signed-off-by: NKrzysztof Hałasa <khc@pm.waw.pl>
上级 e245a385
...@@ -113,7 +113,7 @@ static inline void openwin(card_t *card, u8 page) ...@@ -113,7 +113,7 @@ static inline void openwin(card_t *card, u8 page)
} }
#include "hd6457x.c" #include "hd64570.c"
static inline void set_carrier(port_t *port) static inline void set_carrier(port_t *port)
......
此差异已折叠。
...@@ -160,7 +160,7 @@ static __inline__ void openwin(card_t *card, u8 page) ...@@ -160,7 +160,7 @@ static __inline__ void openwin(card_t *card, u8 page)
#include "hd6457x.c" #include "hd64570.c"
......
...@@ -128,7 +128,7 @@ typedef struct card_s { ...@@ -128,7 +128,7 @@ typedef struct card_s {
#define get_port(card, port) ((port) < (card)->n_ports ? \ #define get_port(card, port) ((port) < (card)->n_ports ? \
(&(card)->ports[port]) : (NULL)) (&(card)->ports[port]) : (NULL))
#include "hd6457x.c" #include "hd64572.c"
static void pc300_set_iface(port_t *port) static void pc300_set_iface(port_t *port)
......
...@@ -127,7 +127,7 @@ static inline void new_memcpy_toio(char __iomem *dest, char *src, int length) ...@@ -127,7 +127,7 @@ static inline void new_memcpy_toio(char __iomem *dest, char *src, int length)
#undef memcpy_toio #undef memcpy_toio
#define memcpy_toio new_memcpy_toio #define memcpy_toio new_memcpy_toio
#include "hd6457x.c" #include "hd64572.c"
static void pci200_set_iface(port_t *port) static void pci200_set_iface(port_t *port)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册