aboutsummaryrefslogtreecommitdiff
path: root/sys/pci
Commit message (Collapse)AuthorAgeFilesLines
* Fix size of start queue to 32 entries, independent of the defaultStefan Eßer1997-12-021-3/+3
| | | | | | | | | | | number of tags (NCR_SCSI_DFLT_TAGS), which is 0 in the FAILSAFE case. This should fix the incompatibility between kernel and ncrcontrol, which is the result of FAILSAFE being defined in the kernel config file, invisible to the build of ncrcontrol. (See kern/5133, which should be fixed by this change.) Notes: svn path=/head/; revision=31504
* - Add necessary include files and fix bugs in last.Nate Williams1997-12-021-3/+6
| | | | Notes: svn path=/head/; revision=31503
* - Bring in code removed from /sys/pccard/pcic.c, including DEVICE IDs, andNate Williams1997-12-022-95/+107
| | | | | | | | | | more bootverbose code. - Style nits. No significant functional changes. Notes: svn path=/head/; revision=31502
* - Framework for PCI/CardBus controllers running in PCMCIA emulationNate Williams1997-12-022-0/+216
| | | | | | | | | | mode. Currently, the only supported controller is the Cirrus Logic PD6832, but others can be supported with docs on them. Submitted by: Ted Faber <faber@ISI.EDU> Notes: svn path=/head/; revision=31496
* Shuffle things a bit for better cacheline behavior.David Greenman1997-11-291-6/+6
| | | | Notes: svn path=/head/; revision=31447
* Ifdefed a conditionally used #include.Bruce Evans1997-11-221-2/+4
| | | | | | | Staticized. Notes: svn path=/head/; revision=31350
* Add Winbond W89C940 ID to the list.Mike Smith1997-11-221-1/+2
| | | | | | | Submitted by: Micha Class <michael_class@hpbbse.bbn.hp.com> Notes: svn path=/head/; revision=31347
* Removed unused #includes.Bruce Evans1997-11-181-5/+3
| | | | | | | Police <> vs "" #include style. Notes: svn path=/head/; revision=31267
* Reviewed by: Amancio HastyAmancio Hasty1997-11-161-8/+182
| | | | | | | | | Submitted by: Amancio Hasty <hasty@star-gate.com> Added yuv12 support for mpeg encoding and Randall Hopper's fixed for Temporal Decimation Notes: svn path=/head/; revision=31186
* Attempt to tell the user precisely what sort of VGA-like PCI device isGarrett Wollman1997-11-111-12/+255
| | | | | | | | in their system. The list comes originally from XFree86's SuperProbe program. Notes: svn path=/head/; revision=31113
* Merge 971020 stuff.. Check 21142? SROM CRC.Peter Wemm1997-11-082-7/+13
| | | | Notes: svn path=/head/; revision=31041
* Rename some local variables to avoid shadowing other local variables.Poul-Henning Kamp1997-11-071-5/+5
| | | | | | | Found by: -Wshadow Notes: svn path=/head/; revision=31017
* Remove a bunch of variables which were unused both in GENERIC and LINT.Poul-Henning Kamp1997-11-073-23/+7
| | | | | | | Found by: -Wunused Notes: svn path=/head/; revision=31016
* Rats. Committed the wrong version.Mark Murray1997-11-061-5/+11
| | | | | | | Move the declarations to the top of the ioctl() function so this compiles. Notes: svn path=/head/; revision=30995
* 1) Add the IOCTL for Luigi's BT848 -> I2C bus driver.Mark Murray1997-11-061-14/+113
| | | | | | | | | | | 2) Fix temporal decimation, disable it when doing CAP_SINGLEs, and in dual-field capture, don't capture fields for different frames Submitted by: Luigi Rizzo & Randall Hopper Notes: svn path=/head/; revision=30980
* Improve PAL support and fix mux selector values.Eivind Eklund1997-10-302-32/+104
| | | | | | | | | | This make the Miro PCTV work for me, including audio, and should hopefully fix the other audio problems some people have been having. Reviewed by: ahasty & Luigi Rizzo (freebsd-multimedia) Notes: svn path=/head/; revision=30856
* Removed unused #includes.Bruce Evans1997-10-282-6/+1
| | | | Notes: svn path=/head/; revision=30813
* Recognize even more of the Znyx 314 cards.Poul-Henning Kamp1997-10-251-2/+2
| | | | Notes: svn path=/head/; revision=30706
* Rewrote fxp_start() for better clarity and efficiency.David Greenman1997-10-231-101/+101
| | | | Notes: svn path=/head/; revision=30655
* Add an $Id$Peter Wemm1997-10-181-0/+1
| | | | Notes: svn path=/head/; revision=30557
* Merge in changes from Matt. Accton EN12xx support, bugfixes. There isPeter Wemm1997-10-182-44/+193
| | | | | | | | | a change that might have an effect on the problems some have seen with older chips, it looks like the driver may have mistakenly thought there was an SIA when there isn't. Notes: svn path=/head/; revision=30556
* This commit was generated by cvs2svn to compensate for changes in r30549,Peter Wemm1997-10-181-7/+27
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=30550
| * Import Matt's current de driver... He appears to be maintaining it inPeter Wemm1997-10-183-52/+219
| | | | | | | | | | | | | | | | the NetBSD source tree now. This is slightly newer than the updated .tar.gz on the 3am-software web site. Notes: svn path=/vendor/NetBSD/dist/; revision=30549
* | Oops... back out the change to recognize the TI 1131; there's a better place.Garrett Wollman1997-10-171-4/+1
| | | | | | | | Notes: svn path=/head/; revision=30516
* | Teach the PCI code about the TI 1131 and NeoMagic NM2160 in my laptop.Garrett Wollman1997-10-171-1/+11
| | | | | | | | Notes: svn path=/head/; revision=30515
* | Fixed a bug where input packets were counted twice - messing up theDavid Greenman1997-10-171-2/+1
| | | | | | | | | | | | | | stats. Notes: svn path=/head/; revision=30505
* | Attempt to support IPX.Peter Wemm1997-10-121-1/+22
| | | | | | | | | | | | | | | | Suggested patch by: Vasily V. Grechishnikov <bazilio@ied-vorstu.ac.ru> (plus cut/paste, whitespace and typo fixes) Notes: svn path=/head/; revision=30342
* | Add IDs for Intel 82371MX/82437MX (mobile PCI chipset).Satoshi Asami1997-10-101-1/+5
| | | | | | | | | | | | | | Reviewed by: se Notes: svn path=/head/; revision=30267
* | Despam 1.11, 1.12 and 1.13 caused by no sync between author/committer/CURRENTMark Murray1997-10-081-14/+36
| | | | | | | | Notes: svn path=/head/; revision=30216
* | Latest round of patches from the author.Mark Murray1997-10-072-15/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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... Notes: svn path=/head/; revision=30193
* | Nuke these two out of date readme files. This stuff should be in de(4)Peter Wemm1997-10-032-84/+0
| | | | | | | | | | | | | | man pages rather than hidden here anyway. Notes: svn path=/head/; revision=30081
* | Killed a gratuitous assignment in a NetBSD case.David Greenman1997-09-301-5/+1
| | | | | | | | Notes: svn path=/head/; revision=29998
* | Two changes which should make the system less suseptible to receiverDavid Greenman1997-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. Notes: svn path=/head/; revision=29997
* | Work around a bug in the 82557 NIC where the receiver will lock upDavid Greenman1997-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. Notes: svn path=/head/; revision=29974
* | Remove the 82371 IDE devices.Poul-Henning Kamp1997-09-241-17/+4
| | | | | | | | | | | | | | | | Add Intel 82439TX System Controller (MTXC) fix a whitespace problem. Notes: svn path=/head/; revision=29786
* | Update for new callout interface.Justin T. Gibbs1997-09-215-11/+15
| | | | | | | | Notes: svn path=/head/; revision=29681
* | Addition of support of the slightly rogue Promise IDE interface(Dyson), supportJohn Dyson1997-09-202-611/+1090
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=29636
* | ``oops''. I cut/pasted the original free()'s based on mark's suggestionPeter Wemm1997-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> Notes: svn path=/head/; revision=29627
* | Missed a place where the extra descriptor buffers would need to bePeter Wemm1997-09-181-1/+3
| | | | | | | | | | | | | | | | | | freed. Submitted by: Mark Valentine <mark@linus.demon.co.uk> Notes: svn path=/head/; revision=29570
* | Update select -> poll in drivers.Peter Wemm1997-09-141-2/+2
| | | | | | | | Notes: svn path=/head/; revision=29368
* | malloc() the rx and tx descriptors seperately rather than as part of thePeter Wemm1997-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 Notes: svn path=/head/; revision=29306
* | Treat "reservation conflict" status similar to "busy".Stefan Eßer1997-09-101-4/+6
| | | | | | | | Notes: svn path=/head/; revision=29292
* | Remove scaling of tp->period, since the value is assumed to be inStefan Eßer1997-09-091-12/+2
| | | | | | | | | | | | | | tenth of a nanoseconds by ncrcontrol Notes: svn path=/head/; revision=29253
* | Amancio's latest in the Brooktree driver.Mark Murray1997-09-093-238/+349
| | | | | | | | | | | | | | | | This fixes the european frequency set, separates this further from the Meteor driver and fixes bugs. Notes: svn path=/head/; revision=29233
* | Changes to support NetBSD and the new ifmedia extensions.David Greenman1997-09-053-243/+842
| | | | | | | | | | | | | | Submitted by: Jason Thorpe <thorpej@netbsd.org> Notes: svn path=/head/; revision=29138
* | Upgrade of EIDE DMA support, Johns comments:Søren Schmidt1997-09-041-245/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lots of fixes to error handling-- mostly works now * improve DMA timing config for Triton chipsets-- PIIX4 and UDMA drive still untested * generally improve DMA config in many ways-- mostly cleanup * clean up boot-time messages * rewrite PRD generation algorithm * first wd timeout is now longer, to handle drive spinup Submitted by: John Hood <cgull@smoke.marlboro.vt.us> Notes: svn path=/head/; revision=29113
* | No longer needed, superceded by ide-pci.c ide-pcireg.hSøren Schmidt1997-09-042-382/+0
| | | | | | | | Notes: svn path=/head/; revision=29112
* | Removed unused #includes.Bruce Evans1997-09-025-35/+3
| | | | | | | | Notes: svn path=/head/; revision=29041
* | Added used #include - don't depend on <sys/mbuf.h> includingBruce Evans1997-09-021-0/+1
| | | | | | | | | | | | | | <sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags). Notes: svn path=/head/; revision=29024
* | Prepare for 64bit programming environment (e.g. Alpha):Stefan Eßer1997-08-312-45/+45
| | | | | | | | | | | | | | | | | | Use "ncrcmd" or "u_int32_t" instead of "u_long", where appropriate. Submitted by: Gerard Roudier <groudier@club-internet.fr> Notes: svn path=/head/; revision=28960