Deleted Added
full compact
if_patm_intr.c (185336) if_patm_intr.c (201758)
1/*-
2 * Copyright (c) 2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

25 * SUCH DAMAGE.
26 *
27 * Author: Hartmut Brandt <harti@freebsd.org>
28 *
29 * Driver for IDT77252 based cards like ProSum's.
30 */
31
32#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

25 * SUCH DAMAGE.
26 *
27 * Author: Hartmut Brandt <harti@freebsd.org>
28 *
29 * Driver for IDT77252 based cards like ProSum's.
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/dev/patm/if_patm_intr.c 185336 2008-11-26 13:44:11Z ganbold $");
33__FBSDID("$FreeBSD: head/sys/dev/patm/if_patm_intr.c 201758 2010-01-07 21:01:37Z mbr $");
34
35#include "opt_inet.h"
36#include "opt_natm.h"
37
38#include <sys/types.h>
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/malloc.h>

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

376}
377
378/*
379 * Handle transmit status interrupt
380 */
381static void
382patm_intr_tsif(struct patm_softc *sc)
383{
34
35#include "opt_inet.h"
36#include "opt_natm.h"
37
38#include <sys/types.h>
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/malloc.h>

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

376}
377
378/*
379 * Handle transmit status interrupt
380 */
381static void
382patm_intr_tsif(struct patm_softc *sc)
383{
384 struct idt_tsqe *tsqe = sc->tsq_next;;
384 struct idt_tsqe *tsqe = sc->tsq_next;
385 struct idt_tsqe *prev = NULL;
386 uint32_t stamp;
387
388 stamp = le32toh(tsqe->stamp);
389 if (stamp & IDT_TSQE_EMPTY)
390 return;
391
392 do {

--- 161 unchanged lines hidden ---
385 struct idt_tsqe *prev = NULL;
386 uint32_t stamp;
387
388 stamp = le32toh(tsqe->stamp);
389 if (stamp & IDT_TSQE_EMPTY)
390 return;
391
392 do {

--- 161 unchanged lines hidden ---