summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Replace ROUNDUP/ADVANCE with SA_SIZEluigi2004-04-139-60/+17
| | |
* | | route.h: introduce a macro, SA_SIZE(struct sockaddr *) which returnsluigi2004-04-133-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the space occupied by a struct sockaddr when passed through a routing socket. Use it to replace the macro ROUNDUP(int), that does the same but is redefined by every file which uses it, courtesy of the School of Cut'n'Paste Programming(TM). (partial) userland changes to follow.
* | | Teach the script where libssl actually lives.ru2004-04-131-1/+1
| | | | | | | | | | | | Submitted by: Michael Bretterklieber <mbretter@a-quadrat.at>
* | | Add support for the Promise command sequencer present on all modern Promisesos2004-04-1312-270/+625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | controllers (PDC203** PDC206**). This also adds preliminary support for the Promise SX4/SX4000 but *only* as a "normal" Promise ATA controller (ATA RAID's are supported though but only RAID0, RAID1 and RAID0+1). This cuts off yet another 5-8% of the command overhead on promise controllers, making them the fastest we have ever had support for. Work is now continuing to add support for this in ATA RAID, to accellerate ATA RAID quite a bit on these controllers, and especially the SX4/SX4000 series as they have quite a few tricks in there.. This commit also adds a few fixes to the SATA code needed for proper support.
* | | Bump __FreeBSD_version on behalf of the new .warning directive in make(1).ru2004-04-131-1/+1
| | | | | | | | | | | | Requested by: kris
* | | Make functions and variables static.luigi2004-04-131-88/+96
| | | | | | | | | | | | | | | | | | | | | | | | Remove global variables in favour of local ones. Fix indentation of a couple of switch statements. Overall, this program badly need cleaning up, as it relies on information passed around through global variables.
* | | Added FreeBSD 5.2.1, just in case.ru2004-04-131-0/+1
| | |
* | | Added upcoming 4.10 and 5.3 releases.ru2004-04-131-0/+2
| | | | | | | | | | | | Reminded by: marcel
* | | Add -P arguments for dump(8) and restore(8) which allow the user togreen2004-04-138-39/+176
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use backup methods other than files and tapes. The -P argument is a normal sh(1) pipeline with either $DUMP_VOLUME or $RESTORE_VOLUME defined in the environment, respectively. For example, I can back up my home to three DVD+R[W]s as so: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s2e 40028550 10093140 26733126 27% /home green# dump -0 -L -C16 -B4589840 -P 'growisofs -Z /dev/cd0=/dev/fd/0' /home
* | | The 3CXE589DT was spotted in the wild, and is presumed supported byimp2004-04-131-11/+11
| | | | | | | | | | | | | | | | | | this driver. Also, add 3Com to a number of places.
* | | Fix off by one error, twice.imp2004-04-121-2/+2
| | | | | | | | | | | | Submitted by: Carlos Velasco (first one), jhb (second one)
* | | Do not drop Giant around the poll method yet, we're not ready for it.phk2004-04-121-2/+2
| | |
* | | MFp4:imp2004-04-121-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alignment for pccards should also be treated in a similar way that we tread it for cardbus cards. Remove bogus debugs while I'm here. # This is also necessary to make the CIS reading work. Submitted by: Carlos Velasco
* | | Improve reading of CIS cards:imp2004-04-121-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (1) Align to 64k for the CIS. Some cards don't like it when we aren't aligned to a 64k boundary. I can't find anything in the standard that requires this, but I have 1/2 dozen cards that won't work at all unless I enable this. (2) Sleep 1s before scanning the CIS. This may be a nop, but has little harm. (3) The CIS can be up to 4k in some weird, odd-ball edge cases. Since we have limiters for when that's not the case, it does no harm to increase it to 4k. #1 was submitted, in a different form, by Carlos Velasco.
* | | remove an almost-duplicate piece of code by setting the loopluigi2004-04-121-16/+10
| | | | | | | | | | | | limits appropriately.
* | | in rtinit(), remove one useless variable, and move a few othersluigi2004-04-121-9/+9
| | | | | | | | | | | | within the block where they are used.
* | | Improve the warnings for dump -L and do not bother doing the snapshot ifgreen2004-04-122-3/+11
| | | | | | | | | | | | | | | | | | | | | it is specified for read-only filesystems. Submitted by: Jason Young <jyoung8607@hotmail.com> PR: 46672
* | | The .DEFAULT target with no commands caused a null pointer dereference.ru2004-04-121-1/+6
| | | | | | | | | | | | | | | PR: bin/63405 Obtained from: NetBSD
* | | Catch up with diskless split "diskless" is no longer provided.brooks2004-04-122-2/+2
| | | | | | | | | | | | Suggested by: cperciva
* | | Style fixeskientzle2004-04-121-3/+2
| | | | | | | | | | | | Pointed out by: bde
* | | Document the new .warning directive.ru2004-04-121-2/+8
| | |
* | | Added the new .warning directive.ru2004-04-121-3/+33
| | | | | | | | | | | | Submitted by: Cyrille Lefevre
* | | stop() no longer needs sched_lock held; in fact, holding sched_lock causescperciva2004-04-121-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | a LOR against sleepq. Fix the comment, and fix ptracestop() to pick up sched_lock after stop() rather than before. Reported by: Scott Sipe <cscotts@mindspring.com> Reviewed by: rwatson, jhb
* | | Show link-level multicast packet counters with the -a option.ru2004-04-121-2/+14
| | |
* | | Count outgoing link-level broadcast packets in if_omcasts.ru2004-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I'm not sure this is completely correct but at least this is consistent with the accounting of incoming broadcasts. PR: kern/65273 Submitted by: David J Duchscher <daved@tamu.edu>
* | | Sync list of FTP sites with current reality.kensmith2004-04-122-24/+20
| | | | | | | | | | | | | | | MFC after: 1 day Approved by: rwatson (mentor)
* | | Perform some basic validation of multibyte conversion state objects.tjr2004-04-128-16/+116
| | |
* | | Don't send the available space as is in the FSSTAT call. Undermux2004-04-121-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD, we can have a negative available space value, but the corresponding fields in the NFS protocol are unsigned. So trnucate the value to 0 if it's negative, so that the client doesn't receive absurdly high values. Tested by: cognet
* | | Remove a nonsensical remark about byte order markers in UTF-8 streams.tjr2004-04-121-6/+1
| | |
* | | Fixed alignment of multicast addresses when printing that gotru2004-04-121-2/+4
| | | | | | | | | | | | broken in previous revision.
* | | Fix "sleeping without a mutex" panic.markm2004-04-121-3/+6
| | |
* | | Remove a check for the return value added in rev 1.41. It's not an errornjl2004-04-121-8/+1
| | | | | | | | | | | | to fail to turn off a fan, since the case is that it's usually already off.
* | | Move sx to i386/NOTES for the moment. I missed theimp2004-04-122-2/+4
| | | | | | | | | | | | enable/disable_intr() in the code.
* | | More work on ACLs: fix error in archive_entry's ACL parsing code,kientzle2004-04-1236-933/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | try to set ACLs even if fflag restore fails, first cut at reading Solaris tar ACLs Code improvement: merge gnu tar read support into main tar reader; this eliminates a lot of duplicate code and generalizes the tar reader to handle formats with GNU-like extensions. Style: Makefile cleanup, eliminate 'dmalloc' references, remove 'tartype' from archive_entry (this makes archive_entry more format-agnostic) Thanks to: David Magda for providing Solaris tar test files
* | | Add DPADD to Makefile (thanks to Andrey for pointing this out).kientzle2004-04-125-24/+2
| | | | | | | | | | | | | | | Generally clean up Makefile, remove dmalloc references from source (there are better ways to do this than pollute the FreeBSD src tree).
* | | Fix some minor grammar nits. Translators can probably ignore this.bmah2004-04-112-20/+20
| | |
* | | Bump __FreeBSD_version for getgrent(3) removal. I doubt anythingmux2004-04-111-1/+1
| | | | | | | | | | | | outside of the tree uses it, but it doesn't cost anything.
* | | Belatedly remove the getvfsent(3) API. All the consumers have beenmux2004-04-114-348/+2
| | | | | | | | | | | | | | | updated to use getvfsbyname(3) or the vfs.conflist sysctl since a long time, except mount_smbfs(8) which has just been fixed.
* | | Put struct ovfsconf inside BURN_BRIDGES as well.mux2004-04-111-0/+2
| | |
* | | Put deprecated sysctl code inside BURN_BRIDGES.mux2004-04-111-3/+5
| | |
* | | Sync with other mount_*fs(8) utilities; we don't need to try tomux2004-04-111-13/+3
| | | | | | | | | | | | | | | load the smbfs module because the mount(2) syscall will do it if it's needed.
* | | Implemented per-interface polling(4) control.ru2004-04-111-5/+13
| | |
* | | Implemented per-interface polling(4) control.ru2004-04-112-2/+23
| | |
* | | Add sx driver, since it looks like it should work on allimp2004-04-111-0/+2
| | | | | | | | | | | | architectures.
* | | Update to recent driver api changes.imp2004-04-112-25/+11
| | |
* | | Add glue for new sx driver.imp2004-04-112-0/+5
| | |
* | | Use vm_page_hold() rather than vm_page_wire() for short-duration pagealc2004-04-111-2/+2
| | | | | | | | | | | | wiring. The reason being that vm_page_hold() is cheaper.
* | | Frank Mayhar's <frank@exit.com> sx driver for older Specialiximp2004-04-117-0/+3230
| | | | | | | | | | | | | | | I/O8+ and I/O4+ intelligent serial controllers. si is for completely different hardware, also made by Specialix.
* | | Implemented per-interface polling(4) control.ru2004-04-111-1/+12
| | |
* | | Add note about why we're ignoring the below 1MB bit.imp2004-04-111-0/+19
| | |
OpenPOWER on IntegriCloud