aoe.h (fea05a26c3a215796b7a4fa5cbc25278d3e16d30) aoe.h (0c966214589b9767fd8771b71328f83bac58cb25)
1/* Copyright (c) 2012 Coraid, Inc. See COPYING for GPL terms. */
2#define VERSION "49"
3#define AOE_MAJOR 152
4#define DEVICE_NAME "aoe"
5
6/* set AOE_PARTITIONS to 1 to use whole-disks only
7 * default is 16, which is 15 partitions plus the whole disk
8 */

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

44 unsigned char verfl;
45 unsigned char err;
46 __be16 major;
47 unsigned char minor;
48 unsigned char cmd;
49 __be32 tag;
50};
51
1/* Copyright (c) 2012 Coraid, Inc. See COPYING for GPL terms. */
2#define VERSION "49"
3#define AOE_MAJOR 152
4#define DEVICE_NAME "aoe"
5
6/* set AOE_PARTITIONS to 1 to use whole-disks only
7 * default is 16, which is 15 partitions plus the whole disk
8 */

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

44 unsigned char verfl;
45 unsigned char err;
46 __be16 major;
47 unsigned char minor;
48 unsigned char cmd;
49 __be32 tag;
50};
51
52#define AOE_MAXSHELF (0xffff-1) /* one less than the broadcast shelf address */
53
52struct aoe_atahdr {
53 unsigned char aflags;
54 unsigned char errfeat;
55 unsigned char scnt;
56 unsigned char cmdstat;
57 unsigned char lba0;
58 unsigned char lba1;
59 unsigned char lba2;

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

206void aoe_freetframe(struct frame *);
207void aoe_flush_iocq(void);
208void aoe_end_request(struct aoedev *, struct request *, int);
209int aoe_ktstart(struct ktstate *k);
210void aoe_ktstop(struct ktstate *k);
211
212int aoedev_init(void);
213void aoedev_exit(void);
54struct aoe_atahdr {
55 unsigned char aflags;
56 unsigned char errfeat;
57 unsigned char scnt;
58 unsigned char cmdstat;
59 unsigned char lba0;
60 unsigned char lba1;
61 unsigned char lba2;

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

208void aoe_freetframe(struct frame *);
209void aoe_flush_iocq(void);
210void aoe_end_request(struct aoedev *, struct request *, int);
211int aoe_ktstart(struct ktstate *k);
212void aoe_ktstop(struct ktstate *k);
213
214int aoedev_init(void);
215void aoedev_exit(void);
214struct aoedev *aoedev_by_aoeaddr(int maj, int min);
215struct aoedev *aoedev_by_sysminor_m(ulong sysminor);
216struct aoedev *aoedev_by_aoeaddr(ulong maj, int min, int do_alloc);
216void aoedev_downdev(struct aoedev *d);
217int aoedev_flush(const char __user *str, size_t size);
218void aoe_failbuf(struct aoedev *, struct buf *);
219void aoedev_put(struct aoedev *);
220
221int aoenet_init(void);
222void aoenet_exit(void);
223void aoenet_xmit(struct sk_buff_head *);
224int is_aoe_netif(struct net_device *ifp);
225int set_aoe_iflist(const char __user *str, size_t size);
217void aoedev_downdev(struct aoedev *d);
218int aoedev_flush(const char __user *str, size_t size);
219void aoe_failbuf(struct aoedev *, struct buf *);
220void aoedev_put(struct aoedev *);
221
222int aoenet_init(void);
223void aoenet_exit(void);
224void aoenet_xmit(struct sk_buff_head *);
225int is_aoe_netif(struct net_device *ifp);
226int set_aoe_iflist(const char __user *str, size_t size);
226