[go: up one dir, main page]

JP3231719B2 - PCI hot plug controller - Google Patents

PCI hot plug controller

Info

Publication number
JP3231719B2
JP3231719B2 JP35045098A JP35045098A JP3231719B2 JP 3231719 B2 JP3231719 B2 JP 3231719B2 JP 35045098 A JP35045098 A JP 35045098A JP 35045098 A JP35045098 A JP 35045098A JP 3231719 B2 JP3231719 B2 JP 3231719B2
Authority
JP
Japan
Prior art keywords
hot plug
pci
switch
controller
slot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35045098A
Other languages
Japanese (ja)
Other versions
JP2000172389A (en
Inventor
章雄 小林
Original Assignee
甲府日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 甲府日本電気株式会社 filed Critical 甲府日本電気株式会社
Priority to JP35045098A priority Critical patent/JP3231719B2/en
Publication of JP2000172389A publication Critical patent/JP2000172389A/en
Application granted granted Critical
Publication of JP3231719B2 publication Critical patent/JP3231719B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、PCI(Prog
rammable・Communications・I
nterface)バスを用いたシステムにおいて、P
CIホットプラグスロットのホットプラグ制御を行うP
CIホットプラグ制御装置に関する。
TECHNICAL FIELD The present invention relates to a PCI (Prog)
rammableCommunicationsI
In a system using an interface bus, P
P for hot plug control of CI hot plug slot
The present invention relates to a CI hot plug control device.

【0002】[0002]

【従来の技術】特開平10−116206号公報の従来
技術では、バスとコネクタを電気的に接続するためのス
イッチ手段と、更にバスとコネクタを電気的に分離する
ためのイジェクトスイッチをそれぞれ具備している。
2. Description of the Related Art The prior art disclosed in Japanese Patent Application Laid-Open No. 10-116206 is provided with a switch means for electrically connecting a bus and a connector, and an eject switch for electrically separating the bus and the connector. ing.

【0003】[0003]

【発明が解決しようとする課題】しかし、数多くの拡張
スロットを有する装置では、拡張スロット周辺の空間は
コネクタやケーブル、固定具等が占有しており、更に2
つのスイッチを装着する事は厳しく、機構が複雑にな
り、コストアップの要因になっていた。
However, in an apparatus having a large number of expansion slots, the space around the expansion slots is occupied by connectors, cables, fixtures, and the like.
Mounting the two switches was severe, complicating the mechanism and increasing the cost.

【0004】また、この従来技術によると、デバイスの
装着されるコネクタからの電圧変化やDETECT信号
によってデバイスの装着検出をしているが、コネクタの
電源制御がされていない為に、脱着するデバイスによっ
ては、LSI等の入出力ピンを破壊してしまう恐れが有
った。
Further, according to this prior art, the device mounting is detected by a voltage change from the connector to which the device is mounted or the DETECT signal. However, since the power supply of the connector is not controlled, depending on the device to be removed. Has a risk of destroying input / output pins of an LSI or the like.

【0005】本発明の目的は、ハードウエア量を減ら
し、操作を簡易化する事が出来るPCIホットプラグ制
御装置を提供することにある。
An object of the present invention is to provide a PCI hot plug control device capable of reducing the amount of hardware and simplifying the operation.

【0006】[0006]

【課題を解決するための手段】本発明によるPCIホッ
トプラグ制御装置は、PCIバスと各PCIホットプラ
グスロットの間に設けられたPCIバススイッチと、各
PCIホットプラグスロット毎に設けられた電源コント
ローラと、同じくPCIホットプラグスロット毎に設け
られたホットプラグスイッチと、このホットプラグスイ
ッチの操作によるホットプラグスイッチイベントが発生
したとき、当該PCIホットプラグスロットの運用の有
無を判別し、その判別結果に応じて当該PCIホットプ
ラグスロットに対応する前記PCIバススイッチ及び電
源コントローラを制御して、当該PCIホットプラグス
ロットに対する接続・分離のホットプラグ処理を行うホ
ットプラグコントローラとを有する。
A PCI hot plug control device according to the present invention comprises a PCI bus switch provided between a PCI bus and each PCI hot plug slot, and a power supply controller provided for each PCI hot plug slot. And a hot plug switch provided for each PCI hot plug slot, and when a hot plug switch event occurs due to operation of the hot plug switch, the presence or absence of operation of the PCI hot plug slot is determined. A hot plug controller that controls the PCI bus switch and the power supply controller corresponding to the PCI hot plug slot to perform hot plug processing for connection / disconnection to the PCI hot plug slot.

【0007】さらに、ホットプラグコントローラは、P
CIバススイッチ及び電源コントローラからの運用情報
を各PCIホットプラグスロット毎に格納する運用情報
格納機能と、ホットプラグスイッチイベントを保持する
イベント保持機能と、前記運用情報からホットプラグス
イッチイベントが接続であるか分離であるかを判別する
ホットプラグ処理判別機能と、その判別結果に応じてP
CIバススイッチ及び電源コントローラを制御するホッ
トプラグ処理機能とを有する。
Further, the hot plug controller has a P
An operation information storage function for storing operation information from the CI bus switch and the power supply controller for each PCI hot plug slot, an event holding function for holding a hot plug switch event, and a hot plug switch event based on the operation information are connected. And a hot plug processing determination function for determining whether or not separation has occurred.
It has a hot plug processing function for controlling the CI bus switch and the power supply controller.

【0008】又は、当該PCIバススイッチ及びホット
プラグスイッチの状況から当該ホットプラグスイッチイ
ベントが接続であるか分離であるかを判別するイベント
判別回路を備え、ホットプラグコントローラは、その判
別結果に応じて当該PCIバススイッチ及び電源コント
ローラを制御する。
Alternatively, an event discriminating circuit for discriminating whether the hot plug switch event is connection or disconnection from the status of the PCI bus switch and the hot plug switch is provided, and the hot plug controller responds to the discrimination result. It controls the PCI bus switch and the power supply controller.

【0009】すなわち、本発明によるPCIホットプラ
グ制御装置は、各PCIホットプラグスロット毎に1つ
のホットプラグスイッチを有し、ホットプラグスイッチ
を操作するとホットプラグスイッチイベントが発生す
る。発生したホットプラグスイッチイベントはホットプ
ラグコントローラに通知される。ホットプラグコントロ
ーラは、予め各PCIホットプラグスロットの運用状態
を保持しており、ホットプラグスイッチイベントが発生
したPCIホットプラグスロットが運用中でなければC
onnect処理、運用中であればDisconnec
t処理と判断する事により、OS(Operating
・System)上でホットプラグドライバを起動する
事無く容易かつ確実に電源制御とPCIバスサイクルの
制御を行い、PCIバスとオプションボードを接続又は
分離するホットプラグ機能を実現出来る。
That is, the PCI hot plug control device according to the present invention has one hot plug switch for each PCI hot plug slot, and a hot plug switch event occurs when the hot plug switch is operated. The generated hot plug switch event is notified to the hot plug controller. The hot plug controller holds the operating state of each PCI hot plug slot in advance, and if the PCI hot plug slot in which the hot plug switch event has occurred is not operating, C
Connect processing, if in operation, Disconnect
OS (Operating)
The system can easily and surely control the power supply and control the PCI bus cycle without starting the hot plug driver on the System), thereby realizing a hot plug function for connecting or separating the PCI bus and the option board.

