1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Restore my changes in rev 1.11 that Garrett killed in his commit.

This commit is contained in:
David Greenman 1994-12-22 23:42:25 +00:00
parent b2774d00ad
commit edd5a4af47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5197
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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