--- zzzz-none-000/linux-2.4.17/include/asm-ppc/prom.h 2001-08-28 13:58:33.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/asm-ppc/prom.h 2004-11-24 13:21:50.000000000 +0000 @@ -1,5 +1,5 @@ /* - * BK Id: SCCS/s.prom.h 1.19 08/17/01 15:23:17 paulus + * BK Id: SCCS/s.prom.h 1.25 12/03/01 10:00:02 trini */ /* * Definitions for talking to the Open Firmware PROM on @@ -86,6 +86,10 @@ extern int prom_n_addr_cells(struct device_node* np); extern int prom_n_size_cells(struct device_node* np); +extern struct resource* +request_OF_resource(struct device_node* node, int index, const char* name_postfix); +extern int release_OF_resource(struct device_node* node, int index); + extern void print_properties(struct device_node *node); extern int call_rtas(const char *service, int nargs, int nret, unsigned long *outputs, ...);