diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-01-05 23:39:50 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-01-05 23:39:50 +0000 |
commit | a58cf51551081a1d809042da8c672d073825f374 (patch) | |
tree | 38a1563f24af510e09e154791003d618b936500a /net-wireless/ndiswrapper/files | |
parent | Marked ~ppc. (diff) | |
download | gentoo-2-a58cf51551081a1d809042da8c672d073825f374.tar.gz gentoo-2-a58cf51551081a1d809042da8c672d073825f374.tar.bz2 gentoo-2-a58cf51551081a1d809042da8c672d073825f374.zip |
Made 1.2 die when 2.6.14 or newer is used, added a new revision of 1.2 with a patch from bug #117706 and added myself as a maintainer.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'net-wireless/ndiswrapper/files')
-rw-r--r-- | net-wireless/ndiswrapper/files/digest-ndiswrapper-1.2-r1 | 1 | ||||
-rw-r--r-- | net-wireless/ndiswrapper/files/ndiswrapper-1.2-kernel-2.6.14.patch | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.2-r1 b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.2-r1 new file mode 100644 index 000000000000..93befd80e381 --- /dev/null +++ b/net-wireless/ndiswrapper/files/digest-ndiswrapper-1.2-r1 @@ -0,0 +1 @@ +MD5 5be0bbe524b68de03c1fc1b0b85b3b60 ndiswrapper-1.2.tar.gz 150068 diff --git a/net-wireless/ndiswrapper/files/ndiswrapper-1.2-kernel-2.6.14.patch b/net-wireless/ndiswrapper/files/ndiswrapper-1.2-kernel-2.6.14.patch new file mode 100644 index 000000000000..8b7c01e00415 --- /dev/null +++ b/net-wireless/ndiswrapper/files/ndiswrapper-1.2-kernel-2.6.14.patch @@ -0,0 +1,29 @@ +diff -uNr ndiswrapper-1.2/driver/ndis.h ndiswrapper-1.2.mod/driver/ndis.h +--- ndiswrapper-1.2/driver/ndis.h 2005-06-10 20:24:31.000000000 +0100 ++++ ndiswrapper-1.2.mod/driver/ndis.h 2005-10-01 16:20:12.000000000 +0100 +@@ -238,7 +238,7 @@ + void (*enable_interrupts)(void *ctx) STDCALL; + + /* Stop miniport */ +- void (*halt)(void *ctx) STDCALL; ++ void (*miniport_halt)(void *ctx) STDCALL; + + /* Interrupt BH */ + ndis_interrupt_handler handle_interrupt; +diff -uNr ndiswrapper-1.2/driver/wrapper.c ndiswrapper-1.2.mod/driver/wrapper.c +--- ndiswrapper-1.2/driver/wrapper.c 2005-06-10 20:24:31.000000000 +0100 ++++ ndiswrapper-1.2.mod/driver/wrapper.c 2005-10-01 16:19:43.000000000 +0100 +@@ -280,11 +280,11 @@ + void miniport_halt(struct wrapper_dev *wd) + { + struct miniport_char *miniport = &wd->driver->miniport; +- TRACEENTER1("driver halt is at %p", miniport->halt); ++ TRACEENTER1("driver halt is at %p", miniport->miniport_halt); + + miniport_set_int(wd, OID_PNP_SET_POWER, NdisDeviceStateD3); + +- LIN2WIN1(miniport->halt, wd->nmb->adapter_ctx); ++ LIN2WIN1(miniport->miniport_halt, wd->nmb->adapter_ctx); + + ndis_exit_device(wd); + misc_funcs_exit_device(wd); |