On Fri, May 04, 2007 at 06:10:29AM +0200, Luc Verhaegen wrote: > You can take this sort of thing very far > A single bitwise clear is: > wbsio_mask(reg, 0x00, 0x10); > > A single bitwise set is: > wbsio_mask(reg, 0x10, 0x10);
Sorry about not looking at the code properly. I should go do something else now until I have time to do things properly around here. I assumed _mask was _clear and did not realize it could be used both for set and clear. The code is fine. I'd wish for a more descriptive but still consice name but can't come up with one. Committed r2627. //Peter -- linuxbios mailing list [email protected] http://www.linuxbios.org/mailman/listinfo/linuxbios
