diff options
| author | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2010-08-15 01:06:31 -0400 |
| commit | 95ee46aa8698f2000647dfb362400fadbb5807cf (patch) | |
| tree | e5a05c7297f997e191c73091934e42e3195c0e40 /include/linux/atmdev.h | |
| parent | cfa806f059801dbe7e435745eb2e187c8bfe1e7f (diff) | |
| parent | 92fa5bd9a946b6e7aab6764e7312e4e3d9bed295 (diff) | |
Merge branch 'linus' into release
Conflicts:
drivers/acpi/debug.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/atmdev.h')
| -rw-r--r-- | include/linux/atmdev.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h index 817b23705c91..f6481daf6e52 100644 --- a/include/linux/atmdev.h +++ b/include/linux/atmdev.h | |||
| @@ -431,6 +431,14 @@ struct atm_dev *atm_dev_register(const char *type,const struct atmdev_ops *ops, | |||
| 431 | int number,unsigned long *flags); /* number == -1: pick first available */ | 431 | int number,unsigned long *flags); /* number == -1: pick first available */ |
| 432 | struct atm_dev *atm_dev_lookup(int number); | 432 | struct atm_dev *atm_dev_lookup(int number); |
| 433 | void atm_dev_deregister(struct atm_dev *dev); | 433 | void atm_dev_deregister(struct atm_dev *dev); |
| 434 | |||
| 435 | /* atm_dev_signal_change | ||
| 436 | * | ||
| 437 | * Propagate lower layer signal change in atm_dev->signal to netdevice. | ||
| 438 | * The event will be sent via a notifier call chain. | ||
| 439 | */ | ||
| 440 | void atm_dev_signal_change(struct atm_dev *dev, char signal); | ||
| 441 | |||
| 434 | void vcc_insert_socket(struct sock *sk); | 442 | void vcc_insert_socket(struct sock *sk); |
| 435 | 443 | ||
| 436 | 444 | ||
| @@ -510,6 +518,15 @@ void register_atm_ioctl(struct atm_ioctl *); | |||
| 510 | */ | 518 | */ |
| 511 | void deregister_atm_ioctl(struct atm_ioctl *); | 519 | void deregister_atm_ioctl(struct atm_ioctl *); |
| 512 | 520 | ||
| 521 | |||
| 522 | /* register_atmdevice_notifier - register atm_dev notify events | ||
| 523 | * | ||
| 524 | * Clients like br2684 will register notify events | ||
| 525 | * Currently we notify of signal found/lost | ||
| 526 | */ | ||
| 527 | int register_atmdevice_notifier(struct notifier_block *nb); | ||
| 528 | void unregister_atmdevice_notifier(struct notifier_block *nb); | ||
| 529 | |||
| 513 | #endif /* __KERNEL__ */ | 530 | #endif /* __KERNEL__ */ |
| 514 | 531 | ||
| 515 | #endif | 532 | #endif |
