public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Madore <mmadore@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] NIC not working after ACPI PXE boot - solution!
Date: Fri, 01 Dec 2000 23:35:51 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205781@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205777@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

Hi,

I have thrown together a quick and dirty efi application to shutdown any
network adapters which are not already in a stopped state.  The source code
and Makefile are attached.  We intend to add the workaround as a patch to
our lilo package as well.

-- 
Mike Madore
Software Engineer
TurboLinux, Inc.

On Thu, Nov 30, 2000 at 10:02:19AM -0600, Matt_Domsch@Dell.com wrote:
> Some engineers here at Dell have developed a solution to the issue where the
> on-board NIC is unresponsive to Linux if first EFI tried to use it.  We're
> working through the licensing issues to make the code GPL, but until then, I
> can provide a simple functional description, and if someone wished to write
> code and add it to the kernel, great! :)
> 
> The basic steps are:
> use BS->LocateHandle(SimpleNetworkProtocol) to get the number of NICs in the
> system.
> for each handle returned:
> 	use BS->HandleProtocol() get EFI_SIMPLE_NETWORK->Mode->State.
> 	if State != shutdown
> 		call EFI_SIMPLE_NETWORK->Shutdown() on the NIC
> 		call EFI_SIMPLE_NETWORK->Stop() on the NIC
> 
> This obviously needs to be done prior to loading network drivers, either in
> the kernel or in eli/lilo.
> 
> Thanks,
> Matt Domsch
> Dell Enterprise Systems Group
> Linux Development Team
> 
> 
> 
> 
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64


[-- Attachment #2: netshut.tar.gz --]
[-- Type: application/x-tar-gz, Size: 19354 bytes --]

      parent reply	other threads:[~2000-12-01 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-30 16:02 [Linux-ia64] NIC not working after ACPI PXE boot - solution! Matt_Domsch
2000-11-30 16:21 ` Ahna, Christopher J
2000-12-01 23:35 ` Michael Madore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205781@msgid-missing \
    --to=mmadore@turbolinux.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox