summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add support such that if LD_TRACE_LOADED_OBJECTS_ALL is defined to aobrien2002-02-174-7/+30
| | | | | | | | non-empty string in the environment; we indicate which objects caused each object to be loaded. PR: 30908 Submitted-by: Mike Meyer <mwm@mired.org>
* 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.
* Remove check for sendmail.conf before even trying to start sendmail.cjc2002-02-171-12/+10
| | | | | | | | | | | | Checking for the existence of sendmail.cf is rather silly when someone is using the mailwrapper(8) to run a mail daemon that is not actually sendmail(8). It is also probably better to let sendmail(8) actually try to start and error out if the administrator has 'sendmail_enable="YES"' but no sendmail.conf. At present, it would fail silently. Reviewed by: gshapiro MFC after: 2 days
* MFen (1.275 --> 1.277).kuriyama2002-02-171-9/+14
|
* 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
|
* This commit was generated by cvs2svn to compensate for changes in r90744,jmallett2002-02-162-0/+835
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import OpenBSD m4 as of today.jmallett2002-02-167-446/+1907
| |
| * Import OpenBSD m4 as of today.jmallett2001-11-161-109/+224
| |
| * Import OpenBSD m4 as of today.jmallett2001-09-271-18/+66
| |
| * Import OpenBSD m4 as of today.jmallett2001-09-181-2/+10
| |
| * Import OpenBSD's fts.c, rev.1.22. Revision 1.23 is the reinsertion ofgreen1999-12-181-70/+179
| | | | | | | | | | | | | | | | | | | | | | a feature we don't use, and is meant to be removed from OpenBSD on the next library version bump, so this is the second-to-latest version. This fixes the buffer overflows, bugs, and whatnot that have plagued us in fts.c for a long time. Eventually, fts(3) may become something other than pure evil. Obtained from: OpenBSD
| * Import OpenBSD m4 as of today.jmallett1999-11-091-0/+3
| |
* | Supply progress information in dump's process title, which is usefuliedowse2002-02-164-7/+22
| | | | | | | | | | | | | | | | for monitoring automated backups. This is based on a patch by Mikhail Teterin, with some changes to make its operation clearer and to update the proctitle more frequently. PR: bin/32138
* | On receipt of a SIGINFO, schedule an immediate printout of theiedowse2002-02-164-2/+16
| | | | | | | | | | | | | | percentage complete and remaining time estimate. PR: bin/32138 Submitted by: mi
* | When blocked on a mutex, display the mutex name via the wchan string fielddillon2002-02-161-1/+4
| | | | | | | | | | so we can at least tell the difference between being blocked in Giant and being blocked in some other mutex.
* | New release notes: puc(4).bmah2002-02-164-12/+50
| | | | | | | | | | | | | | Modified release notes: Network device polling not just for i386 anymore and has a manpage (+MFC), uudecode(1) -p un-deprecated. MFCs noted: ARCNET support, cm driver,
* | Document the 'M' state.des2002-02-161-0/+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.
* | Fix two file descriptor leaks in the internal function local_rpcb()iedowse2002-02-161-1/+8
| | | | | | | | | | | | | | | | that is used by a number of rpcbind-related library functions. Also fix a rpc client leak in rpcb_set(). Submitted by: mbr Obtained from: NetBSD
* | Merge from NetBSD:joe2002-02-162-43/+56
| | | | | | | | | | * Add a -d flag to show the device drivers associated with each device. * Update to use the new speed structure entry.
* | Add the puc (PCI "Universal" Communications) driver. The idea and some ofjhay2002-02-1610-0/+1745
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | If downloading to a temporary file, set the timestamp on the temp file, notdes2002-02-161-2/+2
| | | | | | | | | | | | | | | | on the file we're replacing. PR: bin/34992 Submitted by: Shunichiro Ariura <syun1rou@blackshell.org> MFC after: 1 week
* | 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
| |
* | Add header to prototype exit(3). Fix a style bug.mike2002-02-161-0/+2
| |
* | Un-deprecate the -p option. We now have two ways to output to stdout:mike2002-02-162-4/+0
| | | | | | | | | | | | `-o /dev/stdout' or `-p'. Requested by: grog, nectar
* | 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.
* | Document that the type of st_flags is now fflags_t.wollman2002-02-151-2/+2
| |
OpenPOWER on IntegriCloud