summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add a change I forgot when adding ED_NO_MIIBUS. This will likelyiedowse2001-09-301-1/+2
| | | | | be backed out with the rest of ED_NO_MIIBUS when the general miibus code makes proper use of newbus.
* Re-enable mbtypes statistics in the mbuf allocator. I disabled thesebmilekic2001-09-302-19/+82
| | | | | | | | | | | | | | | | | when I changed the allocator bits. This implements per-CPU mbtypes stats by keeping net number of decrements/increments of a given mbtype per-CPU and then summing all of the per-CPU mbtypes to produce the total net number of allocated mbufs of the given mbtype. Counters are carefully balanced to avoid/prevent underflows/overflows. mbtypes stats are re-enabled with the idea that we may occasionally (although very rarely) observe slight inconsistencies in the stat reporting. Most of the time, we should be fine, though. Also make appropriate modifications to netstat(1) and systat(1) to do the necessary reporting. Submitted by: Jiangyi Liu <jyliu@163.net>
* Add an option ED_NO_MIIBUS, which causes the `ed' driver to beiedowse2001-09-296-0/+43
| | | | | | built without support for miibus PHYs. Most ed cards don't need miibus support, so it's useful to be able to avoid the bloat of all the mii devices for small fixed-purpose kernels.
* Adapt to pseudofs version 2. Sorry about the breakage - I had this readydes2001-09-291-20/+18
| | | | to commit along with the pseudofs patches, but just plain forgot.
* When calling isp_reset, set the request/response in/out pointers all atmjacob2001-09-291-9/+13
| | | | | | | | once so there isn't a window with the ones for the 23XX cards being wrong. When being verbose, print out some more FC NVRAM values (like framesize). MFC after: 1 week
* Do not call mii_polltick() immediately after mii_tick().jlemon2001-09-294-21/+14
| | | | Poiinted out by: wpaul
* Do not call mii_pollstat() from within device tick routines; the statusjlemon2001-09-299-55/+39
| | | | | | information is updated by mii_tick(). Pointed out by: wpaul (a while back)
* Cleanup pass for mii drivers.jlemon2001-09-2923-543/+233
| | | | | | | . Make internal service routines static. . Use a consistent ordering of checks in MII_TICK. Do the work in the mii_phy_tick() subroutine if appropriate. . Call mii_phy_update() to trigger the callbacks.
* Change the order that we print the media options during device probe tojlemon2001-09-291-30/+24
| | | | match the other mii drivers.
* Add field for last active status, as well as function prototypes.jlemon2001-09-291-0/+3
|
* Add new device method miibus_linkchg, along with a service routine.jlemon2001-09-293-0/+102
|
* Add ability to attach knotes to network devices.jlemon2001-09-292-2/+82
| | | | Introduce EVFILT_NETDEV to report network device changes.
* Have EVFILT_TIMERS allocate their callouts via malloc() instead of usingjlemon2001-09-292-14/+34
| | | | | | | | | | | the static callout list allocated by the system. Change malloc type from M_TEMP to M_KQUEUE to better track memory. Add a kern.kq_calloutmax to globally limit the amount of kernel memory that can be allocated by callouts. Submitted by: iedowse (items 1, 2)
* Nuke unused (and incorrect) #define of INADDR_HMASK.jlemon2001-09-291-1/+0
| | | | Spotted by: ru
* Add another pnpid for the AWE64greid2001-09-291-0/+1
| | | | | | PR: 30909 Submitted by: Kinji Itoh <kinji-i@gray.plala.or.jp> MFC after: 7 days
* Add various file relating to firmware interfaces and make SKI supportdfr2001-09-292-5/+13
| | | | optional.
* Support for SKI is now an option.dfr2001-09-291-0/+1
|
* Make sio0 a console device.dfr2001-09-291-1/+1
|
* Add a couple of arguments to ia64_init. I'll use them later to improvedfr2001-09-291-1/+1
| | | | the method of passing bootinfo from the loader.
* Various changes to use the firmware on a real machine.dfr2001-09-292-46/+166
|
* * Read parameters for ptc.e instruction from PAL Code.dfr2001-09-291-10/+42
| | | | * Add pmap_unmapdev().
* Fake PAL Code for SKI.dfr2001-09-291-0/+58
|
* Start hooking up devices.dfr2001-09-295-0/+1304
|
* Add pmap_unmapdev().dfr2001-09-291-0/+1
|
* Fill out the firmware interfaces somewhat.dfr2001-09-293-583/+46
|
* Add code to initialise firmware resources (and to fake them if we aredfr2001-09-293-0/+344
| | | | running in simulation).
* Add shims for calling PAL Code in physical mode.dfr2001-09-292-6/+244
|
* Add some move definitions.dfr2001-09-291-0/+5
|
* Call cpu_boot from cpu_reset.dfr2001-09-291-1/+2
|
* Give up on the backtrace if the calculated pc isn't in region 7.dfr2001-09-291-1/+1
|
* Use PAGE_SHIFT instead of a hardcoded constant for log2(PAGE_SIZE).dfr2001-09-292-6/+6
|
* * Preserve ar.rsc in ia64_change_mode.dfr2001-09-292-6/+120
| | | | | * Convert sp to/from physical in ia64_change_mode. * Add a shim for calling EFI procedures in virtual mode.
* Change END(locorestart) to END(__start).dfr2001-09-292-4/+2
|
* release isa dma channels on unload.cg2001-09-291-3/+7
|
* allow the hardware buffer size to be controlled with hintscg2001-09-295-96/+123
| | | | release isa dma channels on unload (ad1816, ess, sb8)
* Make the INADDR_TO_IFP macro use the IP address hash lookup instead ofjlemon2001-09-291-1/+1
| | | | | | walking the entire list of IP addresses. Pointed out by: bfumerola
* Introduce network device nodes. Network devices will now automaticallyjlemon2001-09-292-63/+158
| | | | | | appear in /dev. Interface hardware ioctls (not protocol or routing) can be performed on the descriptor. The SIOCGIFCONF ioctl may be performed on the special /dev/network node.
* Change sysctl_iflist() so it has a single point of return. This willjlemon2001-09-291-3/+4
| | | | assist any future locking efforts.
* Use in_ifaddrhashtbl instead of in_ifaddrhead to look up IP address.jlemon2001-09-291-5/+1
|
* Add support for 28800 baud to sio.jlemon2001-09-292-0/+2
| | | | | PR: 30906 Submitted by: "Daniel O'Connor" <darius@chowder.dons.net.au>
* Add a hash table that contains the list of internet addresses, and usejlemon2001-09-296-63/+113
| | | | | this in place of the in_ifaddr list when appropriate. This improves performance on hosts which have a large number of IP aliases.
* Centralize satosin(), sintosa() and ifatoia() macros in <netinet/in.h>jlemon2001-09-295-11/+6
| | | | Remove local definitions.
* Pseudofs take 2:des2001-09-293-54/+170
| | | | | | | | | | | | | | | | | | | | | | | | | - Remove hardcoded uid, gid, mode from struct pfs_node; make pfs_getattr() smart enough to get it right most of the time, and allow for callbacks to handle the remaining cases. Rework the definition macros to match. - Add lots of (conditional) debugging output. - Fix a long-standing bug inherited from procfs: don't pretend to be a read-only file system. Instead, return EOPNOTSUPP for operations we truly can't support and allow others to fail silently. In particular, pfs_lookup() now treats CREATE as LOOKUP. This may need more work. - In pfs_lookup(), if the parent node is process-dependent, check that the process in question still exists. - Implement pfs_open() - its only current function is to check that the process opening the file can see the process it belongs to. - Finish adding support for writeable nodes. - Bump module version number. - Introduce lots of new bugs.
* Add a couple of API functions I need for my pseudofs WIP. Documentationdes2001-09-292-1/+54
| | | | | will follow when I've decided whether to keep this API or ditch it in favor of something slightly more subtle.
* Set the 'no pseudo header checksum' option for RX checksums, otherwisewpaul2001-09-281-3/+3
| | | | we may botch UDP checksums on receive, which will break NFS.
* The previous commit introduced some references to "curproc" which should havedes2001-09-281-2/+2
| | | | been references to "curthread". Correct this.
* Unwind some more macros. NFSMADV() was kinda silly since it was rightpeter2001-09-2810-207/+175
| | | | | | | | | | next to equivalent m_len adjustments. Move the nfsm_subs.h macros into groups depending on which phase they are used in, since that affects the error recovery requirements. Collect some of the common error checking into a single macro as preparation for unwinding some more. Have nfs_rephead return a value instead of secretly modifying args. Remove some unused function arguments that were being passed around. Clarify nfsm_reply()'s error handling (I hope).
* Oops. I forgot to cvs rm this before. There is a common nfsproto.h.peter2001-09-281-439/+0
| | | | This was a repo copy leftover.
* Remove linux_getpgid(). We map the syscall natively now.marcel2001-09-281-21/+0
| | | | PR: kern/21402
* o Remove the linux_setpgid() stub.marcel2001-09-284-30/+8
| | | | | | o Stop using linux_getpgid(); use getpgid() instead. PR: kern/21402
OpenPOWER on IntegriCloud