mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 13:05:18 +01:00
Restore my changes in rev 1.11 that Garrett killed in his commit.
This commit is contained in:
parent
b2774d00ad
commit
edd5a4af47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5197
@ -21,7 +21,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $
|
||||
* $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -1108,7 +1108,7 @@ tulip_pci_attach(
|
||||
return;
|
||||
}
|
||||
|
||||
bzero(sc, sizeof(sc)); /* Zero out the softc*/
|
||||
bzero(sc, sizeof(*sc)); /* Zero out the softc*/
|
||||
sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE);
|
||||
/*
|
||||
* We've allocated an extra page of receive space so we can double map
|
||||
|
@ -21,7 +21,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $
|
||||
* $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -1108,7 +1108,7 @@ tulip_pci_attach(
|
||||
return;
|
||||
}
|
||||
|
||||
bzero(sc, sizeof(sc)); /* Zero out the softc*/
|
||||
bzero(sc, sizeof(*sc)); /* Zero out the softc*/
|
||||
sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE);
|
||||
/*
|
||||
* We've allocated an extra page of receive space so we can double map
|
||||
|
@ -21,7 +21,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_de.c,v 1.10 1994/12/11 01:45:41 davidg Exp $
|
||||
* $Id: if_de.c,v 1.12 1994/12/22 21:56:19 wollman Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -1108,7 +1108,7 @@ tulip_pci_attach(
|
||||
return;
|
||||
}
|
||||
|
||||
bzero(sc, sizeof(sc)); /* Zero out the softc*/
|
||||
bzero(sc, sizeof(*sc)); /* Zero out the softc*/
|
||||
sc->tulip_rxspace = vm_page_alloc_contig(TULIP_RXSPACE + NBPG, 0, 0xffffffff, PAGE_SIZE);
|
||||
/*
|
||||
* We've allocated an extra page of receive space so we can double map
|
||||
|
Loading…
Reference in New Issue
Block a user