【0010】図を参照して説明すると、図1において、
各PCIホットプラグスロット21・22毎に有するホ
ットプラグスイッチ41又は42を押下すると、ホット
プラグ信号61・62によりホットプラグコントローラ
5にホットプラグスイッチイベントが通知される。
Referring to FIG. 1, in FIG.
When the hot plug switch 41 or 42 provided for each of the PCI hot plug slots 21 and 22 is pressed, the hot plug controller 5 is notified of the hot plug switch event by the hot plug signals 61 and 62.

【0011】図2において、ホットプラグコントローラ
5は、内部に有する運用情報格納機能51を参照して、
ホットプラグスイッチイベント52がConnect処
理54なのかDisconnect処理55なのかを判
別機能53にて判別し、ホットプラグ処理を実行する。
In FIG. 2, the hot plug controller 5 refers to an internal operation information storage function 51,
The determination function 53 determines whether the hot plug switch event 52 is the connection processing 54 or the disconnect processing 55, and executes the hot plug processing.

【0012】この様に各PCIホットプラグスロット2
1・22毎にホットプラグスイッチ41・42を有し、
ホットプラグコントローラ5内に各PCIホットプラグ
スロット毎の運用情報を保持することにより、ハードウ
エア量を減らし、ホットプラグ制御装置の操作を簡易化
する事を特徴としている。
Thus, each PCI hot plug slot 2
It has hot plug switches 41 and 42 for every 1.22,
The hot plug controller 5 stores operation information for each PCI hot plug slot, thereby reducing the amount of hardware and simplifying the operation of the hot plug control device.

【0013】[0013]

【発明の実施の形態】次に、本発明の実施の形態を図面
に従って詳細に説明する。
Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0014】図1は、PCIホットプラグスロットを2
つ有するシステムでの実施例である。このシステムは、
PCIバス1と、2つのPCIホットプラグスロット2
1・22と、PCIバス1と各PCIホットプラグスロ
ット21・22との間に設けられたPCIバススイッチ
11・12と、各PCIホットプラグスロット21・2
2毎の電源コントローラ31・32と、各PCIホット
プラグスロット21・22毎のホットプラグスイッチ4
1・42と、ホットプラグコントローラ5とで構成され
ている。
FIG. 1 shows two PCI hot plug slots.
This is an example of a system having one. This system is
PCI bus 1 and two PCI hot plug slots 2
1, PCI bus switches 11 and 12 provided between the PCI bus 1 and the respective PCI hot plug slots 21 and 22, and the respective PCI hot plug slots 21 and 2.
2 and a hot plug switch 4 for each PCI hot plug slot 21/22.
1 and 42 and the hot plug controller 5.

