summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Build libc_r on sparc64, it should work now.tmm2003-01-051-1/+1
|
* correct pkthdr length calculation for ipv6 echo packets; after moving a packetsam2003-01-051-3/+6
| | | | | | | | | header with M_MOVE_PKTHDR one should not reference the packet header in the original packet; in this case the code was assuming that m_adj would alter m_pkthdr.len which stopped happening because M_MOVE_PKTHDR removes the M_PKTHDR bit from m_flags Submitted by: Bill Fenner <fenner@research.att.com>
* Add MD definitions for sparc64. This is based on work by des.tmm2003-01-051-0/+29
|
* Add an implementation of _atomic_lock for sparc64. This was submitted bytmm2003-01-051-0/+45
| | | | | des; I tweaked it slightly by extending the membar and making it match the style of the rest of the sparc64 assembler code.
* Rewrite longjmp() and _longjmp() to directly restore the saved frame,tmm2003-01-052-55/+19
| | | | | | | | | instead of unwinding the call stack. This makes them usable to switch stacks, e.g. for libc_r. Do not save the frame pointer in setjmp() and _setjmp(), it is not needed any more. Rename _longjmp() to ___longjmp(), with a weak alias to _longjmp(), like the other architectures did.
* Don't hardcode the address of the local (S)APIC (aka processormarcel2003-01-054-2/+33
| | | | | | | interrupt block). We use the previously hardcoded address as a default only, but will otherwise use whatever ACPI tells us. The address can be found in the MADT table header or in the LAPIC override table entry.
* Rename siglongjmp() to __siglongjmp(), with a weak alias to siglongjmp(),tmm2003-01-051-2/+4
| | | | like the other architectures do.
* Fix cut&paste bug which would result in a panic because buffer wasphk2003-01-051-2/+2
| | | | being biodone'ed multiple times.
* Bump the number of interrupts from 65 to 257. This is a waste ofmarcel2003-01-051-1/+1
| | | | | | space most of the time, but handles machines with lots of I/O (S)APICs. We cannot make this more dynamic without breaking the interface with vmstat. Hence, we need to fix the interface first.
* Handle 3-digit interrupt numbers (vectors). While here, change themarcel2003-01-052-6/+10
| | | | | | | name of unused entries from "intr XXX" to "#XXX". This makes it easier to debug interrupt problems, because vmstat can be hacked more easily to dump all interrupt entries that are in use and not those that have had interrupts.
* - Merge the following from the English version:hrs2003-01-055-2/+65
| | | | | | | | | | 1.2 -> 1.3 hardware/sparc64/Makefile - Add new translations and activate them: (new) -> 1.1 hardware/pc98/Makefile (new) -> 1.1 hardware/pc98/article.sgml (new) -> 1.1 hardware/pc98/proc-pc98.sgml
* rl(4) works on sparc64 now.jake2003-01-052-24/+24
|
* Make all memory I/O addresses (explicitly) 64-bit. Memory mappedmarcel2003-01-051-11/+11
| | | | | | devices aren't necessarily mapped within 4GB. I/O port addresses are offsets into the memory mapped I/O port space, which is not larger than 16MB. No need to convert those to 64 bit types.
* Tweaks to make if_rl work on sparc64.jake2003-01-051-4/+10
| | | | | Mostly submitted by: tmm Tested on: i386, sparc64
* Provide a null-implementation for bus_space_unmap, like i386.marcel2003-01-051-2/+5
| | | | bus_space_unmap is required for puc(4).
* Add support for bzip2ed log files.se2003-01-053-3/+21
|
* Add common/dev.sgml as a source forgotten in the previous commit.hrs2003-01-051-0/+1
|
* - Merge the following from the English version:hrs2003-01-056-23/+155
| | | | | | | | | | | | | | | 1.3 -> 1.4 hardware/i386/article.sgml - Add new translations and activate them: 1.3 -> 1.5 hardware/Makefile 1.3 -> 1.4 hardware/common/hw.ent 1.1 -> 1.2 hardware/sparc64/Makefile 1.2 -> 1.3 hardware/sparc64/article.sgml (new) -> 1.5 hardware/sparc64/proc-sparc64.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 549]
* - Catch up with the English version:hrs2003-01-054-3/+54
| | | | | | | | | | | | | 1.3 -> 1.4 relnotes/i386/article.sgml - Hook ia64 up to the build: 1.4 -> 1.5 relnotes/Makefile (new) -> 1.1 relnotes/ia64/Makefile (new) -> 1.1 relnotes/ia64/article.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 550]
* Convert VOP_STRATEGY to VOP_SPECSTRATEGY in the generic getpages andphk2003-01-051-2/+2
| | | | the pager input for small filesystems.
* Merge the following from the English version:hrs2003-01-051-5/+28
| | | | | | | 1.6 -> 1.8 early-adopter/article.sgml Submitted by: Hideyuki KURASHINA <rushani@jp.FreeBSD.org> References: [doc-jp-work 548]
* Don't override the vop_lock, vop_unlock and vop_isunlocked methods.phk2003-01-051-3/+0
| | | | | | | | | | | | Previously all filesystems which relied on specfs to do devices would have private overrides for vop_std*, so the vop_no* overrides here had no effect. I overlooked the transitive nature of the vop vectors when I removed the vop_std* in those filesystems. Removing the override here restores device node locking to it's previous modus operandi. Spotted by: bde
* Allocate bogus_page with VM_ALLOC_WIRED. (Previously, bogus_page'salc2003-01-051-2/+1
| | | | | | allocation incremented the global count of wired pages, but not the page's own wire count. This inconsistency was introduced in revision 1.230.)
* Avoid casting pointers to int and using %x to print them.mike2003-01-051-4/+3
| | | | Noticed by: alpha tinderbox
* Reduce diff to RELENG_4.simokawa2003-01-054-3/+65
|
* Use in_addr_t for the right size of an IPv4 address, and copy intofenner2003-01-051-1/+3
| | | | | | | an unaligned destination using bcopy instead of an assignment. Submitted by: Hartmut Brandt <brandt@fokus.gmd.de> PR: sparc64/46729
* Fix alignment problems -- the embedded v4 address is guaranteed tofenner2003-01-051-15/+17
| | | | be only 16-bit aligned, so only do byte operations to compare with it.
* In sodealloc(), if there is an accept filter present on the socketalfred2003-01-051-9/+3
| | | | | | | then call do_setopt_accept_filter(so, NULL) which will free the filter instead of duplicating the code in do_setopt_accept_filter(). Pointed out by: Hiten Pandya <hiten@angelica.unixdaemons.com>
* Don't take the detour over VOP_STRATEGY from spec_getpages, call ourphk2003-01-051-1/+1
| | | | own strategy directly.
* Split out the vnode and buf arguments to the internal strategy workerphk2003-01-051-13/+3
| | | | routine instead of doing evil casts.
* Syntax fix in fwohci_pci_suspend().simokawa2003-01-051-1/+2
|
* Validate inp before de-referencing it.hsu2003-01-051-1/+1
| | | | Submitted by: pb
* Fix the duplicate unlock of the pcm read channel in certain cases.green2003-01-051-1/+0
| | | | Reviewed by: cg
* - Change definition of fc->maxrec same as fwdev->maxrec.simokawa2003-01-054-34/+49
| | | | | | - 'spec' and 'ver' are attributes of a unit rather than a node. - Report Phy and Link info separatelly. - Reorder intialization step in fwohci_reset().
* - Reorganize PMAP_STATS to scale a little better.jake2003-01-056-124/+167
| | | | - Add some more stats for things that are now considered interesting.
* Add a manpage for the LAN Media Corp PCI WAN adapter driver.obrien2003-01-052-0/+92
| | | | Obtained from: NetBSD
* Sync with zs.jake2003-01-051-239/+179
| | | | | | | - Fix some bogosity with mixing unit numbers and channels, which would only work for one instance of the device. - Use a simpler scheme for input and output queueing. - Use db_alt_break.
* Make imgact_elf32.c compile on sparc64.jake2003-01-051-0/+10
| | | | Obtained from: ia64
* - Provide backwards compatibility for kern.fallback_elf_brand.jake2003-01-053-64/+30
| | | | | - Use the generic elf type macros in imgact_elf.h instead of ifdefing the entire contents of the header.
* No need to include <assert.h> here.tjr2003-01-054-4/+0
|
* Use atomic add and subtract to update the global wired page count,alc2003-01-051-3/+3
| | | | cnt.v_wire_count.
* Repair vnode locking in portal_lookup(). Specifically, lock the filetjr2003-01-051-2/+10
| | | | | | vnode, and unlock the parent directory vnode if LOCKPARENT is not set. Obtained from: NetBSD (rev. 1.34)
* Fix a reference to the order of SYNOPSIS lines.keramida2003-01-051-1/+1
| | | | | | Submitted by: Olivier Cherrier <Olivier.Cherrier@cediti.be> on freebsd-net MFC after: 3 days
* Adopt, adapt and improve:marcel2003-01-051-31/+33
| | | | | | | | | | | | | | | | | o Make the URL of the handbook match reality o Improve some comments (either wording or formatting) o Sync with i386: comment-out DDB, INVARIANTS, INVARIANT_SUPPORT o Add some more SCSI/RAID controllers: ahd, mpt, asr, ciss, dpt, iir, mly, ida o Remove support for the parallel port o Add NICs: em, bge o Remove NICs: ste, tl, tx, vr, wb o Enable USB support again, except of the UHCI host controller. UHCI still hangs the BigSur (=HP i2000) machines, and makes them useless. The OHCI controller works fine. Note that newer ia64 boxes based on the Intel host controllers (UHCI or EHCI) still won't have USB support. We really need to import the EHCI host controller from NetBSD...
* Temporarily introduce a new VOP_SPECSTRATEGY operation while I tryphk2003-01-0411-12/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to sort out disk-io from file-io in the vm/buffer/filesystem space. The intent is to sort VOP_STRATEGY calls into those which operate on "real" vnodes and those which operate on VCHR vnodes. For the latter kind, the call will be changed to VOP_SPECSTRATEGY, possibly conditionally for those places where dual-use happens. Add a default VOP_SPECSTRATEGY method which will call the normal VOP_STRATEGY. First time it is called it will print debugging information. This will only happen if a normal vnode is passed to VOP_SPECSTRATEGY by mistake. Add a real VOP_SPECSTRATEGY in specfs, which does what VOP_STRATEGY does on a VCHR vnode today. Add a new VOP_STRATEGY method in specfs to catch instances where the conversion to VOP_SPECSTRATEGY has not yet happened. Handle the request just like we always did, but first time called print debugging information. Apart up to two instances of console messages per boot, this amounts to a glorified no-op commit. If you get any of the messages on your console I would very much like a copy of them mailed to phk@freebsd.org
* Improve the way that an elf image activator for an alternate word size isjake2003-01-048-102/+29
| | | | | | | | | | | included in the kernel. Include imgact_elf.c in conf/files, instead of both imgact_elf32.c and imgact_elf64.c, which will use the default word size for an architecture as defined in machine/elf.h. Architectures that wish to build an additional image activator for an alternate word size can include either imgact_elf32.c or imgact_elf64.c in files.${ARCH}, which allows it to be dependent on MD options instead of solely on architecture. Glanced at by: peter
* Add "ifstat" display:phk2003-01-048-2/+785
| | | | | | | | | | | | | | | ifstat Display the network traffic going through active interfaces on the system. Idle interfaces will not be displayed until they receive some traffic. For each interface being displayed, the current, peak and total statistics are displayed for incoming and outgoing traffic. By default, the ifstat display will automatically scale the units being used so that they are in a human-read- able format. The scaling units used for the current and peak traffic columns can be altered by the scale command. Submitted by: Trent Nelson <trent@arpa.com>
* When we close a display, mark it as not-initialized so that we willphk2003-01-041-0/+1
| | | | | | properly open it again next time. Submitted by: Trent Nelson <trent@arpa.com>
* Introduce thephk2003-01-042-0/+15
| | | | | | | | | | | | | void backtrace(void); function which will print a backtrace if DDB is in the kernel and an explanation if not. This is useful for recording backtraces in non-fatal circumstances and does not require pollution with DDB #includes in the files where it is used. It would of course be nice to have a non-DDB dependent version too, but since the meat of a backtrace is MD it is probably not worth it.
* resort vnode ops listphk2003-01-041-3/+3
|
OpenPOWER on IntegriCloud