Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re-scan bus for ata controllers



paul%whooppee.com@localhost (Paul Goyette) writes:

>Is drvctl supposed to work for ata controllers?

sort of...

>       {150} drvctl -p /dev/atabus0
>       drvctl: get-properties: No such process

netbsd-4
% drvctl -p atabus0
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict/>
</plist>

netbsd-current
% drvctl -p atabus0
Properties for device `atabus0':
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
        <key>device-driver</key>
        <string>atabus</string>
        <key>device-unit</key>
        <integer>0x0</integer>
</dict>
</plist>

Not much to be seen, the dictionary entries in -current come from
the autoconfig process.

>       {151} drvctl -r /dev/atabus0
>       drvctl: DRVRESCANBUS: Device not configured

# drvctl -r atabus0
drvctl: DRVRESCANBUS: Device not configured

atabus doesn't implement a rescan. In the times of eSATA this should
be added.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index