Re: qla2xxx: Correct compilation issues when CONFIG_MOUDLES=n (was: Re: linux-next: Tree for September 7 (scsi/qla2x))

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

 



On Fri, 11 Sep 2009, Andrew Vasquez wrote:

> The struct device's kobj from pdev->dev?
> 
> My udev-foo is pathetic, so how exactly would that get multiplexed at
> the udev side?
> 
> 	KERNEL=="???", SUBSYSTEM=="???", ACTION=="change", RUN+="qla2xxx_udev.sh"

Ok, udevadm helps a bit...  Let me see if I can convert this uevent
off of:

	kobject_uevent_env(&(&vha->hw->pdev->dev)->kobj, KOBJ_CHANGE, envp);

to something meaningful:

	UEVENT[1252714722.263731] change
	/devices/pci0000:17/0000:17:08.0/0000:1e:00.0 (pci)
	ACTION=change
	DEVPATH=/devices/pci0000:17/0000:17:08.0/0000:1e:00.0
	SUBSYSTEM=pci
	FW_DUMP=6
	DRIVER=qla2xxx
	PHYSDEVBUS=pci
	PHYSDEVDRIVER=qla2xxx
	PCI_CLASS=C0400
	PCI_ID=1077:2532
	PCI_SUBSYS_ID=1077:015C
	PCI_SLOT_NAME=0000:1e:00.0
	MODALIAS=pci:v00001077d00002532sv00001077sd0000015Cbc0Csc04i00
	SEQNUM=3574

Thanks, AV
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux