Searched hist:150521 (Results 1 - 3 of 3) sorted by last modified time

/freebsd-11-stable/sys/sys/
H A Dtypes.hdiff 150521 Sat Sep 24 17:31:10 MDT 2005 phk Add two convenience functions for device drivers: bus_alloc_resources()
and bus_free_resources(). These functions take a list of resources
and handle them all in one go. A flag makes it possible to mark
a resource as optional.

A typical device driver can save 10-30 lines of code by using these.

Usage examples will follow RSN.

MFC: A good idea, eventually.
H A Dbus.hdiff 150521 Sat Sep 24 17:31:10 MDT 2005 phk Add two convenience functions for device drivers: bus_alloc_resources()
and bus_free_resources(). These functions take a list of resources
and handle them all in one go. A flag makes it possible to mark
a resource as optional.

A typical device driver can save 10-30 lines of code by using these.

Usage examples will follow RSN.

MFC: A good idea, eventually.
/freebsd-11-stable/sys/kern/
H A Dsubr_bus.cdiff 150521 Sat Sep 24 17:31:10 MDT 2005 phk Add two convenience functions for device drivers: bus_alloc_resources()
and bus_free_resources(). These functions take a list of resources
and handle them all in one go. A flag makes it possible to mark
a resource as optional.

A typical device driver can save 10-30 lines of code by using these.

Usage examples will follow RSN.

MFC: A good idea, eventually.

Completed in 387 milliseconds