From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: andrey mirtchovski MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20020314223726.4DCE119995@mail.cse.psu.edu> Subject: [9fans] ether probing and 9load Date: Thu, 14 Mar 2002 15:40:51 -0700 Topicbox-Message-UUID: 674c2978-eaca-11e9-9e20-41e7f4b1d025 hi, we put 9load in flash around here (disk on chip) and are having linuxbios load it as a kernel. it works quite nice on some architectures and not so nice on others, but we're trying to squash the bugs as much as possible. the modifications we had to do to 9load to make it work with linuxbios were amazingly few and mostly involved commenting out 16-bit asm from l.s... simple is good. one problem that we're having is that 9load decidedly is unable to find a plan9.ini file to read the machine configuration from. if we plug a disk into the machine and wait for it to spin (yes, by the time linuxbios+9load start probing for disks they haven't even spun up yet) then we can use the plan9.ini there, but the ultimate goal is to have 9load etherboot off the net. therein lies the problem -- etherinit() is called, but because isaconfig() finds no ethernet card there is no card to call reset() for and as a result no ethernet appears in the 'boot from:' menu... the question is: is there an easy way to probe for all ethercards[] or should we stick with the 'in-house' solution, which is strcpy(ctlr->type, "rtl8139"); in etherinit() thanx, andrey