【0015】ホットプラグコントローラ5には、OSか
らホットプラグインターフェース信号69、各ホットプ
ラグスイッチ41・42からホットプラグ信号61・6
2、各電源コントローラ31・32から電源確定信号6
5・66が入力される。また、ホットプラグコントロー
ラ5からは、各電源コントローラ31・32へ電源制御
信号63・64、PCIバススイッチ11・12へPC
Iバススイッチ制御信号67・68が出力される。
The hot plug controller 5 receives a hot plug interface signal 69 from the OS and a hot plug signal 61.6 from each of the hot plug switches 41 and 42.
2. Power supply determination signal 6 from each power supply controller 31/32
5.66 is input. In addition, the hot plug controller 5 sends power control signals 63 and 64 to the power controllers 31 and 32, and PC signals to the PCI bus switches 11 and 12.
I bus switch control signals 67 and 68 are output.

【0016】図2は、ホットプラグコントローラ5内の
機能説明図である。ホットプラグコントローラ5は、各
電源コントローラ31・32及び各PCIバススイッチ
11・12からの運用情報を格納する運用情報格納機能
51、ホットプラグスイッチ41・42からのホットプ
ラグスイッチイベントを保持するイベント保持機能(イ
ベントレジスタ)52、ホットプラグ処理判別機能5
3、Disconnect処理54、Connect処
理55を有する。すなわち、後述するように運用情報格
納機能51は、各PCIホットプラグスロットのPCI
バススイッチ及び電源コントローラから各PCIホット
プラグスロットのPCIバス接続情報及びPCIスロッ
トへの電源供給情報を受けてこれをこれを格納するもの
である。そして、ホットプラグ判別機能53は、ホット
プラグスイッチが押下されたことをトリガとして、運用
情報格納機能51に格納された情報によって、押下され
たスイッチに対応するスロットの運用状態(つまり、当
該スロットにPCIカードが実装されているか否か)を
判別し、Connect処理またはDisconnec
t処理のいずれを行うかを判定する。
FIG. 2 is an explanatory diagram of functions in the hot plug controller 5. The hot plug controller 5 has an operation information storage function 51 for storing operation information from each of the power supply controllers 31 and 32 and each of the PCI bus switches 11 and 12, and an event storage for storing hot plug switch events from the hot plug switches 41 and 42. Function (event register) 52, hot plug processing determination function 5
3. It has a disconnect process 54 and a connect process 55. That is, as will be described later, the operation information storage function 51
It receives PCI bus connection information of each PCI hot plug slot and power supply information to the PCI slots from the bus switch and the power supply controller and stores them. When the hot plug switch is pressed, the hot plug determination function 53 uses the information stored in the operation information storage function 51 as a trigger to operate the slot corresponding to the pressed switch (i.e., PCI card is mounted or not), and the Connect processing or the Disconnect
It is determined which of the t processes is to be performed.

【0017】上記のようなシステムにおいて、本発明に
よるPCIホットプラグ制御装置は、OSからのホット
プラグインターフェース信号69により、ホットプラグ
コントローラ5が電源制御信号63・64や電源確定信
号65・66、さらにPCIバススイッチ制御信号67
・68を用いて、電源コントローラ31・32やPCI
バススイッチ11・12を制御するホットプラグ機能を
実現する。
In the system as described above, in the PCI hot plug control device according to the present invention, the hot plug controller 5 uses the hot plug interface signal 69 from the OS to control the power control signals 63 and 64, the power determination signals 65 and 66, PCI bus switch control signal 67
・ 68, power supply controllers 31 and 32 and PCI
A hot plug function for controlling the bus switches 11 and 12 is realized.

【0018】そのために、ホットプラグスイッチ41と
ホットプラグスイッチ42を設け、またホットプラグコ
ントローラ5内に、図2で示すように各PCIホットプ
ラグスロット毎の運用情報を格納する運用情報格納機能
51を設け、ホットプラグスイッチイベント52が発生
したPCIホットプラグスロット21・22の運用状態
を判別するホットプラグ処理判別機能53を設ける事に
より、ホットプラグスイッチイベントがDisconn
ect処理54かConnect処理55かを判別する
事で、ホットプラグスイッチ41・42によるConn
ect処理又はDisconnect処理の起動を実現
しているものである。
For this purpose, a hot plug switch 41 and a hot plug switch 42 are provided, and an operation information storage function 51 for storing operation information for each PCI hot plug slot as shown in FIG. By providing a hot plug process determining function 53 for determining the operating state of the PCI hot plug slots 21 and 22 where the hot plug switch event 52 has occurred, the hot plug switch event
By determining whether the process is the ect process 54 or the connect process 55, the Conn by the hot plug switches 41 and 42 is determined.
The activation of the ect process or the disconnect process is realized.

【0019】その詳細な動作を図1と図2を参照して説
明する。例えば、PCIホットプラグスロット21のホ
ットプラグスイッチ41を押下すると、ホットプラグ信
号61を通じてホットプラグコントローラ5にホットプ
ラグ処理要求が通知される。ホットプラグコントローラ
5は、PCIホットプラグスロット21の運用状態格納
機能51により、PCIホットプラグスロット21が運
用状態に有る場合はDisconnect処理54に移
行し、停止状態に有る場合はConnect処理55に
移行し、ホットプラグ処理を行う。
The detailed operation will be described with reference to FIGS. For example, when the hot plug switch 41 of the PCI hot plug slot 21 is pressed, a hot plug processing request is notified to the hot plug controller 5 through the hot plug signal 61. The hot plug controller 5 causes the operation state storage function 51 of the PCI hot plug slot 21 to shift to the disconnect processing 54 when the PCI hot plug slot 21 is in the operating state, and shifts to the connect processing 55 when the PCI hot plug slot 21 is in the stopped state. And hot plug processing.

