Deleted Added
full compact
if_ed_novell.c (149840) if_ed_novell.c (154924)
1/*-
2 * Copyright (c) 2005, M. Warner Losh
3 * All rights reserved.
4 * Copyright (c) 1995, David Greenman
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30
31#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2005, M. Warner Losh
3 * All rights reserved.
4 * Copyright (c) 1995, David Greenman
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 15 unchanged lines hidden (view full) ---

24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30
31#include <sys/cdefs.h>
32__FBSDID("$FreeBSD: head/sys/dev/ed/if_ed_novell.c 149840 2005-09-07 03:20:33Z imp $");
32__FBSDID("$FreeBSD: head/sys/dev/ed/if_ed_novell.c 154924 2006-01-27 19:10:13Z imp $");
33
34#include "opt_ed.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/sockio.h>
39#include <sys/mbuf.h>
40#include <sys/kernel.h>

--- 146 unchanged lines hidden (view full) ---

187
188 sc->rec_page_start = sc->tx_page_start + sc->txb_cnt * ED_TXBUF_SIZE;
189 sc->rec_page_stop = sc->tx_page_start + memsize / ED_PAGE_SIZE;
190
191 sc->mem_ring = sc->mem_start + sc->txb_cnt * ED_PAGE_SIZE * ED_TXBUF_SIZE;
192 /* clear any pending interrupts that might have occurred above */
193 ed_nic_outb(sc, ED_P0_ISR, 0xff);
194
33
34#include "opt_ed.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/sockio.h>
39#include <sys/mbuf.h>
40#include <sys/kernel.h>

--- 146 unchanged lines hidden (view full) ---

187
188 sc->rec_page_start = sc->tx_page_start + sc->txb_cnt * ED_TXBUF_SIZE;
189 sc->rec_page_stop = sc->tx_page_start + memsize / ED_PAGE_SIZE;
190
191 sc->mem_ring = sc->mem_start + sc->txb_cnt * ED_PAGE_SIZE * ED_TXBUF_SIZE;
192 /* clear any pending interrupts that might have occurred above */
193 ed_nic_outb(sc, ED_P0_ISR, 0xff);
194
195 sc->sc_write_mbufs = ed_pio_write_mbufs;
195 return (0);
196}
197
198int
199ed_probe_Novell(device_t dev, int port_rid, int flags)
200{
201 struct ed_softc *sc = device_get_softc(dev);
202 int error;

--- 95 unchanged lines hidden ---
196 return (0);
197}
198
199int
200ed_probe_Novell(device_t dev, int port_rid, int flags)
201{
202 struct ed_softc *sc = device_get_softc(dev);
203 int error;

--- 95 unchanged lines hidden ---