[ofw] changes to ibbus in SVN rev 1160

Sean Hefty sean.hefty at intel.com
Thu May 29 22:37:07 PDT 2008


>Revision 1160 added partitioning support.  This introduced a new IOCTL, however
>the AL_IOCTL_VERSION wasn't updated.  Anytime the IOCTLs are changed this needs
>to be updated so that applications fail gracefully if there's a version
>mismatch.

A new IOCTL shouldn't require updating the version.  A new app that uses the
IOCTL with an older kernel would simply get an error when it tried to issue the
request.  Other combinations of old/new apps/kernel won't see any issues.  If
you update the version, then you've broken all existing apps, none of which use
the new IOCTL.

- Sean




More information about the ofw mailing list