summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
Commit message (Collapse)AuthorAgeFilesLines
* Fixed printf format errors. `struct eisa_device' uses a strange typebde1998-08-231-8/+8
| | | | for the unit number (like most SCSI drivers).
* Added D_TTY to the cdevswitch flags for all tty drivers. This is requiredbde1998-08-231-9/+9
| | | | | | | | | for the Lite2 fix for always returning EIO in dead_read(). Cleaned up the cdevswitch initializers for all tty drivers. Removed explicit calls to ttsetwater() from all (tty) drivers. ttsetwater() is now called centrally for opens, not just for parameter changes.
* Cast an int to (intptr_t) before casting it to (void *).bde1998-08-161-4/+4
| | | | Don't cast a pointer to a long just to print it.
* Fixed yet more ioctl breakage due to the type of the `cmd' arg chaningingbde1998-08-161-6/+6
| | | | from int to u_long but not changing here.
* Add a macro tweak.steve1998-06-132-4/+5
| | | | | PR: 6932 Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* Correct name and number for sxdc modulesphk1998-06-101-3/+3
| | | | | | PR: 6891 Reviewed by: phk Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* Removed unused #includes.bde1998-03-281-2/+1
|
* Several changes:peter1998-03-233-284/+519
| | | | | | | | | | | | | | - Implement proper EISA probing. - Better support for the new transputer based host cards. - use standard termios settings, one can use the intial/lock devices. - use a simple bcopy since some cards/systems apparently don't support 32 bit accesses. - hard reset and halt host card CPU prior to download in case of a soft restart. - recognize new remote module types (ASIC vs. CD1400 based) - a number of cosmetic changes (my fault, not Nick's) Submitted by: Nick Sayer <nsayer@quack.kfu.com>
* New versions of Specialix host card download code.peter1998-03-232-0/+3466
| | | | Submitted by: Nick Sayer <nick@quack.kfu.com>
* merge from 2.2peter1998-03-211-2/+3
|
* Merge from 2.2, plus some other changes. In the config file entry,peter1998-03-211-48/+66
| | | | 'vector siintr' isn't used since the handler is assigned internally.
* Update to support SI/XIO PCI host cards (Z280 based) and the enhancedpeter1998-02-153-10/+235
| | | | | | | SXISA and SXPCI host cards (Transputer based). PR: 4836, 5021, 5654 Submitted by: Nick Sayer <nick@specialix.com>
* Implement the spirit but not the letter of Terrys hot-char patch.phk1998-02-131-13/+2
| | | | | | | The differences Terrys patch and this patch are: * Remove a lot of un-needed comments. * Don't put l_hotchar at the front of stuct linesw, there is no need to. * Use the #defines for the hotchar in the SLIP and PPP line disciplines
* Make the debug options new-style.eivind1998-01-311-1/+2
| | | | | This also zaps a DPT option from lint; it wasn't referenced from anywhere.
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.eivind1998-01-241-1/+2
| | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow.
* Make COMPAT_43 and COMPAT_SUNOS new-style options.eivind1997-12-161-1/+3
|
* Use ENOIOCTL instead of -1 (= ERESTART) for tty ioctls that arebde1997-12-061-3/+3
| | | | | not handled at a particular level. This fixes mainly restarting of interrupted TIOCDRAINs and TIOCSETA{W,F}s.
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-09-211-4/+4
| | | | | | | | | | | | if_ie.c if_wl.c if_zp.c isa.c isa_device.h labpc.c mcd.c ncr5380.c scd.c seagate.c si.c sio.c tw.c ultra14f.c wcd.c wd.c: Update for changes in the callout interface. apic_vector.s icu_vector.s ipl.s ipl_funcs.c: Add CAM software/hardware interrupt support.
* ipl.h:gibbs1997-09-211-1/+4
| | | | | | | Add CAM software/hardware interrupt support. si.h: Update for changes in the callout interface.
* Update select -> poll in drivers.peter1997-09-141-2/+2
|
* Removed unused #includes.bde1997-07-201-5/+1
|
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-201-7/+7
| | | | type mismatches. There was no problem in practice (at least on 386's).
* Don't include <sys/ioctl.h> in the kernel. Stage 5: includebde1997-03-241-2/+4
| | | | | | <sys/ioctl_compat.h> and sometimes <sys/filio.h> instead of <sys/ioctl.h> in tty-related files. <sys/ttycom.h> is still usually imported bogusly via <sys/termios.h>.
* Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined.bde1997-03-231-2/+2
| | | | | Fixed everything that depended on getting fcntl.h stuff from the wrong place. Most things don't depend on file.h stuff at all.
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-223-3/+3
| | | | ready for it yet.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-3/+3
| | | | | | | | 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.
* Some warning cleanups. There were some needless casts that also causedpeter1996-09-271-15/+12
| | | | | gcc -Wcast-qual to scream. There's still quite a few left, but since I'm cleaning out my tree, I'll commit these now.
* Remove devconf, it never grew up to be of any use.phk1996-09-061-34/+1
|
* Extend the poll code so that it can periodically scan the host cardspeter1996-08-121-4/+11
| | | | | | | for work regardless of whether there was an interrupt. This needs more work, it should be able to run better when there are more than 3 host cards present, ie: all cards in polling-only mode with no IRQ. (The host cards have a choice of 3 irq's, 11, 12, or 15, or just polling)
* make si.c compile in kernels without COMPAT_43.peter1996-08-031-2/+5
|
* ttysleep() can return EWOULDBLOCK, not ETIMEDOUT as the comment in tty.cpeter1996-07-261-2/+2
| | | | | | suggests. Pointed out by: bde
* Apply a bandaid to a problem elsewhere in the driver, when the process ispeter1996-07-261-2/+5
| | | | | | | | blocked in a write() while waiting for the output to drain, sleep only for tp->t_timeout, not forever. This only seems to happen when there is either a modem lockup holding the hardware flow control down, or due to some problem in the driver with processes attempting to write after the modem has hung up (eg: elm, tf).
* Fix typo that prevented the initial/lock state devices from workingpeter1996-06-301-2/+2
| | | | correctly (accessing the lock device was not possible).
* When writing the settings for stop bits and output hardware flow control,peter1996-06-211-18/+24
| | | | | | | | | things tend to work better if you write the settings to the correct register.. (*blush*). This subtle bug has been haunting me for ages, and will solve a few problems that have been reported to me. Also, take a shot at fixing the serial BREAK processing, what was there before never really worked. (There is a PR on this I think)
* This time, get rid of the struct copies that were really causing gcc topeter1996-06-171-4/+4
| | | | | call memcpy.. It seems that gcc would not inline the implicit call when copying from a volatile...
* Fix cut/paste error; a read-only variable should have been read/write.peter1996-06-161-2/+2
|
* Clean up -Wunused warnings.gpalmer1996-06-121-8/+4
| | | | Reviewed by: bde
* Eliminate a struct copy that gcc doesn't inline and ends up as a call topeter1996-06-081-2/+2
| | | | memset().
* When estimating the time (in ms) left to drain the output queue basedpeter1996-05-301-4/+4
| | | | | | on the baud rate, dont get upset if it's been hung up by setting B0. Instead, sleep for a short time, as the host controller takes a while to go through the state changes.
* *blush* How did this slip through?peter1996-05-081-2/+5
| | | | | Fix a dynamic initialiser in a static variable, and make sure sysctl.h is #included.
* Change the logic of the interrupt/poll loop. It no longer loops untilpeter1996-05-051-4/+15
| | | | | | | | | | it empties all of the 256 byte incoming fifo, as it can spend more time processing one port than intended, especially if data is streaming in at 115.2K. The port fifo will be emptied and dumped into the tty system and left until next time. I've been running this for quite some time on one of my systems here. Also, if the tty layer is blocked or full it lets the hardware assert the flow control rather than loosing the data.
* Change the compiled-in polling parameters to a sysctl setting.peter1996-05-051-7/+11
|
* Switched from using devfs_add_sw() to using devfs_add_swf()scrappy1996-03-281-4/+4
| | | | Reviewed by: julian@freebsd.org
* Avoid local sprintfs and other printf'isms.phk1996-01-251-23/+16
|
* Use the new & improved printf rather than homegrown kludges.phk1996-01-161-9/+5
| | | | Proposed by: bde
* clean up si_dprintf a bit so that it uses vararg argument parsing that doespeter1996-01-091-6/+17
| | | | not cause warnings, and uses printf() to do a vprintf()-like output.
* Fix the number of ports created for devfs.. it had been only creatingpeter1996-01-021-2/+2
| | | | | | | enough nodes for the number of ports on the last module, not the number of ports _total_ that the driver is managing... Submitted by: Robert Sanders <rsanders@mindspring.com>
* Fix last "fix" - I had introduced a fencepost error.. :-(peter1996-01-021-2/+2
| | | | Happily pointed out by: julian :-)
* Fix up the DEVFS minor numbers that the Specialix driver registers...peter1996-01-021-7/+11
|
OpenPOWER on IntegriCloud