【0020】ホットプラグ信号61がConnect処
理55の場合、ホットプラグコントローラ5は、電源制
御信号63を介して電源ON指示を電源コントローラ3
1に出力し、電源コントローラ31は電源ON指示を受
けると、PCIホットプラグスロット21に対して各種
電源を供給し、各種電源供給が安定すると電源確定信号
65により電源確定をホットプラグコントローラ5に通
知する。
When the hot plug signal 61 is the connect processing 55, the hot plug controller 5 issues a power ON instruction via the power control signal 63 to the power controller 3.
1, when the power controller 31 receives the power ON instruction, it supplies various power to the PCI hot plug slot 21, and when the various power is stabilized, notifies the hot plug controller 5 of the power determination by the power determination signal 65. I do.

【0021】次に、ホットプラグコントローラ5は、正
常に電源が立ち上がったことを確認すると、PCIバス
スイッチ制御信号67によりPCIバススイッチ11を
制御して、PCIバス1とPCIホットプラグスロット
21を接続する。
Next, when the hot plug controller 5 confirms that the power is normally turned on, the hot plug controller 5 controls the PCI bus switch 11 by the PCI bus switch control signal 67 to connect the PCI bus 1 to the PCI hot plug slot 21. I do.

【0022】ホットプラグコントローラ5は、PCIバ
ス1への接続を完了すると、ホットプラグコントローラ
5内のイベントレジスタ52をクリアし、ホットプラグ
インターフェース信号69によりOSにConnect
処理が終了した事を通知し、OSは、PCIバス1に接
続されたPCIカードに必要なドライバを起動し、PC
Iホットプラグスロット21の運用を開始する。
When the connection to the PCI bus 1 is completed, the hot plug controller 5 clears the event register 52 in the hot plug controller 5 and connects to the OS by the hot plug interface signal 69.
The OS notifies that the processing has been completed, and activates a driver required for the PCI card connected to the PCI bus 1, and
The operation of the I hot plug slot 21 is started.

【0023】ホットプラグ信号61がDisconne
ct処理55の場合、ホットプラグコントローラ5は、
ホットプラグインターフェース信号69によりDisc
onnect処理54の要求をOSに送出する。OS
は、Disconnect処理要求を受け付けると、P
CIホットプラグスロット21の運用を停止させドライ
バを切り離した後、ホットプラグインターフェース信号
69によりホットプラグコントローラ5に、PCIホッ
トプラグスロット21のためのDisconnect指
示を送出する。
If the hot plug signal 61 is
In the case of the ct process 55, the hot plug controller 5
Disc by hot plug interface signal 69
The request of the connect process 54 is sent to the OS. OS
Receives the disconnect processing request,
After stopping the operation of the CI hot plug slot 21 and disconnecting the driver, a disconnect instruction for the PCI hot plug slot 21 is sent to the hot plug controller 5 by the hot plug interface signal 69.

【0024】ホットプラグコントローラ5は、OSから
のDisconnect要求を受けると、PCIバスス
イッチ制御信号67によりPCIバススイッチ11をO
FFし、PCIバス1とPCIホットプラグスロット2
1を切り離す。ホットプラグコントローラ5は、PCI
バススイッチ11をOFFすると、電源制御信号63に
より電源コントローラ31に電源のOFF指示を出す。
When receiving the disconnect request from the OS, the hot plug controller 5 turns off the PCI bus switch 11 by the PCI bus switch control signal 67.
FF, PCI bus 1 and PCI hot plug slot 2
Disconnect 1 The hot plug controller 5 is a PCI
When the bus switch 11 is turned off, a power-off instruction is issued to the power controller 31 by the power control signal 63.

【0025】電源コントローラ31は、電源OFF指示
によりPCIホットプラグスロット21の電力供給を停
止すると、電源確定信号65にて電源が落ちた事をホッ
トプラグコントローラ5に通知し、ホットプラグコント
ローラ5は、PCIホットプラグスロット21の電力供
給が停止した事を確認する。ホットプラグコントローラ
5は、電力供給が停止すると、ホットプラグ指示信号5
9によりDisconnectが終了した事を通知す
る。
When the power supply controller 31 stops supplying power to the PCI hot plug slot 21 in response to the power OFF instruction, the power supply controller 31 notifies the hot plug controller 5 that the power has been turned off by the power supply determination signal 65, and the hot plug controller 5 It is confirmed that the power supply to the PCI hot plug slot 21 has been stopped. When the power supply stops, the hot plug controller 5 issues a hot plug instruction signal 5
9 notifies that Disconnect has ended.

