~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/staging/generic_serial/rio/parmmap.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
 *******                                                              *******
 
3
 *******               H O S T   M E M O R Y  M A P
 
4
 *******                                                              *******
 
5
 ****************************************************************************
 
6
 
 
7
 Author  : Ian Nandhra / Jeremy Rolls
 
8
 Date    :
 
9
 
 
10
 *
 
11
 *  (C) 1990 - 2000 Specialix International Ltd., Byfleet, Surrey, UK.
 
12
 *
 
13
 *      This program is free software; you can redistribute it and/or modify
 
14
 *      it under the terms of the GNU General Public License as published by
 
15
 *      the Free Software Foundation; either version 2 of the License, or
 
16
 *      (at your option) any later version.
 
17
 *
 
18
 *      This program is distributed in the hope that it will be useful,
 
19
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 *      GNU General Public License for more details.
 
22
 *
 
23
 *      You should have received a copy of the GNU General Public License
 
24
 *      along with this program; if not, write to the Free Software
 
25
 *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
26
 
 
27
 Version : 0.01
 
28
 
 
29
 
 
30
                            Mods
 
31
 ----------------------------------------------------------------------------
 
32
  Date     By                Description
 
33
 ----------------------------------------------------------------------------
 
34
6/4/1991   jonb              Made changes to accommodate Mips R3230 bus
 
35
 ***************************************************************************/
 
36
 
 
37
#ifndef _parmap_h
 
38
#define _parmap_h
 
39
 
 
40
typedef struct PARM_MAP PARM_MAP;
 
41
 
 
42
struct PARM_MAP {
 
43
        u16 phb_ptr;    /* Pointer to the PHB array */
 
44
        u16 phb_num_ptr;        /* Ptr to Number of PHB's */
 
45
        u16 free_list;  /* Free List pointer */
 
46
        u16 free_list_end;      /* Free List End pointer */
 
47
        u16 q_free_list_ptr;    /* Ptr to Q_BUF variable */
 
48
        u16 unit_id_ptr;        /* Unit Id */
 
49
        u16 link_str_ptr;       /* Link Structure Array */
 
50
        u16 bootloader_1;       /* 1st Stage Boot Loader */
 
51
        u16 bootloader_2;       /* 2nd Stage Boot Loader */
 
52
        u16 port_route_map_ptr; /* Port Route Map */
 
53
        u16 route_ptr;          /* Unit Route Map */
 
54
        u16 map_present;        /* Route Map present */
 
55
        s16 pkt_num;            /* Total number of packets */
 
56
        s16 q_num;              /* Total number of Q packets */
 
57
        u16 buffers_per_port;   /* Number of buffers per port */
 
58
        u16 heap_size;          /* Initial size of heap */
 
59
        u16 heap_left;          /* Current Heap left */
 
60
        u16 error;              /* Error code */
 
61
        u16 tx_max;             /* Max number of tx pkts per phb */
 
62
        u16 rx_max;             /* Max number of rx pkts per phb */
 
63
        u16 rx_limit;           /* For high / low watermarks */
 
64
        s16 links;              /* Links to use */
 
65
        s16 timer;              /* Interrupts per second */
 
66
        u16 rups;               /* Pointer to the RUPs */
 
67
        u16 max_phb;            /* Mostly for debugging */
 
68
        u16 living;             /* Just increments!! */
 
69
        u16 init_done;          /* Initialisation over */
 
70
        u16 booting_link;
 
71
        u16 idle_count;         /* Idle time counter */
 
72
        u16 busy_count;         /* Busy counter */
 
73
        u16 idle_control;       /* Control Idle Process */
 
74
        u16 tx_intr;            /* TX interrupt pending */
 
75
        u16 rx_intr;            /* RX interrupt pending */
 
76
        u16 rup_intr;           /* RUP interrupt pending */
 
77
};
 
78
 
 
79
#endif
 
80
 
 
81
/*********** end of file ***********/