summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Move the stuff related to select and poll out of struct vnode.phk2002-02-173-40/+71
| | | | | | | | | The use of the zone allocator may or may not be overkill. There is an XXX: over in ufs/ufs/ufs_vnops.c that jlemon may need to revisit. This shaves about 60 bytes of struct vnode which on my laptop means 600k less RAM used for vnodes.
* Collect the VN_KNOTE() macro definitions on vnode.hphk2002-02-174-8/+4
|
* Always build all modules for LINTphk2002-02-172-1/+4
|
* v_lease is unused, zap it.phk2002-02-171-1/+0
|
* Remove cache_purgeleafdirs(), it has been #if 0 for quite some time.phk2002-02-171-60/+0
|
* Don't even think about using v_id for magic tricks, v_id is givingphk2002-02-171-5/+0
| | | | us enough trouble as it is for SMPng.
* Regenerate these files after change to syscalls.master.deischen2002-02-175-6/+6
|
* Fix prototype to sigreturn to use struct __ucontext instead of ucontext_t.deischen2002-02-171-1/+1
|
* Use struct __ucontext in prototypes and associated functions instead ofdeischen2002-02-1714-12/+44
| | | | | | | | | | ucontext_t. Forward declare struct __ucontext in <sys/signal.h> and remove reliance on <sys/ucontext.h> being included. While I'm here, also hide osigcontext types from userland; suggested by bde. Namespace pollution noticed by: Kevin Day <toasty@shell.dragondata.com>
* Error handling fixes for inflate.jedgar2002-02-171-4/+7
|
* Correct typo.nyan2002-02-173-3/+3
|
* Fix a formatting error.joe2002-02-172-12/+12
|
* KNF style the code, ready for an MFC.joe2002-02-172-108/+128
|
* KNF style the code, ready for an MFC.joe2002-02-172-76/+82
|
* Move the bus_space_subregion function from the puc driver to the bus_spacenyan2002-02-174-21/+42
| | | | | | sutff. Reviewed by: jhay
* - Split the routine to initialize a bus_space_handle into the separatenyan2002-02-179-142/+339
| | | | | | | function. - Only access a bus_space_handle if the resource type is SYS_RES_MEMORY or SYS_RES_IOPORT. - Add the bus_space_subregion supports.
* MFi386: revision 1.167nyan2002-02-171-0/+2
|
* MFi386: revision 1.392nyan2002-02-171-0/+3
|
* Purely whitespace changesjulian2002-02-171-25/+25
|
* replace the embedded cr_mtx in the ucred structure with cr_mtxp (a mutexdillon2002-02-172-11/+13
| | | | | pointer), and use the mutex pool routines. This greatly reduces the size of the ucred structure.
* Support for f/w crash dumps (2200 && 23XX).mjacob2002-02-174-20/+401
| | | | | | | | | | | | | If you want QLogic to look at a potential f/w problem for FC cards, you really have to provide them info in the format they expect. This involves dumping a lot of hardware registers (> 300 16 bit registers) and a lot of SRAM (> 128KB minimum). Thus all of this code is #ifdef protected which will become an option so that the memory allocation of where to dump the crash image is pretty expensive. It's worth it if you have a reproducible problem because they have some tools that can tell them, given the f/w version, the precise state of everything. MFC after: 1 week
* Hints for WWN are now WWNN and/or WWPN.mjacob2002-02-171-2/+2
| | | | MFC after: 1 week
* Add in support firmware crash dumps. Change CFG options to splitmjacob2002-02-171-2/+13
| | | | | | WWN into WWNN and WWPN. MFC after: 1 week
* Bulk changes made during the BSDcon kernel summit and travel afterwards.imp2002-02-173-582/+669
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Appologies for making this one bulk commit, but I have tested all these changes together and don't want to break anything by trying to disentangle it. o Make debugging a sysctl/tunable o Remove flags word from yenta chip info, it is unused o Make 16-bit card I/O range and 32-bit card I/O range tunables o Start the rename of pccbb to cbb to match NetBSD by misc renames. o Kill the now bogus list of softcs to create kthread. Instead, just create the kthread in the attach routine. o Remove sc_ from some structure names. It isn't needed. o Refine chipset lookup code. o Match generic PCI <-> CardBus bridges. We specifically don't generically match PCI PCMCIA bridges because they are not, with one exception, yenta devices. o Add some comments about the why we need to have a function table ala OLDCARD o The PCI interrupt routing by using the ExCA registers is needed for for all bridges, per the spec, not just TI ones. o Collapse TOPIC95 and TOPIC95B. o Using the ToPIC 97 and 100 datasheets, try to support these bridges better, but more work is needed. o Generally clarify some XXX comments and add them in a few places where things didn't look right to me. o Move interrupt generating register access until after we establish an ISR. o Add support for YV and XV cards. X and Y are numbers to be determined later (but maybe never). o factor powerup code for 16-bit and 32-bit cards. o When a card supports more than one voltage, prefer the lowest supported volage. Windows does this, and MS's design guides imply this is the right thing to do. o Document race between kthread_exit(0) and kldunload's unmapping of pages that John Baldwin and I discovered. o Debounce the CSC interrupt a little better. o When a 16-bit card is inserted when we don't have a pccard child, warn about it better. Ditto for 32-bit card. o Ack ALL the interrupt bits that we get, not just 0x1. o maybe a couple minor style nits corrected.
* If the credential on an incoming thread is correct, don't botherjulian2002-02-176-15/+44
| | | | | | | | reaquiring it. In the same vein, don't bother dropping the thread cred when goinf ot userland. We are guaranteed to nned it when we come back, (which we are guaranteed to do). Reviewed by: jhb@freebsd.org, bde@freebsd.org (slightly different version)
* remove __P before next commitjulian2002-02-171-13/+13
| | | | Reviewed by: jhb
* I am sick of being told that "cstsevent occures".des2002-02-161-2/+2
|
* (Doing that whole test-immediately-after-commit-thing like obrien sez:)green2002-02-161-0/+2
| | | | Forgot to include lock.h and mutex.h for GIANT_REQUIRED.
* Add revoke_and_destroy_dev(), to be used by devices which decide whengreen2002-02-163-0/+15
| | | | | they choose to destroy themselves without regard to whether or not they are open.
* Add the puc (PCI "Universal" Communications) driver. The idea and some ofjhay2002-02-168-0/+1676
| | | | | | | | | | | | | the structure definitions come from NetBSD to make it easier to share card definitions. The driver only acts as a shim between the pci bus and the sio driver. Later pci parallel ports could also be supported through this driver. Support for most single and multiport pci serial cards should be as simple as adding its definition to pucdata.c Tested with the following pci cards: Moxa Industio CP-114, 4 port RS-232,RS-422/485 Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports Netmos NM9835 PCI-2S-550, 2 port RS-232
* MFi386: revisions 1.334 and 1.335nyan2002-02-161-0/+1
|
* MFi386: revisions 1.495 and 1.496nyan2002-02-162-2/+6
|
* Added #include <sys/systm.h>nyan2002-02-161-0/+2
|
* Dont try to attach ATA RAID's if none found.sos2002-02-161-0/+3
|
* Don't leave garbage in parts of fpregs in the fxsr case. All callersbde2002-02-162-0/+4
| | | | | | | (procfs and ptrace) supply kernel stack garbage, so kernel context was leaked to userland. Reviewed by: des
* FIxed the following style bugs:bde2002-02-162-10/+16
| | | | | | | | | | - clobbering of jsp's $Id$ by FreeBSD's old $Id$. - long lines in recent KSE changes (procfs_ctl.c). - other style bugs in KSE changes (most related to an shadowed variable in procfs_status.c -- the td in the outer scope is obfuscated by PFS_FILL_ARGS). Approved by: des
* FIxed the following style bugs:bde2002-02-163-11/+21
| | | | | | | - clobbering of jsp's $Id$ by FreeBSD's old $Id$. - lost Berkeley id in procfs_dbregs.c - long lines in recent KSE changes. - various gratuitous differences between procfs_*regs.c.
* Fixed missing PHOLD()/PRELE().bde2002-02-161-0/+2
| | | | | Obtained from: procfs_dbregs.c Approved by: des
* Merge from NetBSD:joe2002-02-165-16/+21
| | | | | | Pave the way for USB2, by replacing 'lowspeed' with 'speed', so that it can take the values USB_SPEED_LOW, USB_SPEED_FULL or in time USB_SPEED_HIGH.
* Re-add bmaj to the cdevsw's, but don't compile it in on -current.joe2002-02-156-0/+18
| | | | | This makes the code more portable between -current, -stable and the other BSDs.
* Resurrect one of the easiest changes from my big include files roll-upwollman2002-02-158-6/+22
| | | | | | patch from a year ago: give file flags their own type. This does not (yet) change the type used by system calls or library functions. The underlying type was chosen to match what is returned by stat().
* Fix my recent breakage of some modules.bde2002-02-152-1/+8
|
* Add a delta missed in the last iommu.c commit. This unbreaks the sparc64tmm2002-02-151-12/+24
| | | | | | kernel build. Pointy hat to: tmm
* - Remove unneeded variable.robert2002-02-151-2/+0
| | | | | | | - Remove change for my local configuration that slipped in with the last commit; I am having problems booting when multiple SCSI disks are attached, so I will change this part as soon as I find a solution, anyway.
* Garbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED,bde2002-02-155-30/+0
| | | | | DEVICE_SYSCTLS, KEY, LOUTB, NFS_MUIDHASHSIZ, NFS_UIDHASHSIZ, PCI_QUIET and SIMPLELOCK_DEBUG.
* This file is now unneeded.robert2002-02-151-492/+0
|
* - Do not include a NetBSD header as it is not needed anymore.robert2002-02-151-24/+11
| | | | | | | | | | - Remove two constants that were needed in conjuction with the NetBSD disklabel header. Use the FreeBSD equivalents. To boot from NetBSD/sparc64 partitions, define LABELOFFSET to be 128. - Do not use the complete open firmware path to filter out cdrom drives. No path containing "cdrom" is detected as a disk now. - Simplify some code.
* Add the FreeBSD/sparc64 bootblock and its make file.robert2002-02-154-0/+1448
|
* Moved the 127/8 check below so that IPF redirects have a chance of working.ru2002-02-151-10/+10
| | | | MFC after: 1 day
* Garbage collect options AVM_A1_PCI, AVM_A1_PCMCIA, DEBUG_LINUX, DEV_APM,bde2002-02-157-68/+1
| | | | | GUS_DMA, GUS_DMA2, GUS_IRQ, OLTR_NO_BULLSEYE_MAC, OLTR_NO_HAWKEYE_MAC, OLTR_NO_TMS_MAC and PCIC_RESUME_RESET.
OpenPOWER on IntegriCloud