FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 09-02-2008, 04:06 PM
Martin Sivak
 
Default Some improvements to the "bare" structure of ibft handling

---
loader2/net.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/loader2/net.c b/loader2/net.c
index cb6785d..7c0d948 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -2134,12 +2134,16 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) {



- if ((loaderData->netDev && (loaderData->netDev_set == 1)) &&
+ while((loaderData->netDev && (loaderData->netDev_set == 1)) &&
!strcmp(loaderData->netDev, "ibft")){
char *devmacaddr = NULL;
char *ibftmacaddr = "";

/* TODO get MAC from the iBFT table */
+ if(0){ /* TODO iBFT not present or error */
+ /* lookForLink = 0; is the w/o iBFT default link or ask? */
+ break;
+ }

logMessage(INFO, "looking for iBFT configured device with link");
lookForLink = 1;
@@ -2162,6 +2166,8 @@ int chooseNetworkInterface(struct loaderData_s * loaderData) {
free(devmacaddr);
}
}
+
+ break;
}

if ((loaderData->netDev && (loaderData->netDev_set == 1)) &&
--
1.5.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 11:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org