[Soekris] Net 4801 Debian install

Kourosh Ghassemieh soekris at mindwaresystems.com
Tue Aug 26 04:35:05 UTC 2003


Hi Jay,

This is quite easy, I just did it myself a few days ago =)
What I did was navigate to the linux-2.4.2x/drivers/pci/
directory and edit the pci.o file.  on/about line 1478
changed the line temp->hdr_type = hdr_type & 0x7f; to
(hdr_type & 0x7f) > 2.  Then I compiled as usual and 
copied everything to the flash, rebooted, and good to
go =)

Hope this helps.

Kourosh

On Mon, 2003-08-25 at 21:08, Jay Doscher wrote:
> Does anyone feel like spelling this out a bit for those of use not
> familiar with patching? 
> 
> Namely me :)
> 
> Thanks,
> 
> Jay
> 
> > -----Original Message-----
> > From: soekris-tech-admin at lists.soekris.com 
> > [mailto:soekris-tech-admin at lists.soekris.com] On Behalf Of M. 
> > Warner Losh
> > Sent: Thursday, August 21, 2003 8:45 PM
> > To: quendor at nandor.net
> > Cc: soekris at mindwaresystems.com; soekris-tech at lists.soekris.com
> > Subject: Re: [Soekris] Net 4801 Debian install
> > 
> > 
> > In message: <1B21FDCF-D451-11D7-8E80-000393DC8A5E at nandor.net>
> >             quendor at nandor.net writes:
> > : 	On or around line 1476;
> > : 	 if (pci_read_config_byte(temp, PCI_HEADER_TYPE, &hdr_type))
> > :                          continue;
> > :          <
> > :          <               if (hdr_type & (PCI_HEADER_TYPE_NORMAL |
> > :          <                       PCI_HEADER_TYPE_CARDBUS | 
> > : PCI_HEADER_TYPE_BRIDGE))
> > :          <                       continue;
> > :          <
> > 
> > That patch is bogus.  Use "(hdr_type & 0x7f) > 2" instead.
> > 
> > Warner 
-- 
Kourosh Ghassemieh <soekris at mindwaresystems.com>




More information about the Soekris-tech mailing list