【0026】図3は、ホットプラグコマンド又はホット
プラグスイッチにより起動されるConnect処理/
Disconnect処理の流れを示したフローチャー
トである。この図において、ステップA1はホットプラ
グコマンドイベント、A2はConnect処理判定、
Bはホットプラグスイッチイベント、B1はPCIカー
ド運用判定、CはConnect処理、C1はConn
ect処理の正常終了判定、DはDisconnect
処理のOS通知、D1はPCIホットプラグスロットの
運用停止、D2はPCIホットプラグスロットで使用し
ていたドライバ停止、D3はDisconnect処
理、D4はDisconnect処理の正常終了判定、
EはConnectしたPCIホットプラグスロットの
ドライバ起動、E1はConnectしたPCIホット
プラグスロットの運用開始、E2はConnectイベ
ント終了、FはConnect処理失敗によるPCIホ
ットプラグスロットの切り離し処理、F1はホットプラ
グイベントの異常終了通知、GはDisconnect
イベント終了である。
FIG. 3 is a flowchart showing the connection processing / connection processing started by a hot plug command or a hot plug switch.
It is a flow chart which showed the flow of Disconnect processing. In this figure, step A1 is a hot plug command event, A2 is a Connect process determination,
B is a hot plug switch event, B1 is a PCI card operation determination, C is a connect process, C1 is a Conn.
normal termination of ect processing, D is Disconnect
OS notification of processing, D1 stops the operation of the PCI hot plug slot, D2 stops the driver used in the PCI hot plug slot, D3 disconnect processing, D4 normal termination of disconnect processing,
E is the driver activation of the connected PCI hot plug slot, E1 is the operation start of the connected PCI hot plug slot, E2 is the end of the connect event, F is the disconnection processing of the PCI hot plug slot due to the failure of the connect processing, and F1 is the hot plug event. Abnormal termination notification, G is Disconnect
Event is over.

【0027】次に、このフローチャートを用いて本発明
の特徴であるホットプラグスイッチによるConnec
t/Disconnect処理のソフトウエア動作につ
いて説明する。
Next, using this flowchart, the connection by the hot plug switch which is a feature of the present invention will be described.
The software operation of the t / Disconnect process will be described.

【0028】ホットプラグコントローラ5は、OS起動
時にPCIカードが実装されているPCIホットプラグ
スロットだけをPCIバス1に接続し、かつ電源供給を
行い、PCIカードが実装されていないPCIホットプ
ラグスロットはPCIバス1から切り離し、かつ電力供
給を行わない制御を行う。この様なシステムの運用中に
ホットプラグスイッチイベント(ステップB1)が発生
すると、ホットプラグコントローラ5は、ホットプラグ
スイッチイベントが発生したホットプラグスイッチに対
応するPCIホットプラグスロットのPCIバス接続情
報やPCIスロットへの電源供給情報を元に、PCIカ
ードの運用状態により、ホットプラグスイッチイベント
がConnect処理なのか、Disconnect処
理なのかを判定する(ステップB2)。
The hot plug controller 5 connects only the PCI hot plug slot in which the PCI card is mounted to the PCI bus 1 at the time of booting the OS and supplies power, and the PCI hot plug slot in which the PCI card is not mounted is Control is performed to disconnect from the PCI bus 1 and not to supply power. When a hot plug switch event (step B1) occurs during the operation of such a system, the hot plug controller 5 transmits the PCI bus connection information of the PCI hot plug slot corresponding to the hot plug switch in which the hot plug switch event has occurred and the PCI bus connection information. Based on the power supply information to the slot, it is determined whether the hot plug switch event is a Connect process or a Disconnect process based on the operation state of the PCI card (step B2).

【0029】ホットプラグスイッチイベントがConn
ect処理の場合、ホットプラグコントローラ5はCo
nnect処理(ステップC)に移行し、当該PCIホ
ットプラグスロットに対しConnect処理を実行す
る。Connect処理が終了すると、ホットプラグコ
ントローラ5は正常終了したか判定し(ステップC
1)、異常が有った場合は、切り離し処理(ステップ
F)に移行して当該PCIホットプラグスロットをPC
Iバスから切り離し、電源供給を停止した後、異常終了
通知(ステップF1)に移行し、OSに異常終了を通知
してホットプラグスイッチイベントを終了する。
If the hot plug switch event is Conn
In the case of ect processing, the hot plug controller 5
The process shifts to the nect process (step C) to execute the connect process for the PCI hot plug slot. When the Connect process ends, the hot plug controller 5 determines whether the process has ended normally (step C).
1) If there is an abnormality, the process proceeds to the disconnection process (step F) and the PCI hot plug slot is
After disconnecting from the I bus and stopping the power supply, the process proceeds to an abnormal end notification (step F1), notifies the OS of the abnormal end, and ends the hot plug switch event.

【0030】正常にConnect処理が終了した場
合、ホットプラグコントローラ5は正常終了した事をO
Sに通知し、OSは、これを受けてスロットドライバ起
動(ステップE)にてConnect処理を終了したP
CIホットプラグスロットのPCIカードの種類を判別
し、同PCIカード用のドライバの有無を判定し、無け
ればドライバをインストールしてからドライバを起動す
る(ステップE)。スロット運用開始(ステップE1)
にてPCIホットプラグスロットの運用を開始し、ホッ
トプラグスイッチイベントを終了する(ステップE
2)。
When the Connect process is completed normally, the hot plug controller 5 confirms that the process has been completed normally.
In response to this, the OS receives the notification and starts the slot driver (step E).
The type of the PCI card in the CI hot plug slot is determined, and the presence or absence of a driver for the PCI card is determined. If not, the driver is installed and the driver is started (step E). Start slot operation (step E1)
Starts the operation of the PCI hot plug slot and ends the hot plug switch event (step E).
2).

