diff options
| author | Michael Brown | 2005-04-25 21:27:25 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-25 21:27:25 +0200 |
| commit | 3b14360f5cdbc6f7f5fa434628bbf2dfa8d5b347 (patch) | |
| tree | 39feb68813d94e8350d308506afaf5fd92cc8bd4 /src/core | |
| parent | Added "name" field to struct bus_driver (diff) | |
| download | ipxe-3b14360f5cdbc6f7f5fa434628bbf2dfa8d5b347.tar.gz ipxe-3b14360f5cdbc6f7f5fa434628bbf2dfa8d5b347.tar.xz ipxe-3b14360f5cdbc6f7f5fa434628bbf2dfa8d5b347.zip | |
Renamed describe to describe_device for consistency
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/nic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nic.c b/src/core/nic.c index 166eedd70..993bcad79 100644 --- a/src/core/nic.c +++ b/src/core/nic.c @@ -327,7 +327,7 @@ void nic_disable ( struct nic *nic __unused ) { #endif } -static char * nic_describe ( struct type_dev *type_dev ) { +static char * nic_describe_device ( struct type_dev *type_dev ) { struct nic *nic = ( struct nic * ) type_dev; static char nic_description[] = "MAC 00:00:00:00:00:00"; @@ -340,9 +340,9 @@ static char * nic_describe ( struct type_dev *type_dev ) { * */ struct type_driver nic_driver = { - .name = "NIC", - .type_dev = ( struct type_dev * ) &nic, - .describe = nic_describe, + .name = "NIC", + .type_dev = ( struct type_dev * ) &nic, + .describe_device = nic_describe_device, }; /* Careful. We need an aligned buffer to avoid problems on machines |
