Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/*
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 *
20 * File: int.h
21 *
22 * Purpose:
23 *
24 * Author: Jerry Chen
25 *
26 * Date: Apr. 2, 2004
27 *
28 */
29
30#ifndef __INT_H__
31#define __INT_H__
32
33#include "device.h"
34
35typedef struct tagSINTData {
36 u8 byTSR0;
37 u8 byPkt0;
38 u16 wTime0;
39 u8 byTSR1;
40 u8 byPkt1;
41 u16 wTime1;
42 u8 byTSR2;
43 u8 byPkt2;
44 u16 wTime2;
45 u8 byTSR3;
46 u8 byPkt3;
47 u16 wTime3;
48 u64 qwTSF;
49 u8 byISR0;
50 u8 byISR1;
51 u8 byRTSSuccess;
52 u8 byRTSFail;
53 u8 byACKFail;
54 u8 byFCSErr;
55 u8 abySW[2];
56} __attribute__ ((__packed__))
57SINTData, *PSINTData;
58
59void INTvWorkItem(struct vnt_private *);
60void INTnsProcessData(struct vnt_private *);
61
62#endif /* __INT_H__ */