Staging: ipack: Parse vendor and device id.
Also expose the values through sysfs.
Signed-off-by: Jens Taprogge <jens.taprogge@taprogge.org>
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/drivers/staging/ipack/ipack.h b/drivers/staging/ipack/ipack.h
index 2851e33..a3cd5598 100644
--- a/drivers/staging/ipack/ipack.h
+++ b/drivers/staging/ipack/ipack.h
@@ -74,8 +74,10 @@
struct ipack_addr_space io_space;
struct ipack_addr_space mem_space;
struct device dev;
- unsigned char *id;
+ u8 *id;
size_t id_avail;
+ u32 id_vendor;
+ u32 id_device;
u8 id_format;
};