From: Christian Cotte-Barrot <Christian.Cotte-Barrot@bull.net>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Epca patches
Date: Thu, 23 Jan 2003 12:53:54 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709805740@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 3360 bytes --]
Here are two patches for the epca driver Version 1.5.0-1 (4001450N)
to support IA64 hardware platforms.
The patches have been built using the Digigiboard software package
available for download from http://ftp.digi.com/support/drivers/linux
Two distributions:
4001450N.src.rpm RPM source
4001450N.tar.gz Compressed 'tar' archive of 4001450M.rpm
Patches have been tested with a 2.4.19 kernel over a RedHat 7.2
The first, epca-1.50-1.diff.gz, is against the Digiboard software package
It contains modifications for both driver and supporting tools,
mainly the digiDload command.
The second, epca-1.50-1_ia-64_2.4.19.diff.gz, is against 2.4.19 kernel tree
From the strictly viewpoint of the Digiboard software, it contains
modifications for the driver only.
It results from a simple copy of the Digiboard software package
driver sources to the kernel drivers tree (./drivers/char)
Additional directive has been inserted to the makefile
(./drivers/char/Makefile) to get a compilation with good gcc options.
The first time this patch is applied, it is mandatory to get the
supporting tools part of the first patch to have a digiDload command
coherent with the new epca driver binary (new board types and ioctls)
epca.rc is also useful for that the /dev/dg/epca/digiCtl be get created
with the right 38 major number.
Compilation of the epca driver as module in the kernel tree:
# make menuconfig
Character devices
[*] Non-standard serial port support
<M> Digiboard Intelligent Async Support
Summary of changes:
- Added new ioctls DIGI_CXFIRM_INIT, DIGI_CXFIRM_NEXT and DIGI_CXFIRM_DOWNL
ioctl's are used to copy over an AccelePort concentrator image from the
userspace program digiDload, into the kernel driver itself.
- Changed the major number for the /dev/dg/epca/digiCtl from 35 to 38.
35 looks like already used by the tclmidi MIDI driver.
- Added support for some Digiboard-IBM and Digiboard-Bull adapters
128-Port Asynchronous (IBM, DEVICE_ID = 0x001B)
128port Digi International AccelePort C/X (Bull, DEVICE_ID = 0x0017)
8port Accelport Xr 920 (Bull, DEVICE_ID = 0x0013)
- Multiboard management: check consistency for insmod parameters,
i.e. definitions of the driver's data should match the MODULE_PARM
declarations. e.g.:
static uint mod_numports [MAXCARDS] = {0,};
MODULE_PARM(mod_numports, "1-" __MODULE_STRING(MAXCARDS) "i")
- Added minimal support for "new-style" pci functions
Related to pci_register_driver(), ... functions located
in ./drivers/pci/pci.c in the kernel tree.
- Added some debugging traces
Regards.
--
+===========+=======================+==================================+
| |\/\/\/| | | |
| | | |Christian Cotte-Barrot |org. :BULL/ |
| | (~)(o) |Bull S.A. |office:FREC/B1-401 |
| C _) |1, rue de Provence |mailto: |
| | ,___| |B.P. 208 | Christian.Cotte-Barrot@bull.net|
| | / |38432 ECHIROLLES CEDEX |phone :+33 (0)476297725 (229 7725)|
| /----\ |FRANCE |fax :+33 (0)476297891 (229 7891)|
+===========+=======================+==================================+
[-- Attachment #2: epca-1.50-1.diff.gz --]
[-- Type: application/octet-stream, Size: 25720 bytes --]
[-- Attachment #3: epca-1.50-1_ia-64_2.4.19.diff.gz --]
[-- Type: application/octet-stream, Size: 84490 bytes --]
next reply other threads:[~2003-01-23 12:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-23 12:53 Christian Cotte-Barrot [this message]
2003-01-23 17:14 ` [Linux-ia64] Epca patches Bjorn Helgaas
2003-01-24 15:15 ` Christian Cotte-Barrot
2003-01-24 16:03 ` Bjorn Helgaas
2003-01-28 14:24 ` Christian Cotte-Barrot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590709805740@msgid-missing \
--to=christian.cotte-barrot@bull.net \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.