Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
be2ac68f
Commit
be2ac68f
authored
Jul 31, 2005
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge head 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
parents
e0b98c79
e064cd7e
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
807 additions
and
459 deletions
+807
-459
Documentation/networking/bonding.txt
Documentation/networking/bonding.txt
+677
-301
drivers/net/hamradio/Kconfig
drivers/net/hamradio/Kconfig
+1
-1
drivers/net/sk98lin/skgeinit.c
drivers/net/sk98lin/skgeinit.c
+1
-1
drivers/net/sk98lin/skxmac2.c
drivers/net/sk98lin/skxmac2.c
+4
-4
drivers/net/skge.c
drivers/net/skge.c
+108
-125
drivers/net/skge.h
drivers/net/skge.h
+15
-26
drivers/net/smc91x.h
drivers/net/smc91x.h
+1
-1
No files found.
Documentation/networking/bonding.txt
View file @
be2ac68f
This diff is collapsed.
Click to expand it.
drivers/net/hamradio/Kconfig
View file @
be2ac68f
...
...
@@ -17,7 +17,7 @@ config MKISS
config 6PACK
tristate "Serial port 6PACK driver"
depends on AX25
&& BROKEN_ON_SMP
depends on AX25
---help---
6pack is a transmission protocol for the data exchange between your
PC and your TNC (the Terminal Node Controller acts as a kind of
...
...
drivers/net/sk98lin/skgeinit.c
View file @
be2ac68f
...
...
@@ -2016,7 +2016,7 @@ SK_IOC IoC) /* IO context */
* we set the PHY to coma mode and switch to D3 power state.
*/
if
(
pAC
->
GIni
.
GIYukonLite
&&
pAC
->
GIni
.
GIChipRev
=
=
CHIP_REV_YU_LITE_A3
)
{
pAC
->
GIni
.
GIChipRev
>
=
CHIP_REV_YU_LITE_A3
)
{
/* for all ports switch PHY to coma mode */
for
(
i
=
0
;
i
<
pAC
->
GIni
.
GIMacsFound
;
i
++
)
{
...
...
drivers/net/sk98lin/skxmac2.c
View file @
be2ac68f
...
...
@@ -1065,7 +1065,7 @@ int Port) /* Port Index (MAC_1 + n) */
/* WA code for COMA mode */
if
(
pAC
->
GIni
.
GIYukonLite
&&
pAC
->
GIni
.
GIChipRev
=
=
CHIP_REV_YU_LITE_A3
)
{
pAC
->
GIni
.
GIChipRev
>
=
CHIP_REV_YU_LITE_A3
)
{
SK_IN32
(
IoC
,
B2_GP_IO
,
&
DWord
);
...
...
@@ -1110,7 +1110,7 @@ int Port) /* Port Index (MAC_1 + n) */
/* WA code for COMA mode */
if
(
pAC
->
GIni
.
GIYukonLite
&&
pAC
->
GIni
.
GIChipRev
=
=
CHIP_REV_YU_LITE_A3
)
{
pAC
->
GIni
.
GIChipRev
>
=
CHIP_REV_YU_LITE_A3
)
{
SK_IN32
(
IoC
,
B2_GP_IO
,
&
DWord
);
...
...
@@ -2126,7 +2126,7 @@ SK_U8 Mode) /* low power mode */
int
Ret
=
0
;
if
(
pAC
->
GIni
.
GIYukonLite
&&
pAC
->
GIni
.
GIChipRev
=
=
CHIP_REV_YU_LITE_A3
)
{
pAC
->
GIni
.
GIChipRev
>
=
CHIP_REV_YU_LITE_A3
)
{
/* save current power mode */
LastMode
=
pAC
->
GIni
.
GP
[
Port
].
PPhyPowerState
;
...
...
@@ -2253,7 +2253,7 @@ int Port) /* Port Index (e.g. MAC_1) */
int
Ret
=
0
;
if
(
pAC
->
GIni
.
GIYukonLite
&&
pAC
->
GIni
.
GIChipRev
=
=
CHIP_REV_YU_LITE_A3
)
{
pAC
->
GIni
.
GIChipRev
>
=
CHIP_REV_YU_LITE_A3
)
{
/* save current power mode */
LastMode
=
pAC
->
GIni
.
GP
[
Port
].
PPhyPowerState
;
...
...
drivers/net/skge.c
View file @
be2ac68f
This diff is collapsed.
Click to expand it.
drivers/net/skge.h
View file @
be2ac68f
...
...
@@ -1449,10 +1449,12 @@ enum {
PHY_M_IS_DTE_CHANGE
=
1
<<
2
,
/* DTE Power Det. Status Changed */
PHY_M_IS_POL_CHANGE
=
1
<<
1
,
/* Polarity Changed */
PHY_M_IS_JABBER
=
1
<<
0
,
/* Jabber */
};
#define PHY_M_DEF_MSK ( PHY_M_IS_AN_ERROR | PHY_M_IS_LSP_CHANGE | \
PHY_M_IS_LST_CHANGE | PHY_M_IS_FIFO_ERROR)
PHY_M_IS_DEF_MSK
=
PHY_M_IS_AN_ERROR
|
PHY_M_IS_LSP_CHANGE
|
PHY_M_IS_LST_CHANGE
|
PHY_M_IS_FIFO_ERROR
,
PHY_M_IS_AN_MSK
=
PHY_M_IS_AN_ERROR
|
PHY_M_IS_AN_COMPL
,
};
/***** PHY_MARV_EXT_CTRL 16 bit r/w Ext. PHY Specific Ctrl *****/
enum
{
...
...
@@ -1509,7 +1511,7 @@ enum {
PHY_M_LEDC_TX_C_MSB
=
1
<<
0
,
/* Tx Control (MSB, 88E1111 only) */
};
#define PHY_M_LED_PULS_DUR(x) (
((x)<<12) & PHY_M_LEDC_PULS_MSK)
#define PHY_M_LED_PULS_DUR(x) (((x)<<12) & PHY_M_LEDC_PULS_MSK)
enum
{
PULS_NO_STR
=
0
,
/* no pulse stretching */
...
...
@@ -1522,7 +1524,7 @@ enum {
PULS_1300MS
=
7
,
/* 1.3 s to 2.7 s */
};
#define PHY_M_LED_BLINK_RT(x) (
((x)<<8) & PHY_M_LEDC_BL_R_MSK)
#define PHY_M_LED_BLINK_RT(x) (((x)<<8) & PHY_M_LEDC_BL_R_MSK)
enum
{
BLINK_42MS
=
0
,
/* 42 ms */
...
...
@@ -1602,9 +1604,9 @@ enum {
PHY_M_FELP_LED0_MSK
=
0xf
,
/* Bit 3.. 0: LED0 Mask (SPEED) */
};
#define PHY_M_FELP_LED2_CTRL(x) (
((x)<<8) & PHY_M_FELP_LED2_MSK)
#define PHY_M_FELP_LED1_CTRL(x) (
((x)<<4) & PHY_M_FELP_LED1_MSK)
#define PHY_M_FELP_LED0_CTRL(x) (
((x)<<0) & PHY_M_FELP_LED0_MSK)
#define PHY_M_FELP_LED2_CTRL(x) (((x)<<8) & PHY_M_FELP_LED2_MSK)
#define PHY_M_FELP_LED1_CTRL(x) (((x)<<4) & PHY_M_FELP_LED1_MSK)
#define PHY_M_FELP_LED0_CTRL(x) (((x)<<0) & PHY_M_FELP_LED0_MSK)
enum
{
LED_PAR_CTRL_COLX
=
0x00
,
...
...
@@ -1640,7 +1642,7 @@ enum {
PHY_M_MAC_MD_COPPER
=
5
,
/* Copper only */
PHY_M_MAC_MD_1000BX
=
7
,
/* 1000Base-X only */
};
#define PHY_M_MAC_MODE_SEL(x) (
((x)<<7) & PHY_M_MAC_MD_MSK)
#define PHY_M_MAC_MODE_SEL(x) (((x)<<7) & PHY_M_MAC_MD_MSK)
/***** PHY_MARV_PHY_CTRL (page 3) 16 bit r/w LED Control Reg. *****/
enum
{
...
...
@@ -1650,10 +1652,10 @@ enum {
PHY_M_LEDC_STA0_MSK
=
0xf
,
/* Bit 3.. 0: STAT0 LED Ctrl. Mask */
};
#define PHY_M_LEDC_LOS_CTRL(x) (
((x)<<12) & PHY_M_LEDC_LOS_MSK)
#define PHY_M_LEDC_INIT_CTRL(x) (
((x)<<8) & PHY_M_LEDC_INIT_MSK)
#define PHY_M_LEDC_STA1_CTRL(x) (
((x)<<4) & PHY_M_LEDC_STA1_MSK)
#define PHY_M_LEDC_STA0_CTRL(x) (
((x)<<0) & PHY_M_LEDC_STA0_MSK)
#define PHY_M_LEDC_LOS_CTRL(x) (((x)<<12) & PHY_M_LEDC_LOS_MSK)
#define PHY_M_LEDC_INIT_CTRL(x) (((x)<<8) & PHY_M_LEDC_INIT_MSK)
#define PHY_M_LEDC_STA1_CTRL(x) (((x)<<4) & PHY_M_LEDC_STA1_MSK)
#define PHY_M_LEDC_STA0_CTRL(x) (((x)<<0) & PHY_M_LEDC_STA0_MSK)
/* GMAC registers */
/* Port Registers */
...
...
@@ -2505,8 +2507,6 @@ struct skge_port {
dma_addr_t
dma
;
unsigned
long
mem_size
;
unsigned
int
rx_buf_size
;
struct
timer_list
led_blink
;
};
...
...
@@ -2606,17 +2606,6 @@ static inline void gma_write16(const struct skge_hw *hw, int port, int r, u16 v)
skge_write16
(
hw
,
SK_GMAC_REG
(
port
,
r
),
v
);
}
static
inline
void
gma_write32
(
const
struct
skge_hw
*
hw
,
int
port
,
int
r
,
u32
v
)
{
skge_write16
(
hw
,
SK_GMAC_REG
(
port
,
r
),
(
u16
)
v
);
skge_write32
(
hw
,
SK_GMAC_REG
(
port
,
r
+
4
),
(
u16
)(
v
>>
16
));
}
static
inline
void
gma_write8
(
const
struct
skge_hw
*
hw
,
int
port
,
int
r
,
u8
v
)
{
skge_write8
(
hw
,
SK_GMAC_REG
(
port
,
r
),
v
);
}
static
inline
void
gma_set_addr
(
struct
skge_hw
*
hw
,
int
port
,
int
reg
,
const
u8
*
addr
)
{
...
...
drivers/net/smc91x.h
View file @
be2ac68f
...
...
@@ -188,7 +188,7 @@ SMC_outw(u16 val, void __iomem *ioaddr, int reg)
#define SMC_IRQ_TRIGGER_TYPE (( \
machine_is_omap_h2() \
|| machine_is_omap_h3() \
|| (machine_is_omap_innovator() && !cpu_is_omap150()) \
|| (machine_is_omap_innovator() && !cpu_is_omap15
1
0()) \
) ? IRQT_FALLING : IRQT_RISING)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment