Add mtu to ieee1275 driver data.

This commit is contained in:
Manoel Rebelo Abranches 2011-04-01 05:41:37 -03:00
parent 457d1104f6
commit 09375846b9

View file

@ -68,6 +68,7 @@ struct grub_ofnetcard_data
{ {
char *path; char *path;
grub_ieee1275_ihandle_t handle; grub_ieee1275_ihandle_t handle;
grub_uint32_t mtu;
}; };
/* Maps a device alias to a pathname. */ /* Maps a device alias to a pathname. */
@ -201,8 +202,6 @@ int EXPORT_FUNC(grub_ieee1275_devices_iterate) (int (*hook)
(struct grub_ieee1275_devalias * (struct grub_ieee1275_devalias *
alias)); alias));
char *EXPORT_FUNC(grub_ieee1275_get_aliasdevname) (const char *path); char *EXPORT_FUNC(grub_ieee1275_get_aliasdevname) (const char *path);
void EXPORT_FUNC(grub_ofnet_findcards) (void);
void EXPORT_FUNC(grub_ofnet_probecards) (void);
char *EXPORT_FUNC(grub_ieee1275_canonicalise_devname) (const char *path); char *EXPORT_FUNC(grub_ieee1275_canonicalise_devname) (const char *path);
#endif /* ! GRUB_IEEE1275_HEADER */ #endif /* ! GRUB_IEEE1275_HEADER */