【0031】ホットプラグスイッチイベントがDisc
onnect処理の場合、ホットプラグコントローラ5
は、OS通知(ステップD)に移行し、ホットプラグイ
ベントのDisconnect処理が発生した事をOS
に通知する。OSは、ホットプラグコントローラ5から
のDisconnect処理要求を受けると、スロット
停止(ステップD1)に移行し、PCIホットプラグス
ロットで運用中のPCIカードの処理を停止させた後、
ドライバ停止(ステップD2)にて該当スロットのドラ
イバを停止し、Disconnect処理(ステップD
3)に移行する。このDisconnect処理にてホ
ットプラグコントローラ5は、当該PCIホットプラグ
スロットをPCIバスから切り離し、電源供給を停止す
る。
Hot plug switch event is Disc
In the case of the connect processing, the hot plug controller 5
Moves to the OS notification (step D), and informs the OS that the disconnect processing of the hot plug event has occurred.
Notify. When the OS receives the disconnect processing request from the hot plug controller 5, the OS shifts to the slot stop (step D1), and stops the processing of the PCI card operating in the PCI hot plug slot.
When the driver stops (step D2), the driver of the corresponding slot is stopped, and the disconnect processing (step D2) is performed.
Go to 3). In this disconnect process, the hot plug controller 5 disconnects the PCI hot plug slot from the PCI bus and stops power supply.

【0032】また、ホットプラグコントローラ5は、D
isconnectが正常終了したか判定し(ステップ
D4)、正常終了した場合はホットプラグコマンドを正
常終了し(ステップG)、異常が有った場合はホットプ
ラグコマンドを異常終了する(ステップF1)。
The hot plug controller 5 has a D
It is determined whether or not the disconnect is normally completed (step D4). If the disconnect is normally completed, the hot plug command is normally completed (step G). If there is an abnormality, the hot plug command is abnormally terminated (step F1).

【0033】また、このホットプラグ制御装置は従来の
ホットプラグ機能も有しており、OS上でホットプラグ
コマンドA1を起動し、ホットプラグコマンドA1にて
Connect処理又はDisconnect処理を指
示する事も可能である。
The hot plug control device also has a conventional hot plug function, and can activate a hot plug command A1 on the OS and instruct a connect process or a disconnect process by the hot plug command A1. It is.

【0034】図4は本発明の他の実施例を示す。この実
施例では、運用中のPCIホットプラグスロットは、ホ
ットプラグイベント信号が正論理、PCIバススイッチ
制御信号が正論理、運用していない状態では負論理とな
ることを利用して、Connect処理要求であるかD
isconnect処理要求かの判別を、ホットプラグ
コントローラ5外のイベント判別回路で行う。
FIG. 4 shows another embodiment of the present invention. In this embodiment, the PCI hot plug slot in operation uses the fact that the hot plug event signal has positive logic, the PCI bus switch control signal has positive logic, and the non-operating state has negative logic. Is D
An event determination circuit outside the hot plug controller 5 determines whether the request is an disconnect processing request.

【0035】図4のシステムでは、PCIバス1と、2
つのPCIホットプラグスロット21・22と、PCI
バス1と各PCIホットプラグスロット21・22との
間に設けられたPCIバススイッチ11・12と、各P
CIホットプラグスロット21・22毎の電源コントロ
ーラ31・32と、各PCIホットプラグスロット21
・22毎のホットプラグスイッチ41・42と、ホット
プラグコントローラ5に加え、Connect処理要求
信号70・71又はDisconnect処理要求信号
72・73を出力するイベント判別回路81・82を備
えている。
In the system shown in FIG. 4, the PCI buses 1 and 2
PCI hot plug slots 21 and 22 and PCI
PCI bus switches 11 and 12 provided between the bus 1 and the PCI hot plug slots 21 and 22;
A power controller 31/32 for each CI hot plug slot 21/22;
In addition to the hot plug switches 41 and 42 for each of the 22 and the hot plug controller 5, there are provided event discriminating circuits 81 and 82 for outputting Connect processing request signals 70 and 71 or Disconnect processing request signals 72 and 73.

【0036】いま、図4のPCIホットプラグスロット
21において、PCIバススイッチ制御信号60が正論
理の場合、PCIホットプラグスロット21は運用中の
状態であり、この時ホットプラグイベントが発生する
と、イベント判別回路81は、PCIバススイッチ制御
信号60の正論理とホットプラグ信号62のAND条件
をDisconnect処理と判定し、ホットプラグコ
ントローラ5にPCIホットプラグスロットDisco
nnect要求72を通知する。
Now, in the PCI hot plug slot 21 of FIG. 4, when the PCI bus switch control signal 60 is positive logic, the PCI hot plug slot 21 is in operation. The determination circuit 81 determines that the positive logic of the PCI bus switch control signal 60 and the AND condition of the hot plug signal 62 are disconnect processing, and the hot plug controller 5 sends the PCI hot plug slot
The nect request 72 is notified.

