Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
5dc0cf68
Commit
5dc0cf68
authored
16 years ago
by
Andy Fleming
Browse files
Options
Downloads
Patches
Plain Diff
Make some minor whitespace changes to eliminate line-wrapping
Signed-off-by:
Andy Fleming
<
afleming@freescale.com
>
parent
9e56986a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/net.h
+16
-15
16 additions, 15 deletions
include/net.h
with
16 additions
and
15 deletions
include/net.h
+
16
−
15
View file @
5dc0cf68
...
@@ -109,25 +109,26 @@ struct eth_device {
...
@@ -109,25 +109,26 @@ struct eth_device {
void
*
priv
;
void
*
priv
;
};
};
extern
int
eth_initialize
(
bd_t
*
bis
);
/* Initialize network subsystem */
extern
int
eth_initialize
(
bd_t
*
bis
);
/* Initialize network subsystem */
extern
int
eth_register
(
struct
eth_device
*
dev
);
/* Register network device
*/
extern
int
eth_register
(
struct
eth_device
*
dev
);
/* Register network device
*/
extern
void
eth_try_another
(
int
first_restart
);
/* Change the device
*/
extern
void
eth_try_another
(
int
first_restart
);
/* Change the device
*/
#ifdef CONFIG_NET_MULTI
#ifdef CONFIG_NET_MULTI
extern
void
eth_set_current
(
void
);
/* set nterface to ethcur var
.
*/
extern
void
eth_set_current
(
void
);
/* set nterface to ethcur var */
#endif
#endif
extern
struct
eth_device
*
eth_get_dev
(
void
);
/* get the current device MAC */
extern
struct
eth_device
*
eth_get_dev
(
void
);
/* get the current device MAC */
extern
struct
eth_device
*
eth_get_dev_by_name
(
char
*
devname
);
/* get device */
extern
struct
eth_device
*
eth_get_dev_by_name
(
char
*
devname
);
/* get device */
extern
int
eth_get_dev_index
(
void
);
/* get the device index */
extern
struct
eth_device
*
eth_get_dev_by_index
(
int
index
);
/* get dev @ index */
extern
void
eth_set_enetaddr
(
int
num
,
char
*
a
);
/* Set new MAC address */
extern
int
eth_get_dev_index
(
void
);
/* get the device index */
extern
void
eth_set_enetaddr
(
int
num
,
char
*
a
);
/* Set new MAC address */
extern
int
eth_init
(
bd_t
*
bis
);
/* Initialize the device */
extern
int
eth_send
(
volatile
void
*
packet
,
int
length
);
/* Send a packet */
extern
int
eth_init
(
bd_t
*
bis
);
/* Initialize the device */
extern
int
eth_send
(
volatile
void
*
packet
,
int
length
);
/* Send a packet */
#ifdef CONFIG_API
#ifdef CONFIG_API
extern
int
eth_receive
(
volatile
void
*
packet
,
int
length
);
/* Receive a packet
*/
extern
int
eth_receive
(
volatile
void
*
packet
,
int
length
);
/* Receive a packet*/
#endif
#endif
extern
int
eth_rx
(
void
);
/* Check for received packets
*/
extern
int
eth_rx
(
void
);
/* Check for received packets
*/
extern
void
eth_halt
(
void
);
/* stop SCC
*/
extern
void
eth_halt
(
void
);
/* stop SCC
*/
extern
char
*
eth_get_name
(
void
);
/* get name of current device
*/
extern
char
*
eth_get_name
(
void
);
/* get name of current device
*/
#ifdef CONFIG_MCAST_TFTP
#ifdef CONFIG_MCAST_TFTP
int
eth_mcast_join
(
IPaddr_t
mcast_addr
,
u8
join
);
int
eth_mcast_join
(
IPaddr_t
mcast_addr
,
u8
join
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment