Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751535AbWANC7o (ORCPT ); Fri, 13 Jan 2006 21:59:44 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751516AbWANC7o (ORCPT ); Fri, 13 Jan 2006 21:59:44 -0500 Received: from rtlab.med.cornell.edu ([140.251.49.13]:16035 "EHLO openlab.rtlab.org") by vger.kernel.org with ESMTP id S1751380AbWANC7n (ORCPT ); Fri, 13 Jan 2006 21:59:43 -0500 Date: Fri, 13 Jan 2006 21:59:39 -0500 (EST) From: "Calin A. Culianu" X-X-Sender: calin@rtlab.med.cornell.edu To: linux-kernel@vger.kernel.org, akpm@osdl.org Cc: Willy Tarreau Subject: [PATCH] Watchdog: Winsystems EPX-C3 SBC Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-74707663-1292532669-1137207430=:9231" Content-ID: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12738 Lines: 228 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---74707663-1292532669-1137207430=:9231 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; FORMAT=flowed Content-ID: Hi all, This is a 2.6 patch that adds support for the watchdog timer built into the EPX-C3 single board computer manufactured by Winsystems, Inc. Driver details: This is for x86 only. This watchdog is pretty basic and simple. It is only configurable via jumpers on the SBC, and it only has either a 1.5s or 200s interval. The watchdog can either be auto-configured to start as soon as the machine powers up (bad idea for the 1.5s interval!) or it can be enabled and disabled by writing to io port 0x1ee. Petting the watchdog involves writing any value to io port 0x1ef. The only unfortunate thing about this watchdog (and it is not at all uncommmon in watchdogs that linux supports) is that it is not a PCI or ISA-PNP device and as such it isn't at all probeable. Either the watchdog exists as 2 bytes at 0x1ee, or it doesn't. Thus, using this driver on a machine that doesn't have that watchdog can potentially hang/crash the system, etc. So only use this driver if you in fact are on a Winsystems EPX-C3 SBC. Anyway this driver fits into the already-existing watchdog framework quite nicely and I already tested it on my EPX-C3 and it works like a charm. Please accept it! :) Thanks, -Calin ---74707663-1292532669-1137207430=:9231 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME=sbc_epx_c3_watchdog-2.6.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=sbc_epx_c3_watchdog-2.6.patch ZGlmZiAtdXJOIGxpbnV4LTIuNi4xNS5wcmVwYXRjaC9kcml2ZXJzL2NoYXIv d2F0Y2hkb2cvS2NvbmZpZyBsaW51eC0yLjYuMTUvZHJpdmVycy9jaGFyL3dh dGNoZG9nL0tjb25maWcNCi0tLSBsaW51eC0yLjYuMTUucHJlcGF0Y2gvZHJp dmVycy9jaGFyL3dhdGNoZG9nL0tjb25maWcJMjAwNi0wMS0wMiAyMjoyMTox MC4wMDAwMDAwMDAgLTA1MDANCisrKyBsaW51eC0yLjYuMTUvZHJpdmVycy9j aGFyL3dhdGNoZG9nL0tjb25maWcJMjAwNi0wMS0xMyAxNDoyNDozMC4wMDAw MDAwMDAgLTA1MDANCkBAIC0zOTUsNiArMzk1LDI4IEBADQogCSAgVG8gY29t cGlsZSB0aGlzIGRyaXZlciBhcyBhIG1vZHVsZSwgY2hvb3NlIE0gaGVyZTog dGhlDQogCSAgbW9kdWxlIHdpbGwgYmUgY2FsbGVkIG1hY2h6d2QuDQogDQor Y29uZmlnIFNCQ19FUFhfQzNfV0FUQ0hET0cNCisJdHJpc3RhdGUgIldpbnN5 c3RlbXMgU0JDIEVQWC1DMyB3YXRjaGRvZyINCisJZGVwZW5kcyBvbiBXQVRD SERPRyAmJiBYODYNCisJLS0taGVscC0tLQ0KKwkgIFRoaXMgaXMgdGhlIGRy aXZlciBmb3IgdGhlIGJ1aWx0LWluIHdhdGNoZG9nIHRpbWVyIG9uIHRoZSBF UFgtQzMNCisJICBTaW5nbGUtYm9hcmQgY29tcHV0ZXIgbWFkZSBieSBXaW5z eXN0ZW1zLCBJbm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rfbm90aWZpZXIoJmVweF9jM19ub3RpZmllcik7 DQorCQlyZXR1cm4gcmV0Ow0KKwl9DQorDQorCXByaW50ayhiYW5uZXIpOw0K Kw0KKwlyZXR1cm4gMDsNCit9DQorDQorc3RhdGljIHZvaWQgX19leGl0IHdh dGNoZG9nX2V4aXQodm9pZCkNCit7DQorCW1pc2NfZGVyZWdpc3RlcigmZXB4 X2MzX21pc2NkZXYpOw0KKwl1bnJlZ2lzdGVyX3JlYm9vdF9ub3RpZmllcigm ZXB4X2MzX25vdGlmaWVyKTsNCit9DQorDQorbW9kdWxlX2luaXQod2F0Y2hk b2dfaW5pdCk7DQorbW9kdWxlX2V4aXQod2F0Y2hkb2dfZXhpdCk7DQorDQor TU9EVUxFX0FVVEhPUigiQ2FsaW4gQS4gQ3VsaWFudSA8Y2FsaW5AYWp2YXIu b3JnPiIpOw0KK01PRFVMRV9ERVNDUklQVElPTigiSGFyZHdhcmUgV2F0Y2hk b2cgRGV2aWNlIGZvciBXaW5zeXN0ZW1zIEVQWC1DMyBTQkMuICBOb3RlIHRo YXQgdGhlcmUgaXMgbm8gd2F5IHRvIHByb2JlIGZvciB0aGlzIGRldmljZSAt LSBzbyBvbmx5IHVzZSBpdCBpZiB5b3UgYXJlICpzdXJlKiB5b3UgYXJlIHJ1 bm5uaW5nIG9uIHRoaXMgc3BlY2lmaWMgU0JDIHN5c3RlbSBmcm9tIFdpbnN5 c3RlbXMhICBJdCB3cml0ZXMgdG8gSU8gcG9ydHMgMHgxZWUgYW5kIDB4MWVm ISIpOw0KK01PRFVMRV9MSUNFTlNFKCJHUEwiKTsNCitNT0RVTEVfQUxJQVNf TUlTQ0RFVihXQVRDSERPR19NSU5PUik7DQo= ---74707663-1292532669-1137207430=:9231-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/