summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Augment the 'ifaddr' structure with a 'struct if_data' to keepjoe2000-10-196-11/+73
| | | | | | | | | | | statistics on a per network address basis. Teach the IPv4 and IPv6 input/output routines to log packets/bytes against the network address connected to the flow. Teach netstat to display the per-address stats for IP protocols when 'netstat -i' is evoked, instead of displaying the per-interface stats.
* o Fix memory leak in ivarsimp2000-10-191-6/+25
| | | | | | o Change name of bus o Change the panic on resource allocation failure to just a message. We'll work out why this fails later in the pcic/pccbb code merge.
* Make note of merged changes.gshapiro2000-10-192-8/+12
|
* Understand the difference between an empty file and a non-existent file.des2000-10-191-9/+13
| | | | This has been sitting in my tree for ages...
* Don't force bootverbose anymore.dfr2000-10-191-2/+1
|
* Decrease the number of ticks between clock interrupts by a factor of tendfr2000-10-191-1/+1
| | | | to place more pressure on the exception handling code.
* * Disable interrupts when restoring a trapframe.dfr2000-10-192-4/+8
| | | | | * Make sure we reset ar.k6 (used to hold the kernel stack pointer when we are returning to user mode after a syscall.
* Reparent a kernel thread to init during kthread_exit() so that the zombiejhb2000-10-191-0/+1
| | | | can be reaped.
* - Move the prototype for proc_reparent from sys/ptrace.h to sys/proc.hjhb2000-10-192-2/+2
| | | | - Fix the sorting of function prototypes in sys/proc.h
* Quiet a silly warning.jhb2000-10-192-2/+2
| | | | Pointy-hat to: ps
* Scripts should contain a comment block describing what the script does.joe2000-10-191-0/+13
|
* A failure to allocate memory for auxiliary TCP data is now fatal.ru2000-10-192-32/+30
| | | | | This fixes a null pointer dereference problem that is unlikely to happen in normal circumstances.
* NEWCARD/Cardbus -jon2000-10-197-18/+859
| | | | | | | | | This commit adds support for Xircom X3201 based cardbus cards. Support for the TDK 78Q2120 MII is also added. IBM Etherjet, Intel and Xircom cards uses these chips. Note that as a result of this commit, some Intel/DEC 21143 based cardbus cards will also attach, but not get link. That is being looked at.
* Move init_clocks earlier in the system startup so that hardclock and clockjhb2000-10-191-1/+1
| | | | | interrupts are started before the device probe. This allows interrupt threads to run during the device probe among other things.
* Write the routed interrupt back to PCI configuration space.msmith2000-10-192-2/+2
|
* Call the BIOS to route the selected interrupt. Correctly calculate themsmith2000-10-193-12/+66
| | | | | interrupt from the PCI routing table (ffs returns 1 for the rightmost bit, not 0).
* Add PCI BIOS function codes for IRQ routing fetch and route.msmith2000-10-192-0/+4
|
* o Introduce new VOP_ACCESS() flag VADMIN, allowing file systems to performrwatson2000-10-195-32/+65
| | | | | | | | | | | | | | | | | | | | "administrative" authorization checks. In most cases, the VADMIN test checks to make sure the credential effective uid is the same as the file owner. o Modify vaccess() to set VADMIN as an available right if the uid is appropriate. o Modify references to uid-based access control operations such that they now always invoke VOP_ACCESS() instead of using hard-coded policy checks. o This allows alternative UFS policies to be implemented by replacing only ufs_access() (such as mandatory system policies). o VOP_ACCESS() requires the caller to hold an exclusive vnode lock on the vnode: I believe that new invocations of VOP_ACCESS() are always called with the lock held. o Some direct checks of the uid remain, largely associated with the QUOTA and SUIDDIR code. Reviewed by: eivind Obtained from: TrustedBSD Project
* Axe the idle_event eventhandler, and add a MD cpu_idle function usedjhb2000-10-194-26/+12
| | | | | | for things such as halting CPU's, idling CPU's, etc. Discussed with: msmith
* Add Daniel's name and fix release dataroger2000-10-191-2/+2
|
* Update to driver 2.17roger2000-10-198-76/+201
| | | | | | | | | Fixes bugs in devfs when unloading and reloading Syncs with NetBSD changes Submitted by: Alexander Langer <alex@big.endian.de> Submitted by: Thomas Klausner <wiz@netbsd.org> Submitted by: Daniel O'Connor" <doconnor@gsoft.com.au>
* ObCommit from BSDCon: Update SMPng note and add an entry for devfs,bmah2000-10-182-2/+19
| | | | | which hopefully reflect something of what grog and phk presented in their talks.
* Make these PICOBSD's compile... well, almost. Still some work tojoe2000-10-184-7/+12
| | | | do on PPP (atm problems.)
* Reference Larry Wall's perlstyle man page, and recommend it's use wherejoe2000-10-181-4/+17
| | | | | | | | entries in this guide don't override it. Requested by: markm Comment on tabulation style.
* Trim index lines down to 79 characters, not 80.des2000-10-181-1/+1
| | | | Approved by: jkh
* Minor changes to the ATA RAID support code, remove some verbositysos2000-10-184-44/+15
| | | | and put some under bootverbose..
* Use 'unless' instead of 'if (! ... )' where it improves readability.joe2000-10-181-0/+7
|
* EVENTHANDLER_INVOKE() takes two arguments.peter2000-10-181-1/+1
|
* Opening braces should be at the end of the controlling line. Elsejoe2000-10-181-1/+33
| | | | | | | and elsif belong on the same line as the closing brace for the previous if or elsif block. Suggested by: des
* This didn't compile. Fix typo: s/rmang_get_start/rman_get_start/peter2000-10-182-2/+2
|
* Contract a statement that's too verbose.joe2000-10-181-2/+0
|
* There are enough examples of using 'my $var = ...' definitions, so removejoe2000-10-181-7/+0
| | | | one.
* All variables should be commented.joe2000-10-181-0/+21
| | | | | | | Local variables should be separated from function arguments by a blank line. Suggested by: des
* Make subroutine prototypes mandatory.joe2000-10-181-0/+20
| | | | | | The main code should be wrapped in a MAIN:{ ... } declaration. Suggested by: des
* Fix the places that I missed last commit: 'vars' not 'var'.joe2000-10-181-2/+2
|
* Converted `da' and `wd' into `rda' and `rwd', respectively.kato2000-10-181-2/+2
| | | | Submitted by: MURAMATSU Atsushi <amura@ma3.seikyou.ne.jp>
* If we do not byte-swap the ip_id in the first place, don't do it inru2000-10-182-0/+4
| | | | | the second. NetBSD (from where I've taken this originally) needs to fix this too.
* Attempt to fix the random read blocking. The old code slept atpeter2000-10-181-14/+13
| | | | | | | | priority "0" and without PCATCH, so it was uninterruptable. And even when it did wake up after entropy arrived, it exited after the wakeup without actually reading the freshly arrived entropy. I sent this to Mark before but it seems he is in transit. Mark: feel free to replace this if it gets in your way.
* Add in a simple API for memory barriers to machine/bus.h:jhb2000-10-189-0/+195
| | | | | | - barrier_read() enforces a memory read barrier - barrier_write() enforces a memory write barrier - barrier_rw() enforces a memory read/write barrier
* Go ahead and disable the legacy mapping of the pcic registers on theimp2000-10-181-1/+1
| | | | | | RF5C47x. Before the code would only do this on the RF5C46x bridges. Submitted by: Jonathan Chen
* Add ifpnp driver to list of i4b hardware drivers.hm2000-10-182-8/+10
|
* Merged from sys/i386/i386/machdep.c revision 1.416.kato2000-10-182-14/+18
|
* Add a debug flag bit for a new driver.hm2000-10-182-38/+38
|
* Don't needlessly pass the diagnostic counter to the idle_event eventjhb2000-10-181-1/+1
| | | | handlers.
* Use dd to better block the data being sent to /dev/random.jwd2000-10-181-2/+2
| | | | | Note: I am not redirecting stdout so that the amount of data being transferred can be seen (22k and 576k currently).
* Add new bus method 'GET_RESOURCE_LIST' and appropriate genericmdodd2000-10-183-0/+110
| | | | | | | | | | implementation. Add bus_generic_rl_{get,set,delete,release,alloc}_resource() functions which provide generic operations for devices using resource list style resource management. This should simplify a number of bus drivers. Further commits to follow.
* Initial commit of NEWCARD cardbus side (that actually compiles and works)jon2000-10-186-563/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files: dev/cardbus/cardbus.c dev/cardbus/cardbusreg.h dev/cardbus/cardbusvar.h dev/cardbus/cardbus_cis.c dev/cardbus/cardbus_cis.h dev/pccbb/pccbb.c dev/pccbb/pccbbreg.h dev/pccbb/pccbbvar.h dev/pccbb/pccbb_if.m This should support: - cardbus controllers: * TI 113X * TI 12XX * TI 14XX * Ricoh 47X * Ricoh 46X * ToPIC 95 * ToPIC 97 * ToPIC 100 * Cirrus Logic CLPD683x - cardbus cards * 3c575BT * 3c575CT * Xircom X3201 (includes IBM, Xircom and, Intel cards) [ 3com support already in kernel, Xircom will be committed real soon now] This doesn't work with 16bit pccards under NEWCARD. Enable in your config by having "device pccbb" and "device cardbus". (A "device pccard" will attach a pccard bus, but it means you system have a high chance of panicing when a 16bit card is inserted) It should be fairly simple to make a driver attach to cardbus under NEWCARD -- simply add an entry for attaching to cardbus on a new DRIVER_MODULE and add new device IDs as necessary. You should also make sure the card can be detached nicely without the interrupt routine doing something weird, like going into an infinite loop. Usually that should entail adding an additional check when a pci register or the bus space is read to check if it equals 0xffffffff. Any problems, please let me know. Reviewed by: imp
* Initial commit of NEWCARD cardbus side (that actually compiles and works)jon2000-10-1810-574/+3641
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files: dev/cardbus/cardbus.c dev/cardbus/cardbusreg.h dev/cardbus/cardbusvar.h dev/cardbus/cardbus_cis.c dev/cardbus/cardbus_cis.h dev/pccbb/pccbb.c dev/pccbb/pccbbreg.h dev/pccbb/pccbbvar.h dev/pccbb/pccbb_if.m This should support: - cardbus controllers: * TI 113X * TI 12XX * TI 14XX * Ricoh 47X * Ricoh 46X * ToPIC 95 * ToPIC 97 * ToPIC 100 * Cirrus Logic CLPD683x - cardbus cards * 3c575BT * 3c575CT * Xircom X3201 (includes IBM, Xircom and, Intel cards) [ 3com support already in kernel, Xircom will be committed real soon now] This doesn't work with 16bit pccards under NEWCARD. Enable in your config by having "device pccbb" and "device cardbus". (A "device pccard" will attach a pccard bus, but it means you system have a high chance of panicing when a 16bit card is inserted) It should be fairly simple to make a driver attach to cardbus under NEWCARD -- simply add an entry for attaching to cardbus on a new DRIVER_MODULE and add new device IDs as necessary. You should also make sure the card can be detached nicely without the interrupt routine doing something weird, like going into an infinite loop. Usually that should entail adding an additional check when a pci register or the bus space is read to check if it equals 0xffffffff. Any problems, please let me know. Reviewed by: imp
* Move auto doesn't work comment closer to config lineimp2000-10-181-1/+1
|
* Remove some silly debug writes and code that we don't needimp2000-10-181-20/+0
|
OpenPOWER on IntegriCloud