[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pc386/i386ex ne2000 drivers
- Date: 6 Aug 1999 16:07:30 -0400
- From: ian at airs.com (Ian Lance Taylor)
- Subject: pc386/i386ex ne2000 drivers
Date: Fri, 06 Aug 1999 14:56:42 -0700
From: "erik.ivanenko" <erik.ivanenko at utoronto.ca>
Neither the patch sent by Joel, which had the 8 bit stuff, nor this one could be
applied cleanly to my driver source. In fact, in the patch that you gave me, all
hunks fail, unless I use -R. Then only half of them fail. In the patch that Joel
gave me, only 3 fail.
My patch was against the 19990528 sources (which for the pc386 ne2000
driver are identical to the 19990709 sources). I wasn't trying to
send you a patch against your sources.
The other huge difference is in the order of initialization. (May or may not be
important ):
my code:
start daemons
ne_init_hardware
install irq handler
dist:
ne_init_hardware
install irq handler
start daemons.
With my patch, it goes:
start daemons
ne_init_hardware
install irq handler
or in other words the same as your code.
When I run the distibution, and trigger debug messages, I get an infinite loop
detailing that the: NE200 status is 0xFF (8259 enabled: yes; mask : FFD2 )
The status is consistently 0xff? Are you sure you're using the right
IO port number for your board?
Ian