[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian non-x86 kernel arches



On Sun, May 23, 2004 at 05:27:02PM -0500, Troy Benjegerdes wrote:
> On Sun, May 23, 2004 at 11:52:07PM +0200, Christoph Hellwig wrote:
> > On Sun, May 23, 2004 at 11:33:15PM +0200, Jens Schmalzing wrote:
> > > Someone had to write that patch in the first place.  That's what all
> > > this is about, and when I asked on debian-powerpc nobody cared to
> > > answer, so I kludged around it as well as I could.  Thanks to
> > > Christoph, who dug up an ugly but working patch, the g5 flavour is now
> > > history.  Meaning, I finished building, testing, and uploading new
> > > kernel-image packages less than an hour ago.
> > 
> > There's a few more patches of that style in SuSE's tree.  I've attached
> > them, but if you don't actually need them I'd say hide them in your
> > closet for the time beeing :)
> 
> Is there any ppc machine we still need floppy support on? Can floppy be
> made a module only?

All old world pmacs (that is those prior to the blue&white G3, but not
the nubus ones which we don't support) have and need the floppy disk, as
this is the only way to do the initial boot on those, with miboot.

> Serial is a bigger mess.. So what can we do that mainline would accept?
> 
> Would something like the following work?
> 
> 	if(no_isa_blind_probe()) {
> 		printk("%s: Machine is not safe for blind ISA probe\n,'
> 			__FUNCTION__);
> 		return -ENODEV;
> 	}
> 
> 
> where PPC would have:
> 
> 	static inline no_isa_blind_probe() {
> 		if (_machine == _MACH_Pmac)
> 			return 1;
> 		else
> 			return 0;
> 	}
> 
> And x86 could have:
> 
> 	static inline no_isa_blind_probe() { return 0;}

That sounds nice.

Friendly,

Sven Luther



Reply to: