diff options
author | Michael Brown <mcb30@ipxe.org> | 2014-07-04 16:52:10 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-07-08 14:01:55 +0100 |
commit | d0cfbd01f51661994a8e8379ddda6d592177a29b (patch) | |
tree | 0d215d4b9b43352229526262bab6250c905908c0 /src/drivers/net/efi/snpnet.h | |
parent | 56b2f66dd2bcc5e6248d3652be051f20e604b7cc (diff) | |
download | ipxe-d0cfbd01f51661994a8e8379ddda6d592177a29b.tar.gz |
[efi] Rewrite SNP NIC driver
Rewrite the SNP NIC driver to use non-blocking and deferrable
transmissions, to provide link status detection, to provide
information about the underlying (PCI) hardware device, and to avoid
unnecessary I/O buffer allocations during receive polling.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/efi/snpnet.h')
-rw-r--r-- | src/drivers/net/efi/snpnet.h | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/src/drivers/net/efi/snpnet.h b/src/drivers/net/efi/snpnet.h index 72b4a7d65..e6d31d5e4 100644 --- a/src/drivers/net/efi/snpnet.h +++ b/src/drivers/net/efi/snpnet.h @@ -1,35 +1,17 @@ -/* - * Copyright (C) 2010 VMware, Inc. All Rights Reserved. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - */ - #ifndef _SNPNET_H #define _SNPNET_H /** @file * - * EFI Simple Network Protocol network device driver + * SNP NIC driver * */ FILE_LICENCE ( GPL2_OR_LATER ); -struct snp_device; +struct efi_device; -extern int snpnet_probe ( struct snp_device *snpdev ); -extern void snpnet_remove ( struct snp_device *snpdev ); +extern int snpnet_start ( struct efi_device *efidev ); +extern void snpnet_stop ( struct efi_device *efidev ); #endif /* _SNPNET_H */ |