core_priv.h (219820) | core_priv.h (255932) |
---|---|
1/* 2 * Copyright (c) 2004 Topspin Communications. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 24 unchanged lines hidden (view full) --- 33#ifndef _CORE_PRIV_H 34#define _CORE_PRIV_H 35 36#include <linux/list.h> 37#include <linux/spinlock.h> 38 39#include <rdma/ib_verbs.h> 40 | 1/* 2 * Copyright (c) 2004 Topspin Communications. All rights reserved. 3 * 4 * This software is available to you under a choice of one of two 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 8 * OpenIB.org BSD license below: --- 24 unchanged lines hidden (view full) --- 33#ifndef _CORE_PRIV_H 34#define _CORE_PRIV_H 35 36#include <linux/list.h> 37#include <linux/spinlock.h> 38 39#include <rdma/ib_verbs.h> 40 |
41int ib_device_register_sysfs(struct ib_device *device); | 41int ib_device_register_sysfs(struct ib_device *device, int (*port_callback)(struct ib_device *, 42 u8, struct kobject *)); |
42void ib_device_unregister_sysfs(struct ib_device *device); 43 44int ib_sysfs_setup(void); 45void ib_sysfs_cleanup(void); 46 47int ib_cache_setup(void); 48void ib_cache_cleanup(void); 49 50#endif /* _CORE_PRIV_H */ | 43void ib_device_unregister_sysfs(struct ib_device *device); 44 45int ib_sysfs_setup(void); 46void ib_sysfs_cleanup(void); 47 48int ib_cache_setup(void); 49void ib_cache_cleanup(void); 50 51#endif /* _CORE_PRIV_H */ |