Hi,

Attached is a patch that integrates my fixed RTL 8019 2.4.x driver
to the current 2.6.x tree, including the Kconfig configurability.
I've left the s3c440bx copy in arch/arm there, as I don't know
whether it is safe to move it out; however, it cannot compile
due to MOD_INC_USE_COUNT and uses the broken code anyway.

The second patch fixes a compile problem for s3c440 - not that
I have the hardware, but during my experiments I tried
to compile this and noticed a small problem.

Both patches are against 20070130 + 20070130-20070823.patch

SkyEye-folks: please commit the driver patch somewhere
into the SVN, so other can test as well.


The driver is basically working in SkyEye for AT91, with
a little problem of
  Unbalanced enable for IRQ 16
  WARNING: at kernel/irq/manage.c:158 enable_irq()
[<0101c6fc>] (dump_stack+0x0/0x14) from [<0103bb00>] (enable_irq+0x68/0xb0)
[<0103ba98>] (enable_irq+0x0/0xb0) from [<010aa014>]
(nic_8019_open+0x154/0x190)
 r5:01134d74 r4:00000000
[<010a9ec0>] (nic_8019_open+0x0/0x190) from [<010be890>]
(dev_open+0x60/0xc0)
 r6:00001002 r5:00001043 r4:01134d74
[<010be830>] (dev_open+0x0/0xc0) from [<010bcc28>]
(dev_change_flags+0x60/0x128)
 r4:01134d74
[<010bcbc8>] (dev_change_flags+0x0/0x128) from [<010f6e64>]
(devinet_ioctl+0x264/0x664)
 r7:01196800 r6:01fd7ed0 r5:00000000 r4:00000001
[<010f6c00>] (devinet_ioctl+0x0/0x664) from [<010f76e4>]
(inet_ioctl+0xcc/0xfc)
[<010f7618>] (inet_ioctl+0x0/0xfc) from [<010b3fbc>]
(sock_ioctl+0x198/0x1e4)
[<010b3e24>] (sock_ioctl+0x0/0x1e4) from [<01057b64>] (do_ioctl+0x38/0x80)
 r6:00008914 r5:0133fee0 r4:00008914
[<01057b2c>] (do_ioctl+0x0/0x80) from [<01057df0>] (vfs_ioctl+0x244/0x26c)
 r5:012705a0 r4:0133fee0

Googling for this it might be that this is a problem
outside of the driver and the fix is in the works,
so I did not try to fix it as well.

I have no idea whether the driver works for real hardware -
I needed this for the emulator only.


Regards
-- 
                                     Stano

Attachment: s3c440-2.6.x.patch.bz2
Description: Binary data

Attachment: rtl8019-2.6.x.patch.bz2
Description: Binary data

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to