[PATCH] switch to u64 SEQNUM and keep ACTION as a string

David Zeuthen david at fubar.dk
Tue Sep 14 04:28:30 PDT 2004


On Tue, 2004-09-14 at 03:29 +0200, Kay Sievers wrote:
> Here I change the HAL hotplug handling to better match the kernel.
> 
> The next kernel version will have a u64 hotplug sequence number starting
> at 1. Switch HAL to use unsigned 64bit int and adapt the logic not to
> rely on negative numbers. We use the 0 now to indicate a unset SEQNUM. 
> 
> We also can't be sure, that an ACTION != "add" is everytime a "remove"
> event, change that to pass the action string around instead of a flag.
> 
> David, please have a look, if the hotplug handling is still working as
> expected.
> 

Looks good to commit.

Thanks,
David

_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list