modifications to support portal driver as LKM
modifications to support portal driver as LKM