Added support to netdisk specified in the form (net,protocol,server_ip,username,password)

an to list its information with command ls.

* fs/ieee1275/ofnet.c (grub_ofnet_open): parse parameters to determine netdisk data
* fs/ieee1275/ofnet.c (grub_ofnet_close): dealloc netdisk data
* include/grub/disk.h: added struct grub_netdisk_data
* include/grub/ieee1275/ofnet.h: added newline
* kern/disk.c (grub_disk_open): ignore partition check for netdisk
* normal/misc.c (grub_normal_print_device_info): added support to list netdisk information
This commit is contained in:
Paulo de Rezende Pinatti committed 2010-07-13 11:22:35 -03:00
1 parent 3ec6213b17
commit f8795693f1
5 files changed
+213 -7

No files matched your search

+1
View File
@@ -25,6 +25,7 @@
extern void grub_ofnet_init(void);
extern void grub_ofnet_fini(void);
/*
struct grub_net;