Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 114153
b: refs/heads/master
c: a583578
h: refs/heads/master
i:
  114151: 0e73296
v: v3
  • Loading branch information
Dominik Brodowski committed Aug 29, 2008
1 parent d23e447 commit 814760c
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 165 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c23889ca5afcce60bb01739cd831c3cbcbab2a06
refs/heads/master: a58357862e71919555ea96cd272e535593a8b3da
2 changes: 1 addition & 1 deletion trunk/include/pcmcia/ciscode.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@

#define MANFID_TOSHIBA 0x0098

#define MANFID_UNGERMANN 0x02c0
#define MANFID_UNGERMANN 0x02c0

#define MANFID_XIRCOM 0x0105

Expand Down
37 changes: 1 addition & 36 deletions trunk/include/pcmcia/cs.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,45 +28,10 @@ typedef struct conf_reg_t {
#define CS_WRITE 2

/* for AdjustResourceInfo */
typedef struct adjust_t {
u_int Action;
u_int Resource;
u_int Attributes;
union {
struct memory {
u_long Base;
u_long Size;
} memory;
struct io {
ioaddr_t BasePort;
ioaddr_t NumPorts;
u_int IOAddrLines;
} io;
struct irq {
u_int IRQ;
} irq;
} resource;
} adjust_t;

/* Action field */
#define REMOVE_MANAGED_RESOURCE 1
#define ADD_MANAGED_RESOURCE 2
#define GET_FIRST_MANAGED_RESOURCE 3
#define GET_NEXT_MANAGED_RESOURCE 4
/* Resource field */
#define RES_MEMORY_RANGE 1
#define RES_IO_RANGE 2
#define RES_IRQ 3
/* Attribute field */
#define RES_IRQ_TYPE 0x03
#define RES_IRQ_TYPE_EXCLUSIVE 0
#define RES_IRQ_TYPE_TIME 1
#define RES_IRQ_TYPE_DYNAMIC 2
#define RES_IRQ_CSC 0x04
#define RES_SHARED 0x08
#define RES_RESERVED 0x10
#define RES_ALLOCATED 0x20
#define RES_REMOVED 0x40


typedef struct event_callback_args_t {
struct pcmcia_device *client_handle;
Expand Down
Loading

0 comments on commit 814760c

Please sign in to comment.