summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix various style(9) bugs:mike2002-09-201-19/+19
| | | | | | | | o Unusual order of #ifndef _FOO_H_, followed by license. o Missing tabs in typedef. o Missing tabs in struct between types and member names. o Unaligned, unordered function prototypes. o Reversed comment for #endif.
* For reasons now lost in historical fog, the bounds_check_with_label()phk2002-09-207-358/+58
| | | | | | | | | | | | function were put in i386/i386/machdep.c from where it has been cut and pasted to other architectures with only minor corruption. Disklabel is really a MI format in many ways, at least it certainly is when you operate on struct disklabel. Put bounds_check_with_label() back in subr_disklabel.c where it belongs. Sponsored by: DARPA & NAI Labs.
* We don't need the <sys/disklabel.h> include for alpha anymore.phk2002-09-201-3/+0
| | | | Sponsored by: DARPA & NAI Labs.
* #include <sys/disk.h> to get disk_err() prototype.phk2002-09-203-0/+3
| | | | Sponsored by: DARPA & NAI Labs.
* Fix k5admind by dropping libkadm5clnt from LDADD.nectar2002-09-202-2/+2
|
* Kernel MIB name for disabling ACPI was changed.matusita2002-09-201-1/+1
| | | | Pointed out by: iwasaki
* Reduce <sys/disklabel.h> poisoning a bit.phk2002-09-202-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Reorder libraries in LDADD in case some wants to staticallynectar2002-09-202-4/+6
| | | | link these applications.
* Make ipropd-slave/ipropd-master actually work. These applicationsnectar2002-09-202-2/+2
| | | | | | | were being linked against the client Kerberos administration library, when they must be linked against the server library, resulting in segfaults early in the game. I suspect these have never been tested before :-(
* Remove unneeded #include <sys/disklabel.h>phk2002-09-201-1/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Include <sys/ioccom.h> directly, rather than indirectly throughphk2002-09-201-1/+1
| | | | | | <sys/disklabel.h> Sponsored by: DARPA & NAI Labs.
* Remove even more Copy&Pasted sets of #includes.phk2002-09-202-16/+0
|
* Remove unused #includes. Looks amacingly like the exact same setphk2002-09-201-6/+0
| | | | | | as I just removed from ncr53c500_pccard.c. Sponsored by: DARPA & NAI Labs.
* Remove #include of <sys/disklabel.h> (and a few other unused #includes Iphk2002-09-201-8/+0
| | | | | | noticed while here). Sponsored by: DARPA & NAI Labs.
* We don't need to #include <sys/disklabel.h>.phk2002-09-201-2/+0
| | | | | | We don't need to #include <sys/disklabel.h> second time either. Sponsored by: DARPA & NAI Labs.
* Remove needless <sys/disklabel.h> and <sys/diskslice.h> #includes.phk2002-09-201-2/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Don't call dkunit() to find our unit number, it is in our softc.phk2002-09-201-1/+1
| | | | Sponsored by: DARPA & NAI Labs.
* Don't use dkunit() to find out unit, we already have our softc pointerphk2002-09-201-5/+3
| | | | | | | | where we can find it. Don't call dkpart() just to print the result, it is constant. Sponsored by: DARPA & NAI Labs.
* Revert previous commit to unbreak world until we figure out thearchie2002-09-206-10/+7
| | | | right way to do it.
* Fix the support for the AN985/983 chips, which do not set thembr2002-09-202-2/+4
| | | | | | | | | RXSTATE to STOPPED, but to WAIT. This should fix hangs which could only be solved by replugging the cable. Submitted by: jhb Reviewed by: phk MFC after: 2 weeks
* Enable the automatic TX underrun recovery for the ADMtek chips.mbr2002-09-204-0/+10
| | | | | | | | | This solves cvsup update on my laptop which aborts after a while without this patch. PR: 34236 Reviewed by: phk MFC after: 2 weeks
* Make FreeBSD "struct disklabel" agnostic, step 312 of 723:phk2002-09-206-154/+152
| | | | | | | | | | Rename bioqdisksort() to bioq_disksort(). Keep a #define around to avoid changing all diskdrivers right now. Move it from subr_disklabel.c to subr_disk.c. Move prototype from <sys/disklabel.h> to <sys/bio.h> Sponsored by: DARPA and NAI Labs.
* fork_trampoline() marks a trap frame.jhb2002-09-202-2/+4
| | | | Submitted by: bde
* Use proper type for a variable used as a DDB symbol.jhb2002-09-202-2/+4
|
* Trim includes.jhb2002-09-202-4/+2
| | | | Submitted by: bde
* Various style fixes, including moving db_print_backtrace() out of thejhb2002-09-202-64/+50
| | | | | | middle of the watchpoint code. Submitted by: bde
* Lock the file once per call and use the unlocked fgetwc()/fputwc() variants.tjr2002-09-202-9/+20
|
* Lock and unlock the file once per call and use the unlocked version oftjr2002-09-201-7/+11
| | | | ungetc() instead of having ungetc() recurse on the lock.
* Introduce unlocked versions of fputwc() and fgetwc() called __fputwc()tjr2002-09-203-18/+44
| | | | and __fgetwc() which can be used when we know the file is locked.
* Make FreeBSD "struct disklabel" agnostic, step 311 of 723:phk2002-09-2019-97/+72
| | | | | | | | | | | | | | | | | | | | | | | | | Rename diskerr() to disk_err() for naming consistency. Drop the by now entirely useless struct disklabel argument. Add a flag argument for new-line termination. Fix a couple of printf-format-casts to %j instead of %l. Correctly print the name of all bio commands. Move the function from subr_disklabel.c to subr_disk.c, and from <sys/disklabel.h> to <sys/disk.h>. Use the new disk_err() throughout, #include <sys/disk.h> as needed. Bump __FreeBSD_version for the sake of the aac disk drivers #ifdefs. Remove unused disklabel members of softc for aac, amr and mlx, which seem to originally have been intended for diskerr() use, but which only rotted and got Copy&Pasted at least two times to many. Sponsored by: DARPA & NAI Labs.
* Bandaid for a broken world. The real fix is somewhat moreru2002-09-202-12/+10
| | | | complicated and will be sent for a review.
* Remove unused variable.phk2002-09-201-1/+0
|
* Retire now unused DIOCGDVIRGIN kludge.phk2002-09-206-44/+0
| | | | Sponsored by: DARPA & NAI Labs.
* Construct new disklabels based on the medias stated parameters inphk2002-09-202-40/+94
| | | | | | | userland, rather than expect all possible GEOMetries to know about BSD disklabels. Sponsored by: DARPA & NAI Labs
* Add restrict type-qualifier.mike2002-09-202-2/+3
|
* Fix an error which prevented ssize_t from becoming defined. Addmike2002-09-201-3/+3
| | | | restrict type-qualifier.
* Don't peek into MD structures from MI code. The getcontext(3) andmini2002-09-201-9/+1
| | | | setcontext(3) functions check the validify of the mcontext_t structs.
* Straighten out get_params().phk2002-09-201-33/+34
| | | | Sponsored by: DARPA & NAI Labs.
* Current uses struct thread *td rather than struct proc *p.imp2002-09-201-2/+2
|
* o Don't print devices that aren't attached unless run with the newlyimp2002-09-202-5/+13
| | | | | | | | minted -v flag. o Print devices that don't return a name as 'unknown' in -v mode. # Yea! Now I wont think I have 10 different ISA network adapters in my # laptop.
* Expose the new kernel data structures to libdevinfo:imp2002-09-204-6/+41
| | | | | | o Added dd_pnpinfo, dd_location, dd_devflags, dd_flags and dd_state o Copy/initialize these as necessary. o Document the changes to the interface in devinfo.3.
* New release notes: Firewire support, ata(4) support for Sil 0680 andbmah2002-09-192-8/+36
| | | | | | | | | VIA 8233/8235 (+ MFC), a.out(5) support in toolchain removal, Updated release notes: file(1) 3.39, gcc 3.2.1-prerelease 20020916, Heimdal Kerberos 0.5-prerelease 20020916. MFCs noted: AMD Elan SC520 support.
* Update ata(4) supported chipsets.bmah2002-09-192-8/+20
|
* Fix last commit so that it actually works:jhb2002-09-191-5/+6
| | | | | | | | | | | - Get test for valid trace request contents right. - You don't use 'stq' to move a value from one register to another, use 'mov' to read sp. Also, can't use nice names for registers in in-line asm in gcc. - pc is not a publically accessible register, instead, create a label in the asm code and use 'lda' to load the address of that label into the pc field of the trace request. - Use correction function name for db_print_backtrace().
* Quiet warnings on shutdown.gordon2002-09-191-1/+1
|
* Use correct function name in previous commit.jhb2002-09-191-1/+1
| | | | | Submitted by: jake Pointy hat to: jhb
* Fix a problem with the definition of HUGE_VAL causing the gcc warningarchie2002-09-196-7/+10
| | | | | | "cast increases required alignment of target type" on some platforms. Reviewed by: bde
* Pass flags to msync() accounting for differences in the definition ofmdodd2002-09-191-1/+5
| | | | | | MS_SYNC on FreeBSD and Linux. Submitted by: Christian Zander <zander@minion.de>
* This patch extends the FreeBSD Linux compatibility layer to supportmdodd2002-09-192-0/+29
| | | | | | | NVIDIA API calls; more specifically, it adds an ioctl() handler for the range of possible NVIDIA ioctl numbers. Submitted by: Christian Zander <zander@minion.de>
* Switch to using strlcpy() in several places. It seems theremux2002-09-191-7/+7
| | | | were cases where we could get unterminated strings before.
OpenPOWER on IntegriCloud