Update of /cvsroot/linux-vax/kernel-2.4/arch/ppc/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv14646/arch/ppc/kernel
Added Files:
pmac_feature.c
Log Message:
DA: additional files from 2.4.1[78] kernels..
--- NEW FILE ---
/*
* BK Id: %F% %I% %G% %U% %#%
*/
/*
* arch/ppc/kernel/pmac_feature.c
*
* Copyright (C) 1996-2001 Paul Mackerras (pa...@cs...)
* Ben. Herrenschmidt (be...@ke...)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* TODO:
*
* - Replace mdelay with some schedule loop if possible
* - Shorten some obfuscated delays on some routines (like modem
* power)
[...2083 lines suppressed...]
* be later turned on)
*/
set_initial_features();
}
void __init
pmac_feature_late_init(void)
{
struct device_node* np;
/* Request some resources late */
if (uninorth_node)
request_OF_resource(uninorth_node, 0, NULL);
np = find_devices("hammerhead");
if (np)
request_OF_resource(np, 0, NULL);
np = find_devices("interrupt-controller");
if (np)
request_OF_resource(np, 0, NULL);
}
|