Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor 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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
c6028835
Commit
c6028835
authored
21 years ago
by
Stefan Roese
Browse files
Options
Downloads
Patches
Plain Diff
- CFG_ETH_RX_BUFFER added.
parent
37208785
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/net.h
+3
-6
3 additions, 6 deletions
include/net.h
with
3 additions
and
6 deletions
include/net.h
+
3
−
6
View file @
c6028835
...
...
@@ -51,10 +51,10 @@
*
*/
#if
n
def
CONFIG_EEPRO100
#define PKTBUFSRX
4
#ifdef
CFG_RX_ETH_BUFFER
#
define PKTBUFSRX
CFG_RX_ETH_BUFFER
#else
#define PKTBUFSRX
8
#
define PKTBUFSRX
4
#endif
#define PKTALIGN 32
...
...
@@ -75,8 +75,6 @@ typedef void rxhand_f(uchar *, unsigned, unsigned, unsigned);
*/
typedef
void
thand_f
(
void
);
#ifdef CONFIG_NET_MULTI
#define NAMESIZE 16
enum
eth_state_t
{
...
...
@@ -105,7 +103,6 @@ extern int eth_register(struct eth_device* dev);/* Register network device */
extern
void
eth_try_another
(
int
first_restart
);
/* Change the device */
extern
struct
eth_device
*
eth_get_dev
(
void
);
/* get the current device MAC */
extern
void
eth_set_enetaddr
(
int
num
,
char
*
a
);
/* Set new MAC address */
#endif
extern
int
eth_init
(
bd_t
*
bis
);
/* Initialize the device */
extern
int
eth_send
(
volatile
void
*
packet
,
int
length
);
/* Send a packet */
...
...
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