【0037】一方、PCIバススイッチ制御信号60が
負論理の場合、PCIホットプラグスロット21は運用
していない状態であり、この時ホットプラグイベントが
発生すると、イベント判別回路81は、PCIバススイ
ッチ制御信号60を反転した論理と、ホットプラグ信号
62のAND条件をConnect処理と判定し、ホッ
トプラグコントローラ5にPCIホットプラグスロット
Connect要求70を通知する。
On the other hand, when the PCI bus switch control signal 60 has a negative logic, the PCI hot plug slot 21 is not operating, and when a hot plug event occurs at this time, the event discriminating circuit 81 sets the PCI bus switch control. It determines that the logic of the signal 60 is inverted and the AND condition of the hot plug signal 62 is a connect process, and notifies the hot plug controller 5 of a PCI hot plug slot connect request 70.

【0038】ホットプラグコントローラ5は、各PCI
ホットプラグConnect要求70・71とPCIホ
ットプラグDisconnect要求72・74により
Connect処理又はDisconnect処理を実
行する事で、ホットプラグスイッチ42・43によるP
CIホットプラグ機能を実現する。
The hot plug controller 5 is connected to each PCI
By executing the connect process or disconnect process by the hot plug connect requests 70 and 71 and the PCI hot plug disconnect requests 72 and 74, the P by the hot plug switches 42 and 43
Implement the CI hot plug function.

【0039】[0039]

【発明の効果】本発明によれば、ホットプラグスイッチ
を備えたPCIホットプラグ制御装置を有するシステム
において、ホットプラグスイッチが操作されると、該当
PCIホットプラグスロットのPCIカードの運用状態
により、PCIカードのConnect処理又はDis
connectを自動的に行える為、誤った操作を行う
事がない。また、PCIカードの交換又は追加・取り外
し作業を行う際に、PCIホットプラグスロットを確認
しながらホットプラグコマンドを実行する事が出来、キ
ーボード又はマウスを操作するといった間接作業が介在
しないので、誤って他のPCIホットプラグスロットを
操作する事なく、容易に目的のPCIホットプラグスロ
ットに対してホットプラグ制御装置を操作出来る。
According to the present invention, when a hot plug switch is operated in a system having a PCI hot plug control device provided with a hot plug switch, the PCI card in the corresponding PCI hot plug slot is operated by the PCI card. Connect processing of card or Dis
Since the connection can be performed automatically, no erroneous operation is performed. In addition, when replacing or adding / removing a PCI card, a hot plug command can be executed while checking the PCI hot plug slot, and there is no indirect work such as operating a keyboard or a mouse. It is possible to easily operate the hot plug control device for a target PCI hot plug slot without operating another PCI hot plug slot.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明によるPCIホットプラグ制御装置のシ
ステム構成を示すブロック図である。
FIG. 1 is a block diagram showing a system configuration of a PCI hot plug control device according to the present invention.

【図2】図1中のホットプラグコントローラ内の機能説
明図である。
FIG. 2 is an explanatory diagram of functions in a hot plug controller in FIG. 1;

【図3】ホットプラグコマンド又はホットプラグスイッ
チにより起動されるConnect処理/Discon
nect処理の流れを示すフローチャートである。
FIG. 3 shows a Connect process / Discon activated by a hot plug command or a hot plug switch.
It is a flowchart which shows the flow of a nect process.

【図4】本発明の他の例のシステム構成を示すブロック
図である。
FIG. 4 is a block diagram showing a system configuration of another example of the present invention.

【符号の説明】[Explanation of symbols]

