On 12/ 4/10 08:37 AM, Masayuki Murayama wrote:
----- Original Message -----
Date: Fri, 03 Dec 2010 11:58:34 PST
From: raghu<[email protected]>
To: [email protected]
Subject: [driver-discuss] Ethernet driver : Testing NICDRV


Hello,

Was testing our driver with NICDRV. It passed all of the tests, but it was co
mplaining about functional/test11 NIC driver dynamic reconfiguration support.
Basically it failed at  "ERROR: cfgadm -y -c connect pcie5 failed". So any on
e please clarify whether cfgadm needs any special support in ethernet driver.
If so please mail me pointers to doc and sample so that I can finish of with
this last issue in NICDRV.
ThanX
Raghu.
When I tested my driver, test11 reported "UNSUPPERTED". It depends on if your
pcie slot is hot-plug or not, I guess.
-masa

Yes. The cfgadm command requires the device is hotplug capable.
A hotplug capable device could expose its hotplug capability via PCIE
capability registers in its config space. Solaris hotplug framework could
recognize this sort of device and create a hotplug property on x86 platform.

Anyway, it requires hardware support.

I think NICDRV could be improved to detect hardware hotplug capability by parsing
prtconf output.

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to