Okay, given the test code below, I don't expect test11 to be useful 
unless used on a platform that supports PCI hotplug.  (There are few, if 
any, such platforms available.)  I wouldn't worry about it.

    -- Garrett

Alan DuBoff wrote:
> On Fri, 27 Jun 2008, Garrett D'Amore wrote:
>
>> Alan DuBoff wrote:
>>> On Thu, 26 Jun 2008, Garrett D'Amore wrote:
>>>
>>>
>>>> Remind me again, what is test11?  I'd be surprised if there were 
>>>> any portions of the test that sfe couldn't support.
>>>>
>>>
>>> DR(dynamic reconfiguration) test
>>> Test NIC driver dynamic reconfiguration support
>>>
>>> This was added in the past 6 months I believe, and I don't think 
>>> there is any smarts on the sfe, so I figured that was not supported.
>>>
>>> Should it be?
>>>
>>
>> I'll need to look at the test.  Is there an internal path somewhere, 
>> where I can read the sources on line.  If the test actually expects 
>> to be able to use cfgadm, then it will not be supported.  But if the 
>> test uses modunload/modload, then it *should* work.
>
> You can look on westlake or sparc if you like, but here's a snippet 
> from test11:
>
> bash-3.2# pwd
> /opt/SUNWstc-nicdrv/tests/functional/test11
>
> bash-3.2# less dr.auto
>
> ...
>
> # use cfgadm command to configure and unconfigure
> # the attachment ponit for 10 times
> # $1 is the attachment point ID
> test_fail()
> {
>         echo "ERROR: $1"
>         echo "cfgadm"
>         cfgadm
>         echo "ifconfig -a"
>         ifconfig -a
>         if [ -n "$AP_ID" ]; then
>                 echo "cfgadm -f -c connect $AP_ID"
>                 cfgadm -f -c connect $AP_ID
>                 echo "cfgadm -c configure $AP_ID"
>                 cfgadm -c configure $AP_ID
>         fi
>         plumb_interface
>         exit $STF_FAIL
> }
>
> -- 
>
> Alan DuBoff - Solaris x86 IHV/OEM Group

_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to