Re: [PATCH] usb driver for intellon based PLC like devolo dlan duo

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

 



Am Samstag 18 April 2009 11:06:19 schrieb Peter Holik:
> Sorry explained it the wrong way.
> I've taken get_ethernet_addr as codebase from cdc_ether.c, but had to
> modify it a little bit.
>
> cdc_ether.c:
>
> static inline int
> get_ethernet_addr(struct usbnet *dev, struct usb_cdc_ether_desc *e)
> {
>         int             tmp, i;
>         unsigned char   buf [13];
>
>         tmp = usb_string(dev->udev, e->iMACAddress, buf, sizeof buf);

If that's the only difference, add a parameter, export that function from
usbnet and make your and cdc-ether's methods wrappers for this.

	Regards
		Oliver

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

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux