Merge branch 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
This commit is contained in:
@@ -37,8 +37,6 @@
|
||||
#include <linux/cycx_x25.h>
|
||||
#endif
|
||||
|
||||
#define is_digit(ch) (((ch)>=(unsigned)'0'&&(ch)<=(unsigned)'9')?1:0)
|
||||
|
||||
/* Adapter Data Space.
|
||||
* This structure is needed because we handle multiple cards, otherwise
|
||||
* static data would do it.
|
||||
|
@@ -60,6 +60,5 @@ extern int cycx_peek(struct cycx_hw *hw, u32 addr, void *buf, u32 len);
|
||||
extern int cycx_poke(struct cycx_hw *hw, u32 addr, void *buf, u32 len);
|
||||
extern int cycx_exec(void __iomem *addr);
|
||||
|
||||
extern void cycx_inten(struct cycx_hw *hw);
|
||||
extern void cycx_intr(struct cycx_hw *hw);
|
||||
#endif /* _CYCX_DRV_H */
|
||||
|
@@ -7,8 +7,8 @@
|
||||
/* ported to the Alpha architecture 02/20/96 (just used the HZ macro) */
|
||||
|
||||
#define TR_RETRY_INTERVAL (30*HZ) /* 500 on PC = 5 s */
|
||||
#define TR_RST_TIME (HZ/20) /* 5 on PC = 50 ms */
|
||||
#define TR_BUSY_INTERVAL (HZ/5) /* 5 on PC = 200 ms */
|
||||
#define TR_RST_TIME (msecs_to_jiffies(50)) /* 5 on PC = 50 ms */
|
||||
#define TR_BUSY_INTERVAL (msecs_to_jiffies(200)) /* 5 on PC = 200 ms */
|
||||
#define TR_SPIN_INTERVAL (3*HZ) /* 3 seconds before init timeout */
|
||||
|
||||
#define TR_ISA 1
|
||||
|
@@ -84,6 +84,7 @@
|
||||
#define ARPHRD_IEEE802_TR 800 /* Magic type ident for TR */
|
||||
#define ARPHRD_IEEE80211 801 /* IEEE 802.11 */
|
||||
#define ARPHRD_IEEE80211_PRISM 802 /* IEEE 802.11 + Prism2 header */
|
||||
#define ARPHRD_IEEE80211_RADIOTAP 803 /* IEEE 802.11 + radiotap header */
|
||||
|
||||
#define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */
|
||||
#define ARPHRD_NONE 0xFFFE /* zero header length */
|
||||
|
@@ -158,6 +158,7 @@ extern int mii_link_ok (struct mii_if_info *mii);
|
||||
extern int mii_nway_restart (struct mii_if_info *mii);
|
||||
extern int mii_ethtool_gset(struct mii_if_info *mii, struct ethtool_cmd *ecmd);
|
||||
extern int mii_ethtool_sset(struct mii_if_info *mii, struct ethtool_cmd *ecmd);
|
||||
extern int mii_check_gmii_support(struct mii_if_info *mii);
|
||||
extern void mii_check_link (struct mii_if_info *mii);
|
||||
extern unsigned int mii_check_media (struct mii_if_info *mii,
|
||||
unsigned int ok_to_print,
|
||||
|
@@ -873,11 +873,9 @@ static inline void netif_rx_complete(struct net_device *dev)
|
||||
|
||||
static inline void netif_poll_disable(struct net_device *dev)
|
||||
{
|
||||
while (test_and_set_bit(__LINK_STATE_RX_SCHED, &dev->state)) {
|
||||
while (test_and_set_bit(__LINK_STATE_RX_SCHED, &dev->state))
|
||||
/* No hurry. */
|
||||
current->state = TASK_INTERRUPTIBLE;
|
||||
schedule_timeout(1);
|
||||
}
|
||||
schedule_timeout_interruptible(1);
|
||||
}
|
||||
|
||||
static inline void netif_poll_enable(struct net_device *dev)
|
||||
|
@@ -52,12 +52,8 @@ typedef struct sdlahw
|
||||
|
||||
extern int sdla_setup (sdlahw_t* hw, void* sfm, unsigned len);
|
||||
extern int sdla_down (sdlahw_t* hw);
|
||||
extern int sdla_inten (sdlahw_t* hw);
|
||||
extern int sdla_intde (sdlahw_t* hw);
|
||||
extern int sdla_intack (sdlahw_t* hw);
|
||||
extern void S514_intack (sdlahw_t* hw, u32 int_status);
|
||||
extern void read_S514_int_stat (sdlahw_t* hw, u32* int_status);
|
||||
extern int sdla_intr (sdlahw_t* hw);
|
||||
extern int sdla_mapmem (sdlahw_t* hw, unsigned long addr);
|
||||
extern int sdla_peek (sdlahw_t* hw, unsigned long addr, void* buf,
|
||||
unsigned len);
|
||||
|
@@ -265,15 +265,6 @@ typedef struct {
|
||||
#include <linux/tty_driver.h>
|
||||
#include <linux/tty_flip.h>
|
||||
|
||||
|
||||
#define is_digit(ch) (((ch)>=(unsigned)'0'&&(ch)<=(unsigned)'9')?1:0)
|
||||
#define is_alpha(ch) ((((ch)>=(unsigned)'a'&&(ch)<=(unsigned)'z')||\
|
||||
((ch)>=(unsigned)'A'&&(ch)<=(unsigned)'Z'))?1:0)
|
||||
#define is_hex_digit(ch) ((((ch)>=(unsigned)'0'&&(ch)<=(unsigned)'9')||\
|
||||
((ch)>=(unsigned)'a'&&(ch)<=(unsigned)'f')||\
|
||||
((ch)>=(unsigned)'A'&&(ch)<=(unsigned)'F'))?1:0)
|
||||
|
||||
|
||||
/****** Data Structures *****************************************************/
|
||||
|
||||
/* Adapter Data Space.
|
||||
|
Reference in New Issue
Block a user