summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix two typos from the previous commit. This code is definitely infectious.scottl2002-11-121-2/+2
|
* Step one of cleaning and fixing cardbus:scottl2002-11-121-65/+92
| | | | | | | | | | | | | - Fix some especially bad style in the CIS BAR tuple parsing code. - activate Option ROMS correctly. - de-obfuscate the Option ROM image selection code. - Fix mis-interpretation of the PCI spec that prevented Option ROMs whose CIS section wasn't in the first image from working. - Fix mis-interpretation of the PCI spec that prevented CIS's mapped into MEMIO space from working at all. - Reject invalid CIS pointers. Reviewed by: imp
* - Remove unused code.simokawa2002-11-122-394/+178
| | | | - Style fixes.
* Restrict process count in fwohci_arcv() and fwohci_ircv().simokawa2002-11-121-12/+18
|
* Garbage collect mac_create_devfs_vnode() -- it hasn't been used sincerwatson2002-11-1218-119/+0
| | | | | | | | we brought in the new cache and locking model for vnode labels. We now rely on mac_associate_devfs_vnode(). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Correct an assertion in the code to traverse the list of locks to find anjhb2002-11-111-1/+1
| | | | | | | | | | earlier acquired lock with the same witness as the lock currently being acquired. If we had released several earlier acquired locks after acquiring enough locks to require another lock_list_entry bucket in the lock list, then subsequent lock_list_entry buckets could contain only one lock instance in which case i would be zero. Reported by: Joel M. Baldwin <qumqats@outel.org>
* Capitalize the first letter of device descriptionsmux2002-11-112-4/+4
| | | | for consistency with the rest of the drivers.
* Garbage collect definition of M_MACOPVEC -- we no longer perform arwatson2002-11-119-18/+0
| | | | | | | | dynamic mapping of an operation vector into an operation structure, rather, we rely on C99 sparse structure initialization. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Remove extra #include<sys/vmmeter.h>.cognet2002-11-111-1/+0
|
* atomic_set_8 isn't MI. Instead, follow Jake's suggestions aboutmjacob2002-11-113-5/+7
| | | | ZONE_LOCK.
* Declare the snp ioctl()s to work on udev_t, since that is what theytmm2002-11-112-3/+3
| | | | | | | really do and dev_t is defined differently in kernel and userland. Return a correctly formed udev from SNPGTTY. Reviewed by: dd
* Warning fixes.mux2002-11-112-6/+8
|
* Warning fix.mux2002-11-112-4/+4
|
* Don't override CWARNFLAGS in these Makefiles.mux2002-11-113-6/+0
|
* Don't override CWARNFLAGS in this Makefile.mux2002-11-111-2/+0
|
* ia64 ABI breaker:marcel2002-11-111-30/+17
| | | | | | | | | | | | | Don't force 16-byte alignment at run-time. Do it at compile-time. This saves us the pointer fiddling by the setjmp functions and reduces complexity. While here, increase the jmp_buf by 16 bytes to an even 512 bytes. Coincidentally, due to the way alignment was handled prior to this change, the jmp_buf has not changed in size, but only in how the space is used. Prior to this change the 16 bytes were reserved for enforcing alignment; now they are reserved by us for future extensions. Therefore, this ABI breaker is relatively save: the failure is always an alignment trap.
* - Clear the page's PG_WRITEABLE flag in the i386's pmap_changebit()alc2002-11-116-12/+13
| | | | | | if we're removing write access from the page's PTEs. - Export pmap_remove_all() on alpha, i386, and ia64. (It's already exported on sparc64.)
* Comment-out USB support. A kernel doesn't boot with it. Deal with itmarcel2002-11-111-12/+12
| | | | later.
* o Include <sys/uuid.h>. This avoids that applications such asmarcel2002-11-101-1/+3
| | | | | | | | | gpt(8) have to include both <sys/uuid.h> and <uuid.h> only because they include <sys/gpt.h> before <uuid.h>. o Drop the triple bang in the unicode comment in favor of adding '-16' to make it explicit that the unicode characters are 16-bit. The fact that we use short as the type of the array does give it away; but only to the careful reader.
* Change the device path representation in libofw to use the full firmwarejake2002-11-1011-647/+93
| | | | | | | | | path, instead of an internal i386 specific one. Don't try to interpret a disklabel in ofw_disk.c, open the partition's device node directly and let the firmware do it. This fixes booting from a partition other than 'a' on sparc64, which is needed to support more installation methods. No objection: ppc
* a better solution to building FAST_IPSEC w/o INET6sam2002-11-102-8/+0
| | | | Submitted by: Jeffrey Hsu <hsu@FreeBSD.org>
* Use atomic_set_8 on the us_freelist maps as they are not otherwisemjacob2002-11-101-2/+2
| | | | | | protected. Furthermore, in some RISC architectures with no normal byte operations, the surrounding 3 bytes are also affected by the read-modify-write that has to occur.
* When prot is VM_PROT_NONE, call pmap_page_protect() directly rather thanalc2002-11-107-22/+22
| | | | | | | | | indirectly through vm_page_protect(). The one remaining page flag that is updated by vm_page_protect() is already being updated by our various pmap implementations. Note: A later commit will similarly change the VM_PROT_READ case and eliminate vm_page_protect().
* Replace {disable,enable}_intr() with critical_{enter,exit}().mdodd2002-11-102-6/+6
|
* Fix an error case in vm_map_wire(): unwiring of an entry during cleanupalc2002-11-091-2/+2
| | | | | | after a user wire error fails when the entry is already system wired. Reported by: tegge
* Add a new loader tunable, hw.hasbrokenint12, to indicate that BIOSiwasaki2002-11-092-92/+156
| | | | | | | | | | has broken int 12H. If hw.hasbrokenint12="1" in loader environment, kernel never use BIOS INT 12 call to determine base memory size. Otherwise, kernel use INT 12 in old behaviour. This should fix kernel panic problem caused by 1.544 changes. MFC after: 1 day
* Fix an unparenthasized macro argument. md5s differ but this is likelyalfred2002-11-091-1/+1
| | | | to order of operations that are actually fixed by the proper parenthasizing.
* Print real / avail memory in megabytes rather than kilobytes.des2002-11-098-30/+32
|
* Fix instances of macros with improperly parenthasized arguments.alfred2002-11-0918-93/+95
| | | | Verified by: md5
* In vm_page_remove(), avoid calling vm_page_splay() if the object's memqalc2002-11-091-10/+13
| | | | is empty.
* temporarily disallow FAST_IPSEC and INET6 to avoid potential panics;sam2002-11-081-0/+3
| | | | will correct this before 5.0 release
* FAST_IPSEC fixups:sam2002-11-083-5/+42
| | | | | | | | | | | o fix #ifdef typo o must use "bounce functions" when dispatched from the protosw table don't know how this stuff was missed in my testing; must've committed the wrong bits Pointy hat: sam Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
* fixup FAST_IPSEC build w/o INET6sam2002-11-082-2/+8
|
* correct fast ipsec logic: compare destination ip address against thesam2002-11-081-1/+1
| | | | | | contents of the SA, not the SP Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>
* correct minor # in make_dev callsam2002-11-081-1/+1
| | | | Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
* change load order so module is present before crypto driverssam2002-11-081-1/+1
| | | | Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>
* - Move netsmb entries over to MI files. netsmb appears to be MI code.jhb2002-11-083-21/+11
| | | | - Add 'nowerror' to pci/simos.c to help LINT builds.
* Print daddr_t's with %j and intmax_t.jhb2002-11-081-4/+5
|
* Fix some sizeof(int) != sizeof(void *) warnings.jhb2002-11-082-4/+4
|
* - Change mb_copy_t to take a size_t as the length argument instead of anjhb2002-11-083-4/+4
| | | | | | | int. - Change the local variable in smb_copy_iconv() from an int to a size_t. These make smb_copy_iconv() happy in a 64-bit world.
* Fix a sizeof(int) != sizeof(void *) warning.jhb2002-11-081-1/+1
|
* Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.jhb2002-11-084-12/+12
|
* - Move opt_fb.h earlier so it covers included headers.jhb2002-11-081-6/+5
| | | | | | - Update cdevsw. Block majors are out, kqfilters are in. - No need to bzero softc's that we get from new-bus. They come that way to begin with.
* Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined injhb2002-11-081-2/+2
| | | | included headers.
* Fix printf warnings with %j and uintmax_t.jhb2002-11-081-2/+3
|
* Fix warnings when compiled with SIMOS defined.jhb2002-11-081-4/+14
|
* Assign value of NULL to imgp->execlabel when imgp is initializedrwatson2002-11-081-0/+1
| | | | | | | | in the ELF code. Missed in earlier merge from the MAC tree. Approved by: re Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Cast pointers in mem*_io() compat macros to uintptr_t so that they can bejhb2002-11-081-5/+5
| | | | used as bus handles by the bus_space functions implementing these macros.
* Make 3dfx i386-only. The memrange API it uses may be defined in an MIjhb2002-11-083-15/+15
| | | | header, but it is only implemented on i386.
* Move rc(4) over to MI notes and enable it as a MI module.jhb2002-11-083-6/+6
|
OpenPOWER on IntegriCloud