summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp/rpvar.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace all calls to minor() with dev2unit().ed2008-09-271-1/+1
| | | | | | | | | | | | | | | After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere. This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware. Reviewed by: kib
* - Make rp(4) 64-bit- and endian-clean as well as work on strict alignmentmarius2006-11-201-2/+2
| | | | | | | | | | archs. [1] - Instead of bus_space_{read,write}*(rman_get_bustag(), rman_get_bushandle()) use bus_{read,write}*() for efficiency. Reported by: Peter Losher [1] Tested on: i386, sparc64 MFC after: 2 weeks
* Fix -Wundef from compiling the amd64 LINT.ru2005-12-041-1/+1
|
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-061-1/+1
|
* Use tty layer generic code instead of local copy.phk2004-10-041-13/+0
| | | | | Device names {cua,tty}R%r[.init,.lock] clashes with pty(4) driver and allows for only 32 ports. This should probably be revisited.
* Introduce ttygone() which indicates that the hardware is detached.phk2004-07-111-1/+0
| | | | Move dtrwait logic to the generic TTY level.
* Force the RxBuf and TxBuf arrays to be aligned on 16-bit boundaries togallatin2001-11-051-2/+2
| | | | | | make the driver work on alpha approved by: tanimura
* - Eliminate rpread(). Call generic ttyread(). (cf rev 1.33)tanimura2000-06-121-0/+3
| | | | | | | - Comment out deftermios. Termioschars() will give the default value. Pointed out by: bde
* 1. Update Comtrol RocketPort driver(rp) to version 3.02.tanimura2000-06-111-11/+3
| | | | | | | | | | | | | | | | | | 2. Newbusify the driver. 3. Build as a module. 4. Use correct minor numbers when creating device files. 5. Correctly lock control characters. 6. Return ENXIO when device not configured. Submitted by: Tor Egge <Tor.Egge@fast.no> 7. Fix the baud_table. Submitted by: Elliot Dierksen <ebd@oau.org> Note: - the old driver still lives in src/sys/i386/isa, so that you can revert to it if something goes wrong. - The module does not detach very well. Attaching works fine.
* Add $FreeBSD$peter2000-05-011-0/+2
|
* ISA driver for Comtrol Rocketport serial cards. No PCI probe stubjkh1997-08-281-0/+90
was submitted to me. Submitted by: Amir Farah <amir@comtrol.com>
OpenPOWER on IntegriCloud