summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* if_ep.c clarification/simplification.itojun1997-10-142-273/+92
| | | | | | | | | | | | | | - irq = 9 problem (PR 4693) - mbuf chaining oddity fixed. (PR 4693) - trailer protocol has gone. (PR 4693) - removed mbuf kludge, we got higher performance. (PR 4693) - some indentation fixes I'm sorry that I couldn't make a 2.2.5-RELEASE deadline. PR: 4693 Reviewed by: babkin@hq.icb.chel.su Submitted by: hamada@tom-yam.or.jp
* Last major round (Unless Bruce thinks of somthing :-) of malloc changes.phk1997-10-123-4/+4
| | | | | | | | Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
* Back out my LALT -> META change until we figure out a way to make itjkh1997-10-121-2/+2
| | | | work sympathetically with the function keys.
* Attempt to support IPX.peter1997-10-121-1/+22
| | | | | Suggested patch by: Vasily V. Grechishnikov <bazilio@ied-vorstu.ac.ru> (plus cut/paste, whitespace and typo fixes)
* Remove a #ifndef __FreeBSD__ chunk.phk1997-10-111-5/+1
|
* Change default keymap (I left all the international ones alone) sojkh1997-10-101-2/+2
| | | | | that LALT is META by default. This will make the emacs users happy. Approved by: sos
* Despam 1.11, 1.12 and 1.13 caused by no sync between author/committer/CURRENTmarkm1997-10-081-14/+36
|
* Latest round of patches from the author.markm1997-10-073-18/+102
| | | | | | | | | | | | | This driver includes the following patches submitted by: 1.0 Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp> Japanese Cable support 2.0 Keith Sklower <sklower@CS.Berkeley.EDU> Minor update to the BSDI section so it compiles cleanly on BSDI 3.0 Joao Carlos Mendes Luis <jonny@coppe.ufrj.br> ioctl interface to select video format , NTSC, PAL, etc...
* Make the blank screen saver work with MDA and CGA. The fade and greenyokota1997-10-043-37/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | savers are also modified so that they behave in the same way as the blank saver on MDA and CGA, although it's not the way these screen savers are supposed to work, but fading monitor and tickling green monitor cannot be done on MDA and CGA, AFAIK. So, this is the second best solution. As of this change, the current state of support of screen savers is summarized in the following table. MDA CGA EGA VGA blank OK OK NA OK daemon OK OK OK OK fade * * NA OK green * * NA OK snake OK OK OK OK star OK OK OK OK OK: works NA: doesn't work, the module cannot be loaded for this adapter. *: behave the same way as the blank saver. As you can see, EGA is left out for now. But, we can do no better, as EGA registers cannot be read... Reviewed by: sos
* Backed out part of a previous change: don't set ZWS on '790 chips; it hasdg1997-10-031-6/+1
| | | | | | shown to be harmful in that it results in the card not being detected properly on warmboot due to the station address failing to be read correctly from the NVRAM.
* Add a new keyboard mode K_CODE. Returns a single byte for each keysos1997-10-012-13/+25
| | | | | | | | much like the scancode mode. However the keys that (for no good reason) returns extension codes etc, are translated into singlebyte codes. Needed by libvgl. This makes life ALOT easier, also the XFree86 folks could use this.
* To obey the traditional practice in mbuf chaining.itojun1997-10-011-10/+15
| | | | | PR: 4020 Reviewed by: hamada@astec.co.jp
* Killed a gratuitous assignment in a NetBSD case.dg1997-09-301-5/+1
|
* Two changes which should make the system less suseptible to receiverdg1997-09-301-29/+29
| | | | | | | overruns (not that it was a problem, but it could be): 1) Doubled the number of receive buffers in the DMA chain to 64. 2) Do packet receive processing before transmit in the interrupt routine.
* Work around a bug in the 82557 NIC where the receiver will lock updg1997-09-293-57/+198
| | | | | | | | | | | | | | | | | | | | | | | if it is in 10Mbps mode and gets certain types of garbage prior to the packet header. The work-around involves reprogramming the multicast filter if nothing is received in some number of seconds (currently set at 15). As a side effect, implemented complete support for multicasting rather than the previous 'receive all multicasts' hack, since we now have the ability to program the filter table. Fixed a serious bug which crept in with the timeout() changes; the cookie was only saved on the first timeout() call in fxp_init() and wasn't updated in the most common place in fxp_stats_update() when the timeout was rescheduled. This bug would have resulted in an eventual panic if fxp_stop() was called (which happens when any interface flags are changed, for example). Fixed a bug in Alpha support that would have caused the TxCB descriptor chain to span a page boundry, causing serious problems if the pages didn't happen to be contiguous. Removed some gratuitous bit masking that was left over from an older implementation. Fixed a bug where too much was copied from the configuration template, spilling over into memory that followed it. Fixed handling of if_timer...it was cleared too early in some cases.
* Add support to aicasm for "downloaded constants". These are immediategibbs1997-09-2713-62/+211
| | | | | | | | | | | | | | | | | | | | | | | | operands that are set during seqeuncer program download instead of at assembly time. Convert the sequencer code to use" downloaded constants" for four run time constants that vary depending on the board type. This frees up 4 bytes of sequencer scratch ram space where these constants used to be stored and also removes the additional instructions required to load their values into the accumulator prior to using them. Remove the REJBYTE sram variable. The host driver can just as easly read the accumulator to get this value. The scratch ram savings is important as the old code used to clober the SCSICONF register on 274X cards which sits near the top of scratch ram space. The SCSICONF register controls bus termination, and clobbering it is not a good thing. Now we have 4 bytes to spare. This should fix the reported problems with cards that don't have devices attached to them failing with a stream of "Somone reset bus X" messages. Doug Ledford determined the cause of the problem, fixes by me.
* Clustered read and write are switched at mount-option level.kato1997-09-271-3/+3
| | | | | | | | | | | | | | | | 1. Clustered I/O is switched by the MNT_NOCLUSTERR and MNT_NOCLUSTERW bits of the mnt_flag. The sysctl variables, vfs.foo.doclusterread and vfs.foo.doclusterwrite are deleted. Only mount option can control clustered I/O from userland. 2. When foofs_mount mounts block device, foofs_mount checks D_CLUSTERR and D_CLUSTERW bits of the d_flags member in the block device switch table. If D_NOCLUSTERR / D_NOCLUSTERW are set, MNT_NOCLUSTERR / MNT_NOCLUSTERW bits will be set. In this case, MNT_NOCLUSTERR and MNT_NOCLUSTERW cannot be cleared from userland. 3. Vnode driver disables both clustered read and write. 4. Union filesystem disables clutered write. Reviewed by: bde
* The previous commit broke support for the Pro/10; detect which sort ofmsmith1997-09-261-7/+25
| | | | card we are using and calculate the IRQ accordingly.
* tiny update of ESC sequence parser.itojun1997-09-261-5/+23
| | | | | | | - some addition of comments (for readability) - iso-2022 G0 designation support. This does almost nothing. Just for avoiding garbled screen when got "ESC ( B". (how about G1/2/3 designation? I'm not sure)
* Fix a call to timeout that wasn't properly saving it's callout handle.gibbs1997-09-231-2/+2
| | | | Submitted by: durian@plutotech.com
* Update for new callout interface.gibbs1997-09-212-4/+6
|
* aha1542.c aic6360.c cy.c fd.c ft.cgibbs1997-09-219-83/+107
| | | | | | | | | | | | 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.
* Add shared EISA interrupt support.gibbs1997-09-215-94/+129
| | | | Clean up the match routines so that they return const char *
* Convert to the new callout interface.gibbs1997-09-212-5/+15
| | | | Guard against scheduling more than one callout.
* Recognize the CS4326 on the Intel PR440FX motherboard. (It works just likepeter1997-09-212-22/+48
| | | | | | the normal CS4326 except that it's had it's ID's tweaked for some reason) Also mark the device as alive in the attach routine so that the pnp system doesn't think the attach failed.
* Fix a comment-within-a-commentpeter1997-09-214-4/+4
|
* Addition of support of the slightly rogue Promise IDE interface(Dyson), supportdyson1997-09-201-1/+2
| | | | | | | | | | | of multiple PCI IDE controllers(Dyson), and some updates and cleanups from John Hood, who originally made our IDE DMA stuff work :-). I have run tests with 7 IDE drives connected to my system, all in DMA mode, with no errors. Modulo any bugs, this stuff makes IDE look really good (within it's limitations.) Submitted by: John Hood <cgull@smoke.marlboro.vt.us>
* ``oops''. I cut/pasted the original free()'s based on mark's suggestionpeter1997-09-201-4/+4
| | | | | | | | rather than extracting the diff from Mark's patch, but it turns out that I was freeing one allocation twice due to a previous cut/paste braino. My botch, not Mark's. Pointed out by: Mark Valentine <mv@pobox.com>
* teach sio how to attach to isa PnP cards. This is mainly for use withjmg1997-09-191-13/+122
| | | | | | | | | | | | | | | | internal modems. Currently detects a USR modem, and a couple Supra modems... vendor id's for sio capabile cards welcomed... document new option EXTRA_SIO that will increase sio's internal data structures to support X more serial ports... these are used by the PnP part of sio for attaching... If you don't have it specified, it will default to 2... This is defaulted to 0 if you don't have PnP compiled into your kernel... also document that if you set the PnP flags (pnp x flags y) to 0x1 that the modem will be refused to be recognized by the sio driver... this is for people that want the traditional isa driver to probe and attach the modem... (for keeping legacy sio numbering)
* Missed a place where the extra descriptor buffers would need to bepeter1997-09-181-1/+3
| | | | | | freed. Submitted by: Mark Valentine <mark@linus.demon.co.uk>
* update Luigi's driver to poll interface (Peter, you might want to checkjmg1997-09-186-70/+46
| | | | | | | | that I've done this properly, it does work though :) )... a few minor fixes to code part-Submitted-by: Luigi
* Enable the FIFO on enhanced floppy controllers. This reduces thetegge1997-09-172-2/+58
| | | | | | | | 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)
* Fixed gratuitous ANSIisms.bde1997-09-161-1/+3
|
* Make FDC_DEBUG a supported option.joerg1997-09-161-10/+21
| | | | | | | Hide the bogus FDC ``chip type'' display behind a (mostly) undocumented option, since people started to trust the bogus claim. Once we're going to handle 2.88 MB controllers, we have to redo the chip detection, by now just leave it hidden.
* Import of Luigi Rizzo's sound code. For more information about the driverjmg1997-09-1410-0/+8612
| | | | | | check out the README that is included. Submitted by: Luigi Rizzo <luigi@labinfo.iet.unipi.it>
* Bruce wants the warning.peter1997-09-141-2/+2
|
* Update select -> poll in drivers.peter1997-09-1410-33/+37
|
* Convert select handler to poll stylepeter1997-09-141-14/+13
|
* Fix a warning.peter1997-09-131-2/+2
|
* Support Intel EtherExpress Pro 10+msmith1997-09-121-4/+10
| | | | | PR: kern/4335 Reviewed by: Stephen Roznowski (sjr@home.net)
* malloc() the rx and tx descriptors seperately rather than as part of thepeter1997-09-112-2/+17
| | | | | | | | | | | | | | | | | | large (over 4KB) softc struct. The descriptor array is accessed by busmaster dma and must be physically contiguous in memory. malloc() of a block greater than a page is only virtually contiguous, and not necessarily physically contigious. contigmalloc() could do this, but that is a bit on the overkill side. I'm not sure of the origins of the problem report and diagnosis, I learned of the problem via mail forwarded from Jim Shankland <jas@flyingfox.com>. Jim said that Matt Thomas's workaround was to reduce the number of transmit descriptors from 128 to 32, but I was concerned that it might cost performance. Anyway, this change is my fault, not Jim's. :-) Reviewed by: davidg
* Change the address for the low end of what we permit from c0000 downdg1997-09-101-2/+2
| | | | | to a0000 so that people can put their cards in the middle of their video memory if they want. :-)
* Amancio's latest in the Brooktree driver.markm1997-09-093-236/+353
| | | | | This fixes the european frequency set, separates this further from the Meteor driver and fixes bugs.
* Added a check for the ISA memory address range being valid. Fixes PR#835.dg1997-09-081-2/+9
|
* Turn on the 0WS option for 16bit cards. Newer machines insert enoughdg1997-09-081-18/+27
| | | | | | | | | delay that without this the performance is unacceptable. The 83C690, 83C790, and 83C795 chips which this affects are all designed to work with 0 waitstates in 16bit mode. Also cleaned up the toggling of 16bit access mode that occurs during normal operation; the previous code may not have done the right thing in all cases.
* Changes to support NetBSD and the new ifmedia extensions.dg1997-09-053-243/+842
| | | | Submitted by: Jason Thorpe <thorpej@netbsd.org>
* Add a new compile option SC_HISTORY_SIZE to specify the history bufferyokota1997-09-042-14/+19
| | | | | | | | | | | | size in terms of lines (instead of bytes). When changing video mode in ioctl SW_XXX commands, syscons checks scp->history_size and allocate a history buffer at least as large as the new screen size. (This was unnecessary before, because HISTORY_SIZE was as large as 100 lines and this is bigger than the maximum screen size: 60 lines). Similar adjustment is done in ioctl CONS_HISTORY command too. PR: kern/4169 Reviewed by: sos
* Make the aic7xxx sequencer assembler compile in the kernel's objectgibbs1997-09-0316-2763/+50
| | | | | | | directory. Rename (via repository copy) some files so that the potential for future conflicts is minimized. PR: conf/4363
* Cleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogusbde1997-09-032-242/+294
| | | | indentation (it is supposed to be bogus to match sio.c), and long lines).
OpenPOWER on IntegriCloud