aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ic
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-287-7/+7
| | | | Notes: svn path=/head/; revision=50477
* Fixed 10 out of 40 lines of -Wcast-qual warnings/errors. 3 lines wereBruce Evans1999-05-131-4/+11
| | | | | | | | for old confusion of `volatile char *' with `volatile caddr_t'. 7 lines were for not being careful about aligning pointers to volatiles. Notes: svn path=/head/; revision=47108
* Implemented sending of BREAKs. This is quite complicated because theBruce Evans1998-12-171-1/+6
| | | | | | | | | | | hardware is interrupt-driven to a fault and sending a BREAK requires mode switching. Always running in the BREAK-capable mode as in PR 8318 would double the overhead for sending \0's. Reminded by: PR 8318 Notes: svn path=/head/; revision=41903
* Use [u]intptr_t instead of [unsigned] long to convert and/or representBruce Evans1998-08-101-2/+2
| | | | | | | | | | pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC. Notes: svn path=/head/; revision=38232
* Support compiling with `gcc -ansi'.Bruce Evans1998-04-151-4/+4
| | | | Notes: svn path=/head/; revision=35210
* Enable the FIFO on enhanced floppy controllers. This reduces theTor Egge1997-09-171-1/+2
| | | | | | | | | | | number of dma overruns/underruns for systems under heavy dma load. As a side effect, broken enhanced floppy controllers that sometimes don't detect dma overruns/underruns will give less errors. Reviewed by: j@uriah.heep.sax.de (J Wunsch) Notes: svn path=/head/; revision=29543
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notPeter Wemm1997-02-227-7/+7
| | | | | | | ready for it yet. Notes: svn path=/head/; revision=22975
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-147-7/+7
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* A #define really don't need a ; at the end.John Hay1996-10-281-2/+2
| | | | Notes: svn path=/head/; revision=19235
* Another round of merge/update.Satoshi Asami1996-09-121-2/+15
| | | | | | | | | | | | (1) Add PC98 support to apm_bios.h and ns16550.h, remove pc98/pc98/ic (2) Move PC98 specific code out of cpufunc.h (to pc98.h) (3) Let the boot subtrees look more alike Submitted by: The FreeBSD(98) Development Team <freebsd98-hackers@jp.freebsd.org> Notes: svn path=/head/; revision=18265
* Changes to the Digi/Arnet SYNC driver:Peter Wemm1996-03-171-1/+7
| | | | | | | | | | | | | | | | | | | | | 1. Create 2 x 8k transmit buffer blocks in place of the 16k block previously. With this change the speed as tested with ttcp on a 2Mbit link went up from 206kbyte/s to 236kbyte/s. 2. Change the rest of the functions to also have the definition of the return value on a sepperate line. 3. Remove some unused variables. 4. Add code to recover from DMA underruns. 5. Reorder ar_get_packets() to handle errors better. 6. Only allocate a mbuf cluster if the data is more than the mbuf. (and in a second diff in addition to the above) 7. Stops the occasional DMA underruns that occurred when 2 channels are running at 2Mbit/s. Submitted by: John Hay <jhay@mikom.csir.co.za> Notes: svn path=/head/; revision=14643
* Oops, this should have been committed with the other Hayes ESP changes.Bruce Evans1995-12-291-0/+76
| | | | Notes: svn path=/head/; revision=13105
* This driver supports the Arnet SYNC/570i ISA cards that is based on thePeter Wemm1995-11-211-0/+366
| | | | | | | | | | | | | | | | | | | | HD64570 chip. Both the 2 and 4 port cards is supported and auto detected. Line speeds of up to 2Mbps is possible. At this speed about 85% of the bandwidth is usable with 486DX processors. The standard FreeBSD sppp code is used for the link level layer. The default protocol used is PPP. The Cisco HDLC protocol can be used by adding "link2" to the ifconfig line in /etc/sysconfig or where ever ifconfig is run. At the moment only the V.35 and X.21 interfaces is supported. The others may need tweaks to the clock selection code. Submitted by: John Hay <jhay@mikom.csir.co.za> Notes: svn path=/cvs2svn/branches/JHAY/; revision=12437
* Staticized an inline function. All inlines in kernel headers should beBruce Evans1995-11-181-2/+2
| | | | | | | | static. The function shouldn't be here anyway. It is driver dependent, while `ic' files are supposed to only depend on the IC. Notes: svn path=/head/; revision=12360
* Cleanup, make things static.Poul-Henning Kamp1995-10-311-3/+3
| | | | Notes: svn path=/head/; revision=11961
* Rewrite:Bruce Evans1995-07-051-88/+165
| | | | | | | | | | | | | | - use pseudo-dma - provide the same features and interface as sio - support multiple boards - fix bugs. Some compile-time configuration constants are set to support higher speeds and Cyclom-16Y's at a 30% relative cost in efficiency. Cyclom-16Y support is untested. Notes: svn path=/head/; revision=9406
* Next version, many bugs fixedAndrey A. Chernov1995-06-141-43/+42
| | | | Notes: svn path=/head/; revision=9232
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8876
* RISCom/8 driverAndrey A. Chernov1995-05-121-0/+197
| | | | Notes: svn path=/head/; revision=8471
* Add the Cyclades serial driver code (ALPHA) from Andrew Werple andJordan K. Hubbard1995-02-091-0/+121
| | | | | | | | | | adapted to FreeBSD by Heikki Suonsivu <hsu@cs.hut.fi>. Submitted by: Andrew Werple <andrew@werple.apana.org.au> and Heikki Suonsivu <hsu@cs.hut.fi> Obtained from: NetBSD Notes: svn path=/head/; revision=6261
* Peter's work to work around one of the most annoying bugs in theJoerg Wunsch1995-01-061-1/+6
| | | | | | | | | | | | | floppy driver (or in the hardware?). It turned out to be caused by spurious interrupts, right after an FDC reset. Also major cleanup in the low-level structure, there are now functions performing error-checks for the FDC I/O. Submitted by: (mostly) Peter Dufault <dufault@FreeBSD.org> Notes: svn path=/head/; revision=5417
* DMA automode patch, fix SB16 clicksAndrey A. Chernov1994-11-011-1/+2
| | | | | | | Submitted by: tim@cs.city.ac.uk Notes: svn path=/head/; revision=4051
* Updated driver to the 1.1.5 version:David Greenman1994-09-171-4/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | date: 1994/05/22 12:35:38; author: joerg; state: Exp; lines: +6 -6 First round of floppy changes. Try making `fd' more robust. New features: . ioctl command for setting the drive type (density etc.); restricted to the super-user . ioctl for getting/seting `drive options'; currently only option is FDOPT_NORETRY: inhibit the usual retries; used when verifying a newly formatted track Fixes: . function prototypes . made all internal functions `static' . cleaned up & corrected .h files . restructured, to make the chaotic function sequence more rational . compiled with -Wall, and cleared all warnings . introduced a mirror for the (write-only) `digital output register', to avoid the current kludge . device probing completed by seeking/recalibrating, and looking for track 0 being found . holding the controller down in reset state while it is idle (and thus saving allot of headaches) . make requests fail that are not a multiple of the (physical) sector size . removed the fixed physical sector size (512 bytes), allowing for any size the controller could handle (128/256/512/1024 bytes) . replaced some silly messages . fixed the TRACE* macro usage, debugging reports should be complete now again (debugging output is HUGE! though) . removed fd_timeout for SEEK command; seeks are always reported by the controller to succeed, since the `success' only refers to the controller's idea of success - there is no hardware line to tell about the seek end (other than the `track 0' line) . catch SENSEI's that report about a `terminated due to READY changed' status - could happen after a controller reset . converted ``hz / <something>'' divide operations to divisors that are powers of two, so gcc can optimize them into shifts . write/format operations are checked against a write-protected medium now *prior* starting the operation . error reports of `invalid command' and `wrong cylinder' will cause shortcuts in the retrier() now . fixed a bug in the retrier() causing bogus block numbers to be reported . fdformat() does care for errors now Known Bugs: . no attempts have been made (yet) to improve the performance . sometimes, bogus ``seek/recalib failed'' messages are logged; this is still a bug in the driver, but it's not harmful since it's usually caught by the retrier() Reviewed by: Submitted by: Obtained from: Notes: svn path=/head/; revision=2838
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, someRodney W. Grimes1993-10-163-2/+6
| | | | | | | minor cleanup. Added $Id$ to files that did not have any version info, etc Notes: svn path=/head/; revision=619
* i82586 support file for Garrett Wollmans ie driverRodney W. Grimes1993-10-121-0/+325
| | | | Notes: svn path=/head/; revision=582
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-123-0/+130
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4