summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Flush input when reading from pipe to avoid "broken pipe" warnings.kientzle2005-02-124-20/+70
| | | | | | | | | | | | | | For example, when using 'gunzip | tar' to decompress. Also, fix some style issues (write null character as '\0'). Thanks to: Jaakko Heinonen
* | - Fixed description of the "destroy" command options.ru2005-02-122-28/+45
| | | | | | | | | | - Document the "nuke" command. - Mention which commands correspond to which functions.
* | Add ibcntl as alias for ibcntphk2005-02-125-293/+327
| | | | | | | | | | | | Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling
* | Also build the netblast sub-directory, not just netreceive and netsend.rwatson2005-02-121-1/+1
| | | | | | | | MFC after: 3 days
* | Mark the signum argument to signal_handler() as __unused.rwatson2005-02-121-1/+1
| | | | | | | | MFC after: 3 days
* | Restore previous cookie. Old programs will work with new node OK,glebius2005-02-121-1/+1
| | | | | | | | | | | | | | new programs with old node wil receive EINVAL trying to access new messages. Submitted by: ru
* | - bzero sockaddr_dlglebius2005-02-121-8/+4
| | | | | | | | | | | | - use constant instead of number Suggested by: ru
* | Back out no longer necessary work-arounds added in rev. 1.59 for buildingmarius2005-02-121-5/+3
| | | | | | | | SBus-only kernels regarding ofw_machdep.c.
* | - Re-write OF_decode_addr() with a bus-neutral approach, adding supportmarius2005-02-123-86/+176
| | | | | | | | | | | | | | | | | | | | | | | | for nodes hanging off of Central (untested), FireHose (untested) and PCI (tested) busses. - Add an additional parameter to OF_decode_addr() which specifies the index of the register bank to decode. These should allow to eventually add support for the Z8530 hanging off of FireHose to uart(4) and to write support for PCI-based graphics adapters. Suggested by: tmm (back in '03)
* | Merge revision 1.5 from NetBSD: Fix a typo in a comment.marius2005-02-121-2/+2
| | | | | | | | | | NetBSD rev. 1.4 (addition of the OFW_PCI_PHYS_HI_BUS macro) had already been merged prior to adding this file to FreeBSD (with the 1.3 tag though).
* | Fix typo in a comment.ru2005-02-121-1/+1
| |
* | Add to CFLAGS.ru2005-02-121-1/+1
| |
* | Validate ifc->ifc_len before submitting its incarnation to sbuf_new,delphij2005-02-121-0/+4
| | | | | | | | | | | | | | | | | | which will finally lead to kernel panic. Security: This prevents a local (root-launched) DoS Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl] PR: 77421 MFC After: 1 week
* | Split the ibfoo API into its own file.phk2005-02-124-794/+926
| | | | | | | | | | Implement ibdma() (only affects ibrd() mode) Implement ibeot()
* | Connect ng_source(4) to the build.ru2005-02-121-0/+1
| |
* | Fallout from the ALTQ import.ru2005-02-121-1/+1
| |
* | Improve the mining of MAC address from the card:imp2005-02-121-7/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | o Add a fallback location for the MAC address. Most of the early ne2000 PC Cards were built from the same parts, so most of them have the same address in the CIS to grab the MAC from. Use this address as our fallback if we don't find anything better. o Add printf, in bootverbose, noting the MAC addresses that we find along the way. # Better sanity checking of the MAC address is needed. Will have to # investigate using/creating a centralized function to do this as a number # of other PC Card drivers each have their own ad-hoc tests.
* | Allocate enough space for new tag.glebius2005-02-121-1/+2
| | | | | | | | Pointy hat to: glebius
* | Fix typo. We want to unlock mutex here.pjd2005-02-121-1/+1
| | | | | | | | | | Submitted by: Andreas Kohn <andreas.kohn@gmail.com> MFC after: 1 week
* | Fix prototype for ibeot()phk2005-02-121-1/+1
| |
* | Use the eot argument field for ibeot().phk2005-02-121-3/+3
| |
* | When netgraph(4) was converted to use mbuf_tags(9) instead of meta-dataglebius2005-02-122-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | a definite setup was broken: two ng_ksockets are connected to each other, connect()ed to different remote hosts, and bind()ed to different local interfaces. In this case one ng_ksocket is fooled with tag from the other one. Put node id into tag. In rcvdata method utilize tag only if it has our own id inside or id equals zero. The latter case is added to support packets send by some third, not ng_ksocket node. MFC after: 1 week
* | Bump __FreeBSD_version for removal of matherr() from libm. (matherr()das2005-02-121-1/+1
| | | | | | | | | | went out of fashion when the third edition of SVID de-supported it nearly 20 years ago, and it has never actually worked in FreeBSD.)
* | Connect ng_atmllc(4) to the build.ru2005-02-121-0/+1
| |
* | Don't export symbols, all netgraph modules appear to haveru2005-02-121-3/+0
| | | | | | | | | | | | proper module dependencies. While here, removed stray -Wall from CFLAGS.
* | Bitrot: the ethernet parse type is long standard.ru2005-02-121-2/+0
| |
* | Two problems here:ru2005-02-122-42/+2
| | | | | | | | | | | | | | | | | | 1. Dependency on netgraph module was broken (wrong version). 2. Netgraph node type was never destroyed on unload. This was masked by problem #1. Fixed both by using NETGRAPH_INIT(). Now netgraph node type is created on module load, as in the rest of netgraph modules.
* | Document multicast membership control messages.glebius2005-02-121-1/+13
| |
* | Add two new netgraph messages NGM_ETHER_ADD_MULTI and NGM_ETHER_DEL_MULTI,glebius2005-02-122-2/+59
| | | | | | | | | | | | | | to join and leave Ethernet multicast membership, respectively. Messages take MAC address as argument. Sponsored by: Rinet ISP
* | Removed redundant MODULE_VERSION().ru2005-02-122-2/+0
| |
* | Make netgraph ISR and callout MPSAFE.glebius2005-02-122-4/+3
| | | | | | | | Reviewed by: rwatson, ru
* | Fix comparisons that test if an unsigned value is < 0.stefanf2005-02-122-4/+4
| | | | | | | | Reviewed by: tjr
* | Add comment about MAC miningimp2005-02-121-0/+8
| |
* | Remove a shadow declaration of 'error' that caused certain tests to bescottl2005-02-121-1/+0
| | | | | | | | | | | | pointless. Submitted by: Coverity Prevent analysis tool
* | Add lock assertion.alc2005-02-121-0/+1
| | | | | | | | Tested by: jhb
* | Add much needed descriptions for a number of the IPC related sysctl OIDs.csjp2005-02-123-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This information will be very useful for people who are tuning applications which have a dependence on IPC mechanisms. The following OIDs were documented: Message queues: kern.ipc.msgmax kern.ipc.msgmni kern.ipc.msgmnb kern.ipc.msgtlq kern.ipc.msgssz kern.ipc.msgseg Semaphores: kern.ipc.semmap kern.ipc.semmni kern.ipc.semmns kern.ipc.semmnu kern.ipc.semmsl kern.ipc.semopm kern.ipc.semume kern.ipc.semusz kern.ipc.semvmx kern.ipc.semaem Shared memory: kern.ipc.shmmax kern.ipc.shmmin kern.ipc.shmmni kern.ipc.shmseg kern.ipc.shmall kern.ipc.shm_use_phys kern.ipc.shm_allow_removed kern.ipc.shmsegs These new descriptions can be viewed using sysctl -d PR: kern/65219 Submitted by: Dan Nelson <dnelson at allantgroup dot com> (modified) No objections: developers@ Descriptions reviewed by: gnn MFC after: 1 week
* | Bumped up the driver version, following recent changes.vkashyap2005-02-121-1/+1
| |
* | Really old PCMCIA cards stored the MAC address in the attribute memoryimp2005-02-121-3/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | at some offset. Unlike newer cards, the MAC address wasn't part of the CIS as a specific FUNCE. These older cards were having their MAC address show up as 0:2:4:6:8:a because that's what's in the ROM locations that would be there in a real ne2000. This patch allows one to specify the offset for the MAC address for these cards. Specify one for the IBM Ethernet II card, as it is one that has this problem. One shouldn't specify this unless the MAC address really isn't in the CIS at all. Side note: The novell probe likely shouldn't read the MAC address, and that should be moved to the bus specific attach routine(s), maybe as a convenience function in if_ed_novell.c. My IBM Ethernet II (aka Info Mover) now has a believable MAC address.
* | No one cares about when the manpage first appeared. Mention when the driverbrueffer2005-02-121-2/+2
| | | | | | | | | | | | appeared instead. MFC after: 3 days
* | style: fix indentation and spacing.glebius2005-02-111-4/+4
| | | | | | | | Submitted by: ru
* | Do not trust ipfw: check m_len always, not only after m_dup.glebius2005-02-111-2/+5
| | | | | | | | Submitted by: ru
* | - do m_pullup() after m_dup()glebius2005-02-111-3/+4
| | | | | | | | | | | | - clean style in previous commit Suggested by: ru
* | Make sure the last command byte makes it onto the wire.phk2005-02-111-4/+6
| |
* | pullup to sizeof struct ip before sending to ip_output.glebius2005-02-111-1/+7
| | | | | | | | Suggested by: ru
* | Don't read more than the given 'len' bytes from the 'big' string.pjd2005-02-111-1/+1
| | | | | | | | | | | | PR: misc/77369 Submitted by: Ed Maste <emaste@phaedrus.sandvine.ca> MFC after: 1 week
* | Further embellish rev. 1.180: protect against -fno-strict-aliasingru2005-02-111-2/+2
| | | | | | | | | | | | | | being already in CFLAGS (as is the case with "make buildkernel"). NB: rev. 1.180 is only needed due to a broken setting of CFLAGS in tinderbox.
* | Packets from ipfw come with IP header in host byte order. Netgraph worksglebius2005-02-111-9/+12
| | | | | | | | | | | | | | with net byte order. Change byte order to net in ng_ipfw_input(), change byte order to host before ip_output(), do not change before ip_input(). In collaboration with: ru
* | Stylistic fixes: push variable into a local context (this part is goingharti2005-02-111-10/+12
| | | | | | | | | | | | | | | | to be split out into a function soon). Also there is no need to write back the colon that we have NUL-ed - the string is going to be freed anyway. Submitted by: Max Okumoto <okumoto@ucsd.edu>
* | sysctl node vm.stats can not be static (for ia64 reasons).phk2005-02-111-1/+1
| |
* | Add a bit more caveat text about MUTEX_PROFILING -- try to avoid using itrwatson2005-02-111-0/+23
| | | | | | | | | | | | with other profiling and debugging options, such as INVARIANTS, WITNESS, kernel profiling, etc. They all interfere with each other nastily and will generate fairly useless results.
OpenPOWER on IntegriCloud