Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325163
b: refs/heads/master
c: 7b6ab33
h: refs/heads/master
i:
  325161: 6d46908
  325159: 382d471
v: v3
  • Loading branch information
Jens Taprogge authored and Greg Kroah-Hartman committed Sep 11, 2012
1 parent 8cee04f commit e07542e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 28086cbdadc6ef7fc3600b8478e5d5b9bfe483b8
refs/heads/master: 7b6ab33c28980ae26de09654a0d5db6080c76921
15 changes: 15 additions & 0 deletions trunk/drivers/staging/ipack/ipack.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,28 @@ struct ipack_driver {
* @request_irq: request IRQ
* @free_irq: free IRQ
* @remove_device: tell the bridge module that the device has been removed
* @get_clockrate: Returns the clockrate the carrier is currently
* communicating with the device at.
* @set_clockrate: Sets the clock-rate for carrier / module communication.
* Should return -EINVAL if the requested speed is not supported.
* @get_error: Returns the error state for the slot the device is attached
* to.
* @get_timeout: Returns 1 if the communication with the device has
* previously timed out.
* @reset_timeout: Resets the state returned by get_timeout.
*/
struct ipack_bus_ops {
int (*map_space) (struct ipack_device *dev, unsigned int memory_size, int space);
int (*unmap_space) (struct ipack_device *dev, int space);
int (*request_irq) (struct ipack_device *dev, int vector, int (*handler)(void *), void *arg);
int (*free_irq) (struct ipack_device *dev);
int (*remove_device) (struct ipack_device *dev);

int (*get_clockrate) (struct ipack_device *dev);
int (*set_clockrate) (struct ipack_device *dev, int mherz);
int (*get_error) (struct ipack_device *dev);
int (*get_timeout) (struct ipack_device *dev);
int (*reset_timeout) (struct ipack_device *dev);
};

/**
Expand Down

0 comments on commit e07542e

Please sign in to comment.