2006-02-10 20:51:35 +00:00
|
|
|
/*-
|
2023-05-10 15:40:58 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2017-11-27 14:52:40 +00:00
|
|
|
*
|
2006-02-10 20:51:35 +00:00
|
|
|
* Copyright (c) 2006 IronPort Systems Inc. <ambrisko@ironport.com>
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
#ifndef __IPMIVARS_H__
|
|
|
|
#define __IPMIVARS_H__
|
|
|
|
|
2006-02-10 20:51:35 +00:00
|
|
|
struct ipmi_get_info {
|
2006-09-22 22:11:29 +00:00
|
|
|
int iface_type;
|
2006-02-10 20:51:35 +00:00
|
|
|
uint64_t address;
|
|
|
|
int offset;
|
|
|
|
int io_mode;
|
2006-09-22 22:11:29 +00:00
|
|
|
int irq;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ipmi_device;
|
|
|
|
|
|
|
|
struct ipmi_request {
|
|
|
|
TAILQ_ENTRY(ipmi_request) ir_link;
|
|
|
|
struct ipmi_device *ir_owner; /* Driver uses NULL. */
|
|
|
|
u_char *ir_request; /* Request is data to send to BMC. */
|
|
|
|
size_t ir_requestlen;
|
|
|
|
u_char *ir_reply; /* Reply is data read from BMC. */
|
|
|
|
size_t ir_replybuflen; /* Length of ir_reply[] buffer. */
|
|
|
|
int ir_replylen; /* Length of reply from BMC. */
|
|
|
|
int ir_error;
|
|
|
|
long ir_msgid;
|
|
|
|
uint8_t ir_addr;
|
|
|
|
uint8_t ir_command;
|
|
|
|
uint8_t ir_compcode;
|
2022-07-04 04:55:18 +00:00
|
|
|
bool ir_ipmb;
|
|
|
|
uint8_t ir_ipmb_addr;
|
|
|
|
uint8_t ir_ipmb_command;
|
2006-09-22 22:11:29 +00:00
|
|
|
};
|
|
|
|
|
2023-06-07 09:30:47 +00:00
|
|
|
#define IPMI_IF_KCS_NRES 2
|
|
|
|
#define IPMI_IF_SMIC_NRES 3
|
|
|
|
#define IPMI_IF_BT_NRES 3
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
#define MAX_RES 3
|
|
|
|
#define KCS_DATA 0
|
|
|
|
#define KCS_CTL_STS 1
|
|
|
|
#define SMIC_DATA 0
|
|
|
|
#define SMIC_CTL_STS 1
|
|
|
|
#define SMIC_FLAGS 2
|
|
|
|
|
|
|
|
struct ipmi_softc;
|
|
|
|
|
2008-08-28 02:13:53 +00:00
|
|
|
/* Per file descriptor data. */
|
2006-09-22 22:11:29 +00:00
|
|
|
struct ipmi_device {
|
|
|
|
TAILQ_ENTRY(ipmi_device) ipmi_link;
|
|
|
|
TAILQ_HEAD(,ipmi_request) ipmi_completed_requests;
|
|
|
|
struct selinfo ipmi_select;
|
|
|
|
struct ipmi_softc *ipmi_softc;
|
|
|
|
int ipmi_closing;
|
|
|
|
int ipmi_requests;
|
|
|
|
u_char ipmi_address; /* IPMB address. */
|
|
|
|
u_char ipmi_lun;
|
|
|
|
};
|
|
|
|
|
2023-06-07 09:30:47 +00:00
|
|
|
struct ipmi_bt {
|
|
|
|
uint8_t seq;
|
|
|
|
};
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
struct ipmi_kcs {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ipmi_smic {
|
|
|
|
};
|
|
|
|
|
|
|
|
struct ipmi_ssif {
|
|
|
|
device_t smbus;
|
|
|
|
int smbus_address;
|
2006-02-10 20:51:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct ipmi_softc {
|
|
|
|
device_t ipmi_dev;
|
2006-09-22 22:11:29 +00:00
|
|
|
union {
|
2023-06-07 09:30:47 +00:00
|
|
|
struct ipmi_bt bt;
|
2006-09-22 22:11:29 +00:00
|
|
|
struct ipmi_kcs kcs;
|
|
|
|
struct ipmi_smic smic;
|
|
|
|
struct ipmi_ssif ssif;
|
|
|
|
} _iface;
|
2006-02-10 20:51:35 +00:00
|
|
|
int ipmi_io_rid;
|
2006-09-22 22:11:29 +00:00
|
|
|
int ipmi_io_type;
|
2015-02-06 16:45:10 +00:00
|
|
|
struct mtx ipmi_io_lock;
|
2006-09-22 22:11:29 +00:00
|
|
|
struct resource *ipmi_io_res[MAX_RES];
|
|
|
|
int ipmi_io_spacing;
|
2006-02-10 20:51:35 +00:00
|
|
|
int ipmi_irq_rid;
|
2006-09-22 22:11:29 +00:00
|
|
|
struct resource *ipmi_irq_res;
|
2006-02-10 20:51:35 +00:00
|
|
|
void *ipmi_irq;
|
2006-09-22 22:11:29 +00:00
|
|
|
int ipmi_detaching;
|
2008-08-28 02:13:53 +00:00
|
|
|
int ipmi_opened;
|
2017-10-25 15:30:53 +00:00
|
|
|
uint8_t ipmi_dev_support; /* IPMI_ADS_* */
|
2008-08-28 02:13:53 +00:00
|
|
|
struct cdev *ipmi_cdev;
|
2006-09-22 22:11:29 +00:00
|
|
|
TAILQ_HEAD(,ipmi_request) ipmi_pending_requests;
|
ipmi: use a queue for kcs driver requests when possible
The ipmi watchdog pretimeout action can trigger unintentionally in
certain rare, complicated situations. What we have seen at Netflix
is that the BMC can sometimes be sent a continuous stream of
writes to port 0x80, and due to what is a bug or misconfiguration
in the BMC software, this results in the BMC running out of memory,
becoming very slow to respond to KCS requests, and eventually being
rebooted by its own internal watchdog. While that is going on in
the BMC, back in the host OS, a number of requests are pending in
the ipmi request queue, and the kcs_loop thread is working on
processing these requests. All of the KCS accesses to process
those requests are timing out and eventually failing because the
BMC is responding very slowly or not at all, and the kcs_loop thread
is holding the IPMI_IO_LOCK the whole time that is going on.
Meanwhile the watchdogd process in the host is trying to pat the
BMC watchdog, and this process is sleeping waiting to get the
IPMI_IO_LOCK. It's not entirely clear why the watchdogd process
is sleeping for this lock, because the intention is that a thread
holding the IPMI_IO_LOCK should not sleep and thus any thread
that wants the lock should just spin to wait for it. My best guess
is that the kcs_loop thread is spinning waiting for the BMC to
respond for so long that it is eventually preempted, and during
the brief interval when the kcs_loop thread is not running,
the watchdogd thread notices that the lock holder is not running
and sleeps. When the kcs_loop thread eventually finishes processing
one request, it drops the IPMI_IO_LOCK and then immediately takes the
lock again so it can process the next request in the queue.
Because the watchdogd thread is sleeping at this point, the kcs_loop
always wins the race to acquire the IPMI_IO_LOCK, thus starving
the watchdogd thread. The callout for the watchdog pretimeout
would be reset by the watchdogd thread after its request to the BMC
watchdog completes, but since that request never processed, the
pretimeout callout eventually fires, even though there is nothing
actually wrong with the host.
To prevent this saga from unfolding:
- when kcs_driver_request() is called in a context where it can sleep,
queue the request and let the worker thread process it rather than
trying to process in the original thread.
- add a new high-priority queue for driver requests, so that the
watchdog patting requests will be processed as quickly as possible
even if lots of application requests have already been queued.
With these two changes, the watchdog pretimeout action does not trigger
even if the BMC is completely out to lunch for long periods of time
(as long as the watchdogd check command does not also get stuck).
Sponsored by: Netflix
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36555
2022-11-01 17:55:14 +00:00
|
|
|
TAILQ_HEAD(,ipmi_request) ipmi_pending_requests_highpri;
|
2015-04-24 16:56:23 +00:00
|
|
|
int ipmi_driver_requests_polled;
|
2017-10-25 15:30:53 +00:00
|
|
|
eventhandler_tag ipmi_power_cycle_tag;
|
2006-09-22 22:11:29 +00:00
|
|
|
eventhandler_tag ipmi_watchdog_tag;
|
2017-10-26 22:52:51 +00:00
|
|
|
eventhandler_tag ipmi_shutdown_tag;
|
2012-08-07 12:40:31 +00:00
|
|
|
int ipmi_watchdog_active;
|
2017-10-26 22:52:51 +00:00
|
|
|
int ipmi_watchdog_actions;
|
|
|
|
int ipmi_watchdog_pretimeout;
|
2006-09-22 22:11:29 +00:00
|
|
|
struct intr_config_hook ipmi_ich;
|
2015-02-06 16:45:10 +00:00
|
|
|
struct mtx ipmi_requests_lock;
|
2006-09-22 22:11:29 +00:00
|
|
|
struct cv ipmi_request_added;
|
|
|
|
struct proc *ipmi_kthread;
|
|
|
|
driver_intr_t *ipmi_intr;
|
|
|
|
int (*ipmi_startup)(struct ipmi_softc *);
|
|
|
|
int (*ipmi_enqueue_request)(struct ipmi_softc *, struct ipmi_request *);
|
2015-02-06 16:45:10 +00:00
|
|
|
int (*ipmi_driver_request)(struct ipmi_softc *, struct ipmi_request *, int);
|
2006-02-10 20:51:35 +00:00
|
|
|
};
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
#define ipmi_ssif_smbus_address _iface.ssif.smbus_address
|
|
|
|
#define ipmi_ssif_smbus _iface.ssif.smbus
|
2023-06-07 09:30:47 +00:00
|
|
|
#define ipmi_bt_seq _iface.bt.seq
|
2006-09-22 22:11:29 +00:00
|
|
|
|
2023-06-07 09:30:47 +00:00
|
|
|
#define KCS_MODE 0x01
|
|
|
|
#define SMIC_MODE 0x02
|
|
|
|
#define BT_MODE 0x03
|
|
|
|
#define SSIF_MODE 0x04
|
2006-09-22 22:11:29 +00:00
|
|
|
|
2006-02-10 20:51:35 +00:00
|
|
|
/* KCS status flags */
|
|
|
|
#define KCS_STATUS_OBF 0x01 /* Data Out ready from BMC */
|
|
|
|
#define KCS_STATUS_IBF 0x02 /* Data In from System */
|
|
|
|
#define KCS_STATUS_SMS_ATN 0x04 /* Ready in RX queue */
|
|
|
|
#define KCS_STATUS_C_D 0x08 /* Command/Data register write*/
|
|
|
|
#define KCS_STATUS_OEM1 0x10
|
|
|
|
#define KCS_STATUS_OEM2 0x20
|
|
|
|
#define KCS_STATUS_S0 0x40
|
|
|
|
#define KCS_STATUS_S1 0x80
|
|
|
|
#define KCS_STATUS_STATE(x) ((x)>>6)
|
|
|
|
#define KCS_STATUS_STATE_IDLE 0x0
|
|
|
|
#define KCS_STATUS_STATE_READ 0x1
|
|
|
|
#define KCS_STATUS_STATE_WRITE 0x2
|
|
|
|
#define KCS_STATUS_STATE_ERROR 0x3
|
2006-09-22 22:11:29 +00:00
|
|
|
#define KCS_IFACE_STATUS_OK 0x00
|
2006-02-10 20:51:35 +00:00
|
|
|
#define KCS_IFACE_STATUS_ABORT 0x01
|
|
|
|
#define KCS_IFACE_STATUS_ILLEGAL 0x02
|
|
|
|
#define KCS_IFACE_STATUS_LENGTH_ERR 0x06
|
2006-09-22 22:11:29 +00:00
|
|
|
#define KCS_IFACE_STATUS_UNKNOWN_ERR 0xff
|
2006-02-10 20:51:35 +00:00
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
/* KCS control codes */
|
2006-02-10 20:51:35 +00:00
|
|
|
#define KCS_CONTROL_GET_STATUS_ABORT 0x60
|
|
|
|
#define KCS_CONTROL_WRITE_START 0x61
|
|
|
|
#define KCS_CONTROL_WRITE_END 0x62
|
|
|
|
#define KCS_DATA_IN_READ 0x68
|
|
|
|
|
|
|
|
/* SMIC status flags */
|
|
|
|
#define SMIC_STATUS_BUSY 0x01 /* System set and BMC clears it */
|
|
|
|
#define SMIC_STATUS_SMS_ATN 0x04 /* BMC has a message */
|
|
|
|
#define SMIC_STATUS_EVT_ATN 0x08 /* Event has been RX */
|
2006-09-22 22:11:29 +00:00
|
|
|
#define SMIC_STATUS_SMI 0x10 /* asserted SMI */
|
2006-02-10 20:51:35 +00:00
|
|
|
#define SMIC_STATUS_TX_RDY 0x40 /* Ready to accept WRITE */
|
|
|
|
#define SMIC_STATUS_RX_RDY 0x80 /* Ready to read */
|
2006-09-22 22:11:29 +00:00
|
|
|
#define SMIC_STATUS_RESERVED 0x22
|
2006-02-10 20:51:35 +00:00
|
|
|
|
|
|
|
/* SMIC control codes */
|
|
|
|
#define SMIC_CC_SMS_GET_STATUS 0x40
|
|
|
|
#define SMIC_CC_SMS_WR_START 0x41
|
|
|
|
#define SMIC_CC_SMS_WR_NEXT 0x42
|
|
|
|
#define SMIC_CC_SMS_WR_END 0x43
|
|
|
|
#define SMIC_CC_SMS_RD_START 0x44
|
|
|
|
#define SMIC_CC_SMS_RD_NEXT 0x45
|
|
|
|
#define SMIC_CC_SMS_RD_END 0x46
|
|
|
|
|
|
|
|
/* SMIC status codes */
|
|
|
|
#define SMIC_SC_SMS_RDY 0xc0
|
|
|
|
#define SMIC_SC_SMS_WR_START 0xc1
|
|
|
|
#define SMIC_SC_SMS_WR_NEXT 0xc2
|
|
|
|
#define SMIC_SC_SMS_WR_END 0xc3
|
|
|
|
#define SMIC_SC_SMS_RD_START 0xc4
|
|
|
|
#define SMIC_SC_SMS_RD_NEXT 0xc5
|
|
|
|
#define SMIC_SC_SMS_RD_END 0xc6
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
#define IPMI_ADDR(netfn, lun) ((netfn) << 2 | (lun))
|
|
|
|
#define IPMI_REPLY_ADDR(addr) ((addr) + 0x4)
|
|
|
|
|
2015-02-06 16:45:10 +00:00
|
|
|
#define IPMI_LOCK(sc) mtx_lock(&(sc)->ipmi_requests_lock)
|
|
|
|
#define IPMI_UNLOCK(sc) mtx_unlock(&(sc)->ipmi_requests_lock)
|
|
|
|
#define IPMI_LOCK_ASSERT(sc) mtx_assert(&(sc)->ipmi_requests_lock, MA_OWNED)
|
2006-09-22 22:11:29 +00:00
|
|
|
|
2015-02-06 16:45:10 +00:00
|
|
|
#define IPMI_IO_LOCK(sc) mtx_lock(&(sc)->ipmi_io_lock)
|
|
|
|
#define IPMI_IO_UNLOCK(sc) mtx_unlock(&(sc)->ipmi_io_lock)
|
|
|
|
#define IPMI_IO_LOCK_ASSERT(sc) mtx_assert(&(sc)->ipmi_io_lock, MA_OWNED)
|
2006-02-10 20:51:35 +00:00
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
/* I/O to a single I/O resource. */
|
|
|
|
#define INB_SINGLE(sc, x) \
|
|
|
|
bus_read_1((sc)->ipmi_io_res[0], (sc)->ipmi_io_spacing * (x))
|
|
|
|
#define OUTB_SINGLE(sc, x, value) \
|
|
|
|
bus_write_1((sc)->ipmi_io_res[0], (sc)->ipmi_io_spacing * (x), value)
|
|
|
|
|
|
|
|
/* I/O with each register in its in I/O resource. */
|
|
|
|
#define INB_MULTIPLE(sc, x) \
|
|
|
|
bus_read_1((sc)->ipmi_io_res[(x)], 0)
|
|
|
|
#define OUTB_MULTIPLE(sc, x, value) \
|
|
|
|
bus_write_1((sc)->ipmi_io_res[(x)], 0, value)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Determine I/O method based on whether or not we have more than one I/O
|
|
|
|
* resource.
|
|
|
|
*/
|
|
|
|
#define INB(sc, x) \
|
|
|
|
((sc)->ipmi_io_res[1] != NULL ? INB_MULTIPLE(sc, x) : INB_SINGLE(sc, x))
|
|
|
|
#define OUTB(sc, x, value) \
|
|
|
|
((sc)->ipmi_io_res[1] != NULL ? OUTB_MULTIPLE(sc, x, value) : \
|
|
|
|
OUTB_SINGLE(sc, x, value))
|
|
|
|
|
2013-07-30 18:44:29 +00:00
|
|
|
#define MAX_TIMEOUT 6 * hz
|
2006-09-22 22:11:29 +00:00
|
|
|
|
|
|
|
int ipmi_attach(device_t);
|
|
|
|
int ipmi_detach(device_t);
|
|
|
|
void ipmi_release_resources(device_t);
|
|
|
|
|
|
|
|
/* Manage requests. */
|
2022-07-04 04:55:18 +00:00
|
|
|
void ipmi_init_request(struct ipmi_request *, struct ipmi_device *, long,
|
|
|
|
uint8_t, uint8_t, size_t, size_t);
|
2006-09-22 22:11:29 +00:00
|
|
|
struct ipmi_request *ipmi_alloc_request(struct ipmi_device *, long, uint8_t,
|
|
|
|
uint8_t, size_t, size_t);
|
|
|
|
void ipmi_complete_request(struct ipmi_softc *, struct ipmi_request *);
|
|
|
|
struct ipmi_request *ipmi_dequeue_request(struct ipmi_softc *);
|
|
|
|
void ipmi_free_request(struct ipmi_request *);
|
|
|
|
int ipmi_polled_enqueue_request(struct ipmi_softc *, struct ipmi_request *);
|
ipmi: use a queue for kcs driver requests when possible
The ipmi watchdog pretimeout action can trigger unintentionally in
certain rare, complicated situations. What we have seen at Netflix
is that the BMC can sometimes be sent a continuous stream of
writes to port 0x80, and due to what is a bug or misconfiguration
in the BMC software, this results in the BMC running out of memory,
becoming very slow to respond to KCS requests, and eventually being
rebooted by its own internal watchdog. While that is going on in
the BMC, back in the host OS, a number of requests are pending in
the ipmi request queue, and the kcs_loop thread is working on
processing these requests. All of the KCS accesses to process
those requests are timing out and eventually failing because the
BMC is responding very slowly or not at all, and the kcs_loop thread
is holding the IPMI_IO_LOCK the whole time that is going on.
Meanwhile the watchdogd process in the host is trying to pat the
BMC watchdog, and this process is sleeping waiting to get the
IPMI_IO_LOCK. It's not entirely clear why the watchdogd process
is sleeping for this lock, because the intention is that a thread
holding the IPMI_IO_LOCK should not sleep and thus any thread
that wants the lock should just spin to wait for it. My best guess
is that the kcs_loop thread is spinning waiting for the BMC to
respond for so long that it is eventually preempted, and during
the brief interval when the kcs_loop thread is not running,
the watchdogd thread notices that the lock holder is not running
and sleeps. When the kcs_loop thread eventually finishes processing
one request, it drops the IPMI_IO_LOCK and then immediately takes the
lock again so it can process the next request in the queue.
Because the watchdogd thread is sleeping at this point, the kcs_loop
always wins the race to acquire the IPMI_IO_LOCK, thus starving
the watchdogd thread. The callout for the watchdog pretimeout
would be reset by the watchdogd thread after its request to the BMC
watchdog completes, but since that request never processed, the
pretimeout callout eventually fires, even though there is nothing
actually wrong with the host.
To prevent this saga from unfolding:
- when kcs_driver_request() is called in a context where it can sleep,
queue the request and let the worker thread process it rather than
trying to process in the original thread.
- add a new high-priority queue for driver requests, so that the
watchdog patting requests will be processed as quickly as possible
even if lots of application requests have already been queued.
With these two changes, the watchdog pretimeout action does not trigger
even if the BMC is completely out to lunch for long periods of time
(as long as the watchdogd check command does not also get stuck).
Sponsored by: Netflix
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D36555
2022-11-01 17:55:14 +00:00
|
|
|
int ipmi_polled_enqueue_request_highpri(struct ipmi_softc *, struct ipmi_request *);
|
2006-09-22 22:11:29 +00:00
|
|
|
int ipmi_submit_driver_request(struct ipmi_softc *, struct ipmi_request *,
|
|
|
|
int);
|
|
|
|
|
|
|
|
/* Identify BMC interface via SMBIOS. */
|
|
|
|
int ipmi_smbios_identify(struct ipmi_get_info *);
|
|
|
|
|
|
|
|
/* Match BMC PCI device listed in SMBIOS. */
|
|
|
|
const char *ipmi_pci_match(uint16_t, uint16_t);
|
|
|
|
|
|
|
|
/* Interface attach routines. */
|
|
|
|
int ipmi_kcs_attach(struct ipmi_softc *);
|
|
|
|
int ipmi_kcs_probe_align(struct ipmi_softc *);
|
|
|
|
int ipmi_smic_attach(struct ipmi_softc *);
|
2023-06-07 09:30:47 +00:00
|
|
|
int ipmi_bt_attach(struct ipmi_softc *);
|
2006-09-22 22:11:29 +00:00
|
|
|
int ipmi_ssif_attach(struct ipmi_softc *, device_t, int);
|
|
|
|
|
2006-02-10 20:51:35 +00:00
|
|
|
extern int ipmi_attached;
|
2006-09-22 22:11:29 +00:00
|
|
|
|
|
|
|
#endif /* !__IPMIVARS_H__ */
|