summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Even the most recently allocated buffer may not have its b_blknomckusick1998-12-051-2/+5
| | | | | | field properly filled in, so we must do a VOP_BMAP on that buffer as well if it is not resolved. Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>
* Obtained from: "Kenneth D. Merry" <ken@plutotech.com>dillon1998-12-053-5/+4
| | | | | ICMP_BANDLIM option moved from i386/conf/options.i386 to generic conf/options since it is platform indpendant.
* Add sanity check to foo_start() routines: in the unlikely (thoughwpaul1998-12-057-14/+56
| | | | | | apparently possible) event that the transmit start routine is called with and empty if_snd queue, bail out instead of dereferencing unilitialized transmit list pointers and panicking.
* oops on lastmjacob1998-12-051-3/+3
|
* Remove the Target mode functions until they're in better shape. Implement somemjacob1998-12-051-91/+534
| | | | | | | suggested compilation cleanups from Eklund. Wire down a hard loop id if we are not on a platform that has the ability to get to a PCI BIOS (it still will float to the ID it gets after a LIP but at least we can try). Clarify that the expanded lun is based upon SCCLUN defines (in f/w).
* make a real "done" func; clarify some LUN widthsmjacob1998-12-051-8/+51
|
* compilation fixes from Eklundmjacob1998-12-051-2/+3
|
* compilation fixes from Eklund && move XS_CMD_DONE to be a real functionmjacob1998-12-051-28/+5
|
* do a bit of cleanup on some target mode structures and clarify a couple ↵mjacob1998-12-051-179/+428
| | | | other minro things
* roll core version minor and wire a non-i386 default Loop ID to 113mjacob1998-12-051-3/+7
|
* offset was wrong for HARDLOOPID in NVRAMmjacob1998-12-051-2/+3
|
* Roll to 1.15 f/w level for Qlogic 2100. Leave all flavors in, but control whichmjacob1998-12-051-9947/+12433
| | | | one gets compiled in by default. The default is private loop, non-expanded lun.
* roll to 1.31 levelmjacob1998-12-051-35/+1170
|
* trivial header fixmjacob1998-12-052-0/+10
|
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()archie1998-12-04125-414/+510
| | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com>
* Fix compiler warnings.archie1998-12-041-81/+85
|
* Eliminate a zillion "left-hand operand of comma expression has no effect"archie1998-12-041-22/+26
| | | | compiler warnings when NLPT_DEBUG is not defined.
* Put back some missing chip identification code that got lost somehowwpaul1998-12-042-8/+15
| | | | | | | | | | | | | | during a trek through RCS. The Macronix 98713 and 98713A both have the same PCI device ID but different revision numbers, and we need to be able to tell one from the other. The 98715 and 98715A chips have the same device ID as the 98725 chip but different revision numbers, however we lump them into the same category except when identifying them during the PCI probe output. The main reason we need tell the chips apart is that the Macronix app notes say you have to write a special magic number into one of the registers in order to put the chip in normal operating mode. The 98713 requires one magic value, while all the others require a different one.
* Fix typo: expression needs parenthesesarchie1998-12-041-3/+3
| | | | | PR: 8280 (3/3 patches contained in this PR) Submitted by: Sakari Jalovaara <sja@tekla.fi>
* Fix typo: the expression .. & .. == .. needs parentheses: (.. & ..) == ..archie1998-12-041-1/+1
| | | | | PR: 8280 (2/3 patches contained in this PR) Submitted by: Sakari Jalovaara <sja@tekla.fi>
* Fix typo: "==" should have been "="archie1998-12-042-4/+4
| | | | | | PR: 8280 (1/3 patches contained in this PR) Reviewed by: Nate Williams <nate@mt.sri.com> Submitted by: Sakari Jalovaara <sja@tekla.fi>
* Typo and formatting updates.billf1998-12-042-16/+22
| | | | | | PR: docs/8504 Approved by: Brian Somers Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
* Don't print diagnostic anymorervb1998-12-042-2/+12
|
* In vnode_pager_input_old, set auio.uio_procp = curprocrvb1998-12-041-2/+2
| | | | vs auio.uio_procp = (struct proc *) 0
* An early Christmas present: add driver support for a whole bunch ofwpaul1998-12-0432-22/+14914
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PCI fast ethernet adapters, plus man pages. if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100, various other PNIC devices if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various other boards based on the Macronix 98713, 98713A, 98715, 98715A and 98725 chips if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and Rhine II chips (note: the D-Link and certain other cards that actually use a Rhine II chip still return the PCI device ID of the Rhine I. I don't know why, and it doesn't really matter since the driver treats both chips the same anyway.) if_wb.c: Trendware TE100-PCIE and various other cards based on the Winbond W89C840F chip (the Trendware card is identical to the sample boards Winbond sent me, so who knows how many clones there are running around) All drivers include support for ifmedia, BPF and hardware multicast filtering. Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and sysinstall device list. I also have a driver for the ASIX AX88140A in the works.
* Sync with sys/i386/conf/majors.i386 revision 1.93.kato1998-12-042-2/+4
|
* Sync with sys/i386/conf/majors.i386 revision up to 1.55.kato1998-12-041-5/+6
|
* Implement 'software completion' for floating point arithmetic. On thedfr1998-12-0413-18/+2651
| | | | | | | | | | | | | | | | | | alpha, operations involving non-finite numbers or denormalised numbers or operations which should generate such numbers will cause an arithmetic exception. For programs which follow some strict code generation rules, the kernel trap handler can then 'complete' the operation by emulating the faulting instruction. To use software completion, a program must be compiled with the arguments '-mtrap-precision=i' and '-mfp-trap-mode=su' or '-mfp-trap-mode=sui'. Programs compiled in this way can use non-finite and denormalised numbers at the expense of slightly less efficient code generation of floating point instructions. Programs not compiled with these options will receive a SIGFPE signal when non-finite or denormalised numbers are used or generated. Reviewed by: John Polstra <jdp@polstra.com>
* Allow either tabs or spaces in configuration files.jkh1998-12-042-10/+22
| | | | | PR: 8762 Submitted by: Igor Roshchin <str@giganda.komkon.org>
* Cleanup icmp_var.h, make icmp bandlim sysctl permanent but if ICMP_BANDLIMdillon1998-12-042-15/+19
| | | | | | | option not defined the sysctl int value is set to -1 and read-only. #ifdef KERNEL's added appropriately to wall off visibility of kernel routines from user code.
* Obtained from: "Andrey A. Chernov" <ache@nagual.pp.ru>dillon1998-12-041-1/+3
| | | | | Quick add #ifdef KERNEL for ICMP_BANDLIM option so userland program can #include icmp_var.h
* Fix typo ('strait' -> 'straight').jkoshy1998-12-041-4/+4
| | | | | PR: docs/8956 Submitted by: Kaneda Hiloshi <vanitas@ma3.seikyou.ne.jp>
* Add __attribute__ ((unused)) to the SYSINIT etc macros which declarejb1998-12-031-6/+10
| | | | | static structures that are used with the data set magic. This allows kernel modules, for example, to be compiled with -Wall -Werror.
* Make a spelling fix, and make sure all instances of belltype contain thebillf1998-12-031-2/+2
| | | | | | | preceded option "quiet." PR: docs/8506 Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>
* Clarify what the '-r' option does.billf1998-12-031-2/+2
| | | | | PR: docs/8108 Submitted by: Matthew Fuller <fullermd@futuresouth.com>
* Make bootp error message slightly more verbosedillon1998-12-032-4/+4
|
* Reviewed by: freebsd-currentdillon1998-12-035-7/+120
| | | | | | | | | | | | | | Add ICMP_BANDLIM option and 'net.inet.icmp.icmplim' sysctl. If option is specified in kernel config, icmplim defaults to 100 pps. Setting it to 0 will disable the feature. This feature limits ICMP error responses for packets sent to bad tcp or udp ports, which does a lot to help the machine handle network D.O.S. attacks. The kernel will report packet rates that exceed the limit at a rate of one kernel printf per second. There is one issue in regards to the 'tail end' of an attack... the kernel will not output the last report until some unrelated and valid icmp error packet is return at some point after the attack is over. This is a minor reporting issue only.
* Reviewed by: freebsd-currentdillon1998-12-035-5/+25
| | | | Add ICMP_BANDLIM option
* The explanation shows "-V" as being 'verbose' correct this to "-v"billf1998-12-031-1/+1
| | | | | PR: docs/8892 Submitted by: Hirayama Issei <iss@mail.wbs.ne.jp>
* Fixed broken code in sendfile(2) when using file offsets.dg1998-12-031-5/+7
|
* Local reserved range is now 100-127 for bdevs and 200-255 for cdevs.jkh1998-12-032-10/+10
| | | | Corrected by: bde
* Fixed typo in previous commit. oops.dillon1998-12-031-1/+1
|
* Reviewed by: "Jordan K. Hubbard" <jkh@zippy.cdrom.com>, cvs-all@freebsd.orgdillon1998-12-032-1/+28
| | | | | | Add '-g' main option to cvs to better support shared-group access to a common checked-out *working* set by multiple users. See manual page for details.
* Fixed long line in previous commit.bde1998-12-031-2/+3
|
* Add snprintf(3) and vsnprintf(3) capability to the kernel.archie1998-12-032-3/+58
| | | | Reviewed by: bde
* Fix bugs in mdoc.samples(7): clean up references, quote usage of macros,jkoshy1998-12-031-19/+25
| | | | | | | | correct typos. PR: docs/9942 Submitted by: vanitas@ma3.seikyou.ne.jp Reviewed by: jkoshy
* Cosmetic and documentation changes brought from earlier FreeBSD versions.julian1998-12-0340-96/+277
| | | | (e.g. RCS Id:)
* Add a reference to man(7).jkoshy1998-12-031-0/+1
|
* Reviewed by: Don Lewis <Don.Lewis@tsc.tdk.com>julian1998-12-0343-1166/+1701
| | | | | | | | | | | | Submitted by: Kirk McKusick <mckusick@McKusick.COM> Obtained from: Mckusick, BSDI and a host of others This exactly matches Kirks sources imported under the Tag MCKUSICK2. These are as supplied by kirk with one small change needed to compile under freeBSD. Some FreeBSD patches will be added back, though many have been added to Kirk's sources already.
* These shouldn't have been checked in here..julian1998-12-022-406/+0
| | | | Reviewee by:
OpenPOWER on IntegriCloud