1 PCIバス 5 ホットプラグコントローラ 11・12 PCIバススイッチ 21・22 PCIホットプラグスロット 31・32 電源コントローラ 81・82 イベント判別回路 DESCRIPTION OF SYMBOLS 1 PCI bus 5 Hot plug controller 11 ・ 12 PCI bus switch 21 ・ 22 PCI hot plug slot 31 ・ 32 Power supply controller 81 ・ 82 Event discrimination circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】PCIバスと各PCIホットプラグスロッ
トの間に設けられたPCIバススイッチと、 各PCIホットプラグスロット毎に設けられた電源コン
トローラと、 同じくPCIホットプラグスロット毎に設けられたホッ
トプラグスイッチと、 このホットプラグスイッチの操作によるホットプラグス
イッチイベントが発生したとき、当該PCIホットプラ
グスロットの運用の有無を判別し、その判別結果に応じ
て当該PCIホットプラグスロットに対応する前記PC
Iバススイッチ及び電源コントローラを制御して、当該
PCIホットプラグスロットに対する接続・分離のホッ
トプラグ処理を行うホットプラグコントローラとを有す
ることを特徴とするPCIホットプラグ制御装置。
1. A PCI bus switch provided between a PCI bus and each PCI hot plug slot, a power supply controller provided for each PCI hot plug slot, and a hot plug also provided for each PCI hot plug slot When a hot plug switch event occurs due to operation of the hot plug switch, the presence or absence of operation of the PCI hot plug slot is determined, and the PC corresponding to the PCI hot plug slot is determined according to the determination result.
A PCI hot plug control device, comprising: a hot plug controller that controls an I bus switch and a power supply controller to perform hot plug processing for connection / disconnection to the PCI hot plug slot.
【請求項2】ホットプラグコントローラは、PCIバス
スイッチ及び電源コントローラからの運用情報を各PC
Iホットプラグスロット毎に格納する運用情報格納機能
と、ホットプラグスイッチイベントを保持するイベント
保持機能と、前記運用情報から前記ホットプラグスイッ
チイベントが接続であるか分離であるかを判別するホッ
トプラグ処理判別機能と、その判別結果に応じて前記P
CIバススイッチ及び電源コントローラを制御するホッ
トプラグ処理機能とを有する請求項1記載のPCIホッ
トプラグ制御装置。
2. The hot plug controller receives operation information from a PCI bus switch and a power supply controller for each PC.
An operation information storage function for storing each I hot plug slot, an event holding function for holding a hot plug switch event, and a hot plug process for determining whether the hot plug switch event is connection or separation from the operation information A discriminating function and the P
2. The PCI hot plug control device according to claim 1, further comprising a hot plug processing function for controlling the CI bus switch and the power supply controller.
【請求項3】当該PCIバススイッチ及びホットプラグ
スイッチの状況から当該ホットプラグスイッチイベント
が接続であるか分離であるかを判別するイベント判別回
路を備え、ホットプラグコントローラは、その判別結果
に応じて当該PCIバススイッチ及び電源コントローラ
を制御する請求項1記載のPCIホットプラグ制御装
置。
3. An event judging circuit for judging whether the hot plug switch event is connection or disconnection from the status of the PCI bus switch and the hot plug switch, and the hot plug controller responds to the judgment result. 2. The PCI hot plug control device according to claim 1, wherein said PCI hot plug control device controls said PCI bus switch and said power controller.
JP35045098A 1998-12-09 1998-12-09 PCI hot plug controller Expired - Fee Related JP3231719B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35045098A JP3231719B2 (en) 1998-12-09 1998-12-09 PCI hot plug controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35045098A JP3231719B2 (en) 1998-12-09 1998-12-09 PCI hot plug controller

Publications (2)

Publication Number Publication Date
JP2000172389A JP2000172389A (en) 2000-06-23
JP3231719B2 true JP3231719B2 (en) 2001-11-26

Family

ID=18410584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35045098A Expired - Fee Related JP3231719B2 (en) 1998-12-09 1998-12-09 PCI hot plug controller

Country Status (1)

Country Link
JP (1) JP3231719B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6532558B1 (en) * 2000-03-02 2003-03-11 International Business Machines Corporation Manufacturing testing of hot-plug circuits on a computer backplane
KR100374353B1 (en) * 2000-07-06 2003-03-04 삼성전자주식회사 Unit double board connection circuit
KR20030035316A (en) * 2001-10-31 2003-05-09 엘지전자 주식회사 Main processing circuit data board structure for hot swap
CN100550783C (en) * 2003-09-29 2009-10-14 华为技术有限公司 The detection of hot plug and processing method
JP4337783B2 (en) 2005-06-30 2009-09-30 セイコーエプソン株式会社 Data transfer control device and electronic device
US8990468B2 (en) 2008-05-28 2015-03-24 Nec Corporation I/O connection system, method and program
CN101582802B (en) * 2009-06-12 2013-04-24 华为技术有限公司 Operation maintenance system and method of network access device

Also Published As

Publication number Publication date
JP2000172389A (en) 2000-06-23

Similar Documents

Publication Publication Date Title
US5579491A (en) Local proactive hot swap request/acknowledge system
JP3231719B2 (en) PCI hot plug controller
JP4646859B2 (en) USB device and USB connection system
JP2003186697A (en) System and method for testing peripheral device
JPH0916427A (en) Duplex control method, master controller and slave controller therefor
KR19990079978A (en) PCI Hot Plug Device and Control Method Using I2C Bus
US10921875B2 (en) Computer system, operational method for a microcontroller, and computer program product
JPH06149718A (en) Switching system of input/output device
JP3022860B1 (en) Electronic device and hot-swap control method thereof
JP3006589B2 (en) Operation monitoring unit
JPH11202986A (en) Uninterruptible power supply system
CN116820837B (en) Exception handling method and device for system component
CN101201758A (en) Method for timer detection, multiprocessor switching and processor hot plug support
JPH07253834A (en) Module insertion / extraction control device
US7016995B1 (en) Systems and methods for preventing disruption of one or more system buses
JPH1165868A (en) Redundant actuation system
JPH07200334A (en) Duplicate synchronization operation system
JP3298989B2 (en) Failure detection / automatic embedded device
JP2738374B2 (en) Hot-swap method
JPH0511888A (en) Hot-swapping method of CPU mounting unit
US7941691B2 (en) Control of connecting apparatuses in information processing system
KR19980046377A (en) 1 + 1 redundancy circuit of control unit and switching method using same
JP2716274B2 (en) In-circuit emulator
JPH10320086A (en) Buffer control circuit
JPH10187473A (en) Duplex information processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080914

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090914

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees