ƒ¼202246 109 295 295 198 198 227 227 467 467 147 147 443 443 124 124 429 429 167 167 271 608 608 223 374 186 135 277 192 296 455 527 145 249 329 502 234 377 137 621 374 501 180 306 149 438 239 121 295 548 356 205 160 355 355 403 143 433 143 178 178 180 188 273 460 2239 2239 3785 185 3785 2628 2628 128 176 2198 2198 251 251 167 167 400 242 177 158 158 461 461 218 171 218 171 218 171 3792 3792 227 166 255 542 248 248 248 122 116 214 214 336 101 325 186 116 K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:03:04.500448Z K 7 svn:log V 199 MFC: r200917 Hook ebus(4) and isa(4) up to the sun4v LINT build in order to ensure that their compilation doesn't break as they are expected to work as-is now (but aren't actually run-time tested). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:03:06.111834Z K 7 svn:log V 199 MFC: r200917 Hook ebus(4) and isa(4) up to the sun4v LINT build in order to ensure that their compilation doesn't break as they are expected to work as-is now (but aren't actually run-time tested). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:04:56.382005Z K 7 svn:log V 102 MFC: r200918 Add structures for OFW MSI/MSI-X support. These are identical for both sun4u and sun4v. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:05:01.910277Z K 7 svn:log V 102 MFC: r200918 Add structures for OFW MSI/MSI-X support. These are identical for both sun4u and sun4v. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:08:57.784926Z K 7 svn:log V 131 MFC: r200920 - Sort the prototypes. - Add macros to ease the access of device configuration space in ofw_pcibus_setup_device(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:08:57.990030Z K 7 svn:log V 131 MFC: r200920 - Sort the prototypes. - Add macros to ease the access of device configuration space in ofw_pcibus_setup_device(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:12:27.533483Z K 7 svn:log V 371 MFC: r200921 - Add quirk handling for ALi M5229, mainly setting the magic "force enable IDE I/O" bit which prevents data access traps with revision 0xc8 in Fire-based machines when pci(4) enables PCIM_CMD_PORTEN. - Like for sun4v also don't add the PCI side of host-PCIe bridges to the bus on sun4u as they don't have configuration space implement there either. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:12:31.545754Z K 7 svn:log V 371 MFC: r200921 - Add quirk handling for ALi M5229, mainly setting the magic "force enable IDE I/O" bit which prevents data access traps with revision 0xc8 in Fire-based machines when pci(4) enables PCIM_CMD_PORTEN. - Like for sun4v also don't add the PCI side of host-PCIe bridges to the bus on sun4u as they don't have configuration space implement there either. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:13:50.030930Z K 7 svn:log V 52 MFC: r200922 Fix whitespace according to style(9). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:13:51.573056Z K 7 svn:log V 52 MFC: r200922 Fix whitespace according to style(9). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:16:07.115546Z K 7 svn:log V 347 MFC: r200923 - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus to PCIe bridges. - Add support for talking the PROM mappings over to the kernel IOTSB just like we do with the kernel TSB in order to allow OFW drivers to continue to work. - Change some members, parameters and variables to unsigned where more appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:16:13.521714Z K 7 svn:log V 347 MFC: r200923 - Add support for the IOMMUs of Fire JBus to PCIe and Oberon Uranus to PCIe bridges. - Add support for talking the PROM mappings over to the kernel IOTSB just like we do with the kernel TSB in order to allow OFW drivers to continue to work. - Change some members, parameters and variables to unsigned where more appropriate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:17:45.897581Z K 7 svn:log V 29 MFC: r200924 Style changes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:17:48.956313Z K 7 svn:log V 29 MFC: r200924 Style changes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:19:46.255706Z K 7 svn:log V 333 MFC: r200925 - By re-arranging the code in OF_decode_addr() somewhat and accepting a bit of a detour we can just iterate through the banks array instead of having to calculate every offset. This change is inspired by the powerpc version of this function. - Add support for the JBus to EBus bridges which hang off of nexus(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:19:46.546244Z K 7 svn:log V 333 MFC: r200925 - By re-arranging the code in OF_decode_addr() somewhat and accepting a bit of a detour we can just iterate through the banks array instead of having to calculate every offset. This change is inspired by the powerpc version of this function. - Add support for the JBus to EBus bridges which hang off of nexus(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:21:29.102569Z K 7 svn:log V 72 MFC: r200926 Recognize the NS16552 found in PCIe-based sun4u machines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:21:32.334973Z K 7 svn:log V 72 MFC: r200926 Recognize the NS16552 found in PCIe-based sun4u machines. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-13T21:22:23.535943Z K 7 svn:log V 179 Remove the 1000 pseudo terminal limit from pts(4). Even with the old utmp format, we could in fact go to pts/9999, because ut_line wasn't guaranteed to be null terminated there. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:23:27.035878Z K 7 svn:log V 512 MFC: r200938 - Don't check for a valid interrupt controller on every interrupt in intr_execute_handlers(). If we managed to get here without an associated interrupt controller we have way bigger problems. While at it predict stray vector interrupts as false as they are rather unlikely. - Don't blindly call the clear function of an interrupt controller when adding a handler in inthand_add() as interrupt controllers like the one driven by upa(4) are auto-clearing and thus provide NULL instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-13T21:23:29.205638Z K 7 svn:log V 512 MFC: r200938 - Don't check for a valid interrupt controller on every interrupt in intr_execute_handlers(). If we managed to get here without an associated interrupt controller we have way bigger problems. While at it predict stray vector interrupts as false as they are rather unlikely. - Don't blindly call the clear function of an interrupt controller when adding a handler in inthand_add() as interrupt controllers like the one driven by upa(4) are auto-clearing and thus provide NULL instead. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-01-13T22:22:16.495485Z K 7 svn:log V 130 Hide from default sndstat some information not used on daily basis, to make it readable by average user with average screen size. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-01-13T22:39:39.460633Z K 7 svn:log V 277 o Add PCI ID for BCM 5756. o Don't enable BGE_FLAG_BER_BUG on both 5722 and 5756, and based on their PCI IDs rather than their chip IDs. Reported by: several PC-BSD users via kmoore Reviewed by: yongari, imp, jhb, davidch Sponsored by: iXsystems, Inc. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T00:36:49.801479Z K 7 svn:log V 90 Add BCM5754 PHY id that is found on Dell Studio XPS 16. Tested by: scf MFC after: 1 week END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-01-14T01:16:20.601602Z K 7 svn:log V 39 Grammar nits. Submitted by: Ben Kaduk END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-14T02:14:21.789118Z K 7 svn:log V 181 Add wrappers for the RT Variable Services. While here, translate the EFI status into a standard errno value and change efi_set_time() to return a standard error. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-14T02:38:46.117120Z K 7 svn:log V 97 Fix previous commitr:. efi_var_set() was copied from efi_var_get(), but wasn't actually changed. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-01-14T02:48:39.556553Z K 7 svn:log V 200 Add ioctl requests to /dev/io on ia64 for reading and writing EFI variables. The primary reason for this is that it allows sysinstall(8) to add a boot menu item for the newly installed FreeBSD image. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T05:35:32.273454Z K 7 svn:log V 363 Phase out ttyslot(3). The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 and removed later on. This function only makes sense when using utmp(5), because it was used to determine the offset of the record for the controlling TTY. It makes little sense to keep it here, because the new utmpx file format doesn't index based on TTY slots. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T05:37:43.063458Z K 7 svn:log V 435 Add two changes that should have gone into commit r202274. Phase out ttyslot(3). The ttyslot() function was originally part for SUSv1, marked LEGACY in SUSv2 and removed later on. This function only makes sense when using utmp(5), because it was used to determine the offset of the record for the controlling TTY. It makes little sense to keep it here, because the new utmpx file format doesn't index based on TTY slots. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-01-14T07:13:06.197439Z K 7 svn:log V 51 - define a local thread lock - cull some dead code END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T08:08:55.933790Z K 7 svn:log V 157 Don't use fseeko() to obtain the file offset. I was a bit confused with lseek(), which returns the new offset. We should ftello() to obtain it using stdio. END K 10 svn:author V 4 roam K 8 svn:date V 27 2010-01-14T09:38:23.843580Z K 7 svn:log V 235 Document that the IEEE80211_DEBUG kernel option is needed for using the wlan(4) debugging controls with wording slightly different from that in the PR. PR: 142367 Submitted by: Matthew Thyer MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T10:00:01.000769Z K 7 svn:log V 410 Revert the change to Symbol.map, made in r202274. Even though we use __sym_compat(), we should list the symbol in Symbol.map. ttyslot() is now listed as follows, which seems to do the right thing: | Symbol table '.dynsym' contains 2755 entries: | Num: Value Size Type Bind Vis Ndx Name | 613: 00000000000477b0 121 FUNC GLOBAL DEFAULT 10 ttyslot@FBSD_1.0 Reported by: kib END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-01-14T10:40:54.928239Z K 7 svn:log V 139 Remove -d option, whois.nic.mil doesn't exist anymore. PR: bin/142507 Submitted by: Dan Mahoney MFC after: 1 week END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-01-14T10:56:54.510184Z K 7 svn:log V 282 Make whois capable of searching for IPv6 addresses just like it can do for IPv4 addresses without having to explicetly specify that the ARIN server should be used to get the initial information PR: bin/128725 Submitted by: "Matt D. Harris" MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T11:03:26.007190Z K 7 svn:log V 46 The group field is called `gid', not `group'. END K 10 svn:author V 4 lulf K 8 svn:date V 27 2010-01-14T14:30:54.022487Z K 7 svn:log V 527 Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer of Code 2009: - BSDL block and inode allocation policies for ext2fs. This involves the use FFS1 style block and inode allocation for ext2fs. Preallocation was removed since it was GPL'd. - Make ext2fs MPSAFE by introducing locks to per-mount datastructures. - Fixes for kern/122047 PR. - Various small bugfixes. - Move out of gnu/ directory. Sponsored by: Google Inc. Submitted by: Aditya Sarawgi END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-14T14:36:39.536029Z K 7 svn:log V 281 - Update required headers for namei() to add and remove . - Add RETURN VALUES and ERROR sections for namei()'s error return values. - Add a missing link to NDHASGIANT.9. PR: docs/142815, docs/142816 Submitted by: Lachlan Kang (1, 2) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-14T14:43:16.702824Z K 7 svn:log V 408 - Note that if_xname, if_dname, and if_dunit are usually initialized via if_initname(). - Document if_drv_flags and replace references to IFF_(RUNNING|OACTIVE) with references to IFF_DRV_(RUNNING|OACTIVE). - Complete truncated sentence in the description of if_transmit by copying from the description in if_qflush. - Add missing line breaks for translators. Reviewed by: brooks (1) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-01-14T15:07:18.063009Z K 7 svn:log V 88 Update the ident for the XENHVM kernel config to match the filename. MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T15:20:09.086650Z K 7 svn:log V 214 Unbreak pututxline() on 32-bit architectures. I forgot to cast the size_t's back to off_t before negating them, causing all sorts of artifacts where the log files would grow to 2^32 - 197 bytes. Reported by: ume END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T15:20:46.939881Z K 7 svn:log V 58 Remove ttyslot from Symbol.map anyway. Requested by: kan END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-01-14T15:27:18.737180Z K 7 svn:log V 342 Reject invalid CIDR widths rather than silently stopping at the first non-digit character. Due to an issue with rc(8) in a test configuration, ifconfig was being invoked with the address used again as the width - for example, ifconfig vlan0 10.0.0.1/10.0.0.1 Prior to this change, that address/width would be interpreted as 10.0.0.1/10. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-14T16:49:22.615954Z K 7 svn:log V 141 Build iwi(4) and iwifw(4) modules on amd64 as well. PR: 113117 Submitted by: "O. Hartmann" MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-01-14T17:30:13.986642Z K 7 svn:log V 27 fix deletion of schedulers END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-01-14T17:35:07.388394Z K 7 svn:log V 197 MFC: r201345 Fix the experimental NFS client so that it can create Unix domain sockets on an NFSv4 mount point. It was generating incorrect XDR in the request for this case. Tested by: infofarmer END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T19:08:43.393679Z K 7 svn:log V 451 For controllers that has dual mode PHY(copper or fiber) interfaces over GMII, make sure to enable GMII. With this change brgphy(4) is used to handle the dual mode PHY. Since we still don't have a sane way to pass PHY specific information to mii(4) layer special handling is needed in brgphy(4) to determine which mode of PHY was configured in parent interface. This change make BCM5715S work. Tested by: olli Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T19:14:24.247293Z K 7 svn:log V 259 Add check for fiber mode for BCM5714 PHY. This PHY supports both copper and fiber interfaces over GMII so an explicit check is necessary to know whether it was configured for fiber interface. This change make BCM5715S work. Tested by: olli MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-01-14T19:23:41.276691Z K 7 svn:log V 109 Fix bugs introduced in previous commit: off-by-one in add_meshconf() and big-endian bug on verify_meshconf() END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T20:20:26.559060Z K 7 svn:log V 64 MFC r181739: Move the ste driver from sys/pci to sys/dev/ste. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T20:38:40.450996Z K 7 svn:log V 258 Partial merge r199559: - Add a private timer to drive the transmit watchdog instead of using if_watchdog and if_timer. - Fix some issues in detach for sn(4), ste(4), and ti(4). Primarily this means calling ether_ifdetach() before anything else. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T20:40:37.290226Z K 7 svn:log V 258 Partial merge r199559: - Add a private timer to drive the transmit watchdog instead of using if_watchdog and if_timer. - Fix some issues in detach for sn(4), ste(4), and ti(4). Primarily this means calling ether_ifdetach() before anything else. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T20:47:49.007859Z K 7 svn:log V 306 MFC r200798,200801,200803-200804,200808,200810 r200798: Use ANSI function definations. r200801: o Remove unnecessary return statement. o Remove register keyword. r200803: s/u_intXX_t/uintXX_t/g r200804: Remove trailing white spaces. r200808: style(9) r200810: Sort function prototyes. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T20:58:19.774738Z K 7 svn:log V 46 MFC 202119: Fix reporting of 10G Twinax media END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T20:58:45.990646Z K 7 svn:log V 341 Add wtmpcvt(1). This utility allows users to convert their wtmp databases to the new format. It makes no sense for users to keep their wtmp log files if they are unable to view them. It basically copies ut_line into ut_id as well. This makes it possible for last(1) and ac(8) to match login records with their corresponding logout record. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T20:59:02.177816Z K 7 svn:log V 46 MFC 202119: Fix reporting of 10G Twinax media END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T21:10:36.491984Z K 7 svn:log V 81 MFC r202121: Use better default RSS hash (src + dst, rather than just src port) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T21:10:41.435563Z K 7 svn:log V 81 MFC r202121: Use better default RSS hash (src + dst, rather than just src port) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T21:30:06.323546Z K 7 svn:log V 83 MFC: r202120: Update mxge(4) firmware to 1.4.48b (latest available) from Myricom. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-01-14T21:30:22.624476Z K 7 svn:log V 91 MFC: r194747,r202120: Update mxge(4) firmware to 1.4.48b (latest available) from Myricom. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-14T21:34:12.325118Z K 7 svn:log V 178 Solve the problem of adding "rundeps of build-only deps" to the build-only list in -t by always doing the augmented list, and only doing things relevant to -t after that's done. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T21:37:40.903973Z K 7 svn:log V 363 MFC r200798,200801,200803-200804,200808,200810 r200798: Use ANSI function definations. r200801: o Remove unnecessary return statement. o Remove register keyword. r200803: s/u_intXX_t/uintXX_t/g r200804: Remove trailing white spaces. r200808: style(9) r200810: Sort function prototyes. Also remove mergeinfo recorded in if_ste.c/if_stereg.h. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T21:45:39.072435Z K 7 svn:log V 2141 MFC r200853: Add bus_dma(9) and endianness support to ste(4). o Sorted includes and added missing header files. o Added basic endianness support. In theory ste(4) should work on any architectures. o Remove the use of contigmalloc(9), contigfree(9) and vtophys(9). o Added 8 byte alignment limitation of TX/RX descriptor. o Added 1 byte alignment requirement for TX/RX buffers. o ste(4) controllers does not support DAC. Limit DMA address space to be within 32bit address. o Added spare DMA map to gracefully recover from DMA map failure. o Removed dead code for checking STE_RXSTAT_DMADONE bit. The bit was already checked in each iteration of loop so it can't be true. o Added second argument count to ste_rxeof(). It is used to limit number of iterations done in RX handler. ATM polling is the only consumer. o Removed ste_rxeoc() which was added to address RX stuck issue (cvs rev 1.66). Unlike TX descriptors, ST201 supports chaining descriptors to form a ring for RX descriptors. If RX descriptor chaining is not supported it's possible for controller to stop receiving incoming frames once controller pass the end of RX descriptor which in turn requires driver post new RX descriptors to receive more frames. For TX descriptors which does not support chaning, we exactly do manual chaining in driver by concatenating new descriptors to the end of previous TX chain. Maybe the workaround was borrowed from other drivers that does not support RX descriptor chaining, which is not valid for ST201 controllers. I still have no idea how this address RX stuck issue and I can't reproduce the RX stuck issue on DFE-550TX controller. o Removed hw.ste_rxsyncs sysctl as the workaround was removed. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Reimplemented optimized ste_encap(). o Simplified TX logic of ste_start_locked(). o Added comments for TFD/RFD requirements. o Increased number of RX descriptors to 128 from 64. 128 gave much better performance than 64 under high network loads. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T21:54:20.963738Z K 7 svn:log V 2141 MFC r200853: Add bus_dma(9) and endianness support to ste(4). o Sorted includes and added missing header files. o Added basic endianness support. In theory ste(4) should work on any architectures. o Remove the use of contigmalloc(9), contigfree(9) and vtophys(9). o Added 8 byte alignment limitation of TX/RX descriptor. o Added 1 byte alignment requirement for TX/RX buffers. o ste(4) controllers does not support DAC. Limit DMA address space to be within 32bit address. o Added spare DMA map to gracefully recover from DMA map failure. o Removed dead code for checking STE_RXSTAT_DMADONE bit. The bit was already checked in each iteration of loop so it can't be true. o Added second argument count to ste_rxeof(). It is used to limit number of iterations done in RX handler. ATM polling is the only consumer. o Removed ste_rxeoc() which was added to address RX stuck issue (cvs rev 1.66). Unlike TX descriptors, ST201 supports chaining descriptors to form a ring for RX descriptors. If RX descriptor chaining is not supported it's possible for controller to stop receiving incoming frames once controller pass the end of RX descriptor which in turn requires driver post new RX descriptors to receive more frames. For TX descriptors which does not support chaning, we exactly do manual chaining in driver by concatenating new descriptors to the end of previous TX chain. Maybe the workaround was borrowed from other drivers that does not support RX descriptor chaining, which is not valid for ST201 controllers. I still have no idea how this address RX stuck issue and I can't reproduce the RX stuck issue on DFE-550TX controller. o Removed hw.ste_rxsyncs sysctl as the workaround was removed. o TX/RX side bus_dmamap_load_mbuf_sg(9) support. o Reimplemented optimized ste_encap(). o Simplified TX logic of ste_start_locked(). o Added comments for TFD/RFD requirements. o Increased number of RX descriptors to 128 from 64. 128 gave much better performance than 64 under high network loads. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:00:33.120653Z K 7 svn:log V 3687 MFC r200854,200856,200865,200873,200875,200877,200884 r200854: Add minimal dealy while ste(4) is waiting for the end of active DMA cycle. r200856: Introduce sc_flags member variable and use it to keep track of link state and PHY related information. Remove ste_link and ste_one_phy variable of softc as it's not used anymore. While I'm here add IFF_DRV_RUNNING check in ste_start_locked(). r200865: Reimplement miibus_statchg method. Don't rely on link state change interrupt. If we want to use link state change interrupt ste(4) should also implement auto-negotiation complete handler as well as various PHY access handling. Now link state change is handled by mii(4) polling so it will automatically update link state UP/DOWN events which in turn make ste(4) usable with lagg(4). r199559 added a private timer to drive watchdog and the timer also used to drive MAC statistics update. Because the MAC statistics update is called whenever statistics counter reaches near-full, it drove watchdog timer too fast such that it caused false watchdog timeouts under heavy TX traffic conditions. Fix the regression by separating ste_stats_update() from driving watchdog timer and introduce a new function ste_tick() that handles periodic job such as driving watchdog, MAC statistics update and link state check etc. While I'm here clear armed watchdog timer in ste_stop(). r200873: Instead of relying on hard resetting of controller to stop receiving incoming traffics, try harder to gracefully stop active DMA cycles and then stop MACs. This is the way what datasheet recommends and seems to work reliably. Resetting controller while active DMAs are in progress is bad thing as we can't predict how DMAs touche allocated TX/RX buffers. This change ensures controller stop state before attempting to release allocated TX/RX buffers. Also update MAC statistics which could have been updated during the wait time of MAC stop. While I'm here remove unnecessary controller resets in various location. ste(4) no longer relies on hard controller reset to stop controller and resetting controller also clears all configured settings which makes it hard to implement WOL in near future. Now resetting a controller is performed in ste_init_locked(). r200875: Prefer memory space register mapping over io space. If memory space mapping fails fall back to old io space mapping. While I'm here use PCIR_BAR macro. r200877: Prefer bus_write_{1,2,4}/bus_read_{1,2,4} to bus_space_write_{1,2,4}/bus_space_read_{1,2,4}. Remove unused ste_bhandle and ste_btag in softc. r200884: Reimplement Tx status error handler as recommended by datasheet. If ste(4) encounter TX underrun or excessive collisions the TX MAC of controller is stalled so driver should wake it up again. TX underrun requires increasing TX threshold value to minimize further TX underruns. Previously ste(4) used to reset controller to recover from TX underrun, excessive collision and reclaiming error. However datasheet says only TX underrun requires resetting entire controller. So implement ste_restart_tx() that restarts TX MAC and do not perform full reset except TX underrun case. Now ste(4) uses CSR_READ_2 instead of CSR_READ_1 to read STE_TX_STATUS register. This way ste(4) will also read frame id value and we can write the same value back to STE_TX_FRAMEID register instead of overwriting it to 0. The datasheet was wrong in write back of STE_TX_STATUS so add some comments why we do so. Also always invoke ste_txeoc() after ste_txeof() in ste_poll as without reading TX status register can stall TX MAC. END K 10 svn:author V 4 joel K 8 svn:date V 27 2010-01-14T22:04:08.304214Z K 7 svn:log V 92 Fix a few whitespace issues and comment typos that I found while reading through this file. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:04:32.427859Z K 7 svn:log V 3687 MFC r200854,200856,200865,200873,200875,200877,200884 r200854: Add minimal dealy while ste(4) is waiting for the end of active DMA cycle. r200856: Introduce sc_flags member variable and use it to keep track of link state and PHY related information. Remove ste_link and ste_one_phy variable of softc as it's not used anymore. While I'm here add IFF_DRV_RUNNING check in ste_start_locked(). r200865: Reimplement miibus_statchg method. Don't rely on link state change interrupt. If we want to use link state change interrupt ste(4) should also implement auto-negotiation complete handler as well as various PHY access handling. Now link state change is handled by mii(4) polling so it will automatically update link state UP/DOWN events which in turn make ste(4) usable with lagg(4). r199559 added a private timer to drive watchdog and the timer also used to drive MAC statistics update. Because the MAC statistics update is called whenever statistics counter reaches near-full, it drove watchdog timer too fast such that it caused false watchdog timeouts under heavy TX traffic conditions. Fix the regression by separating ste_stats_update() from driving watchdog timer and introduce a new function ste_tick() that handles periodic job such as driving watchdog, MAC statistics update and link state check etc. While I'm here clear armed watchdog timer in ste_stop(). r200873: Instead of relying on hard resetting of controller to stop receiving incoming traffics, try harder to gracefully stop active DMA cycles and then stop MACs. This is the way what datasheet recommends and seems to work reliably. Resetting controller while active DMAs are in progress is bad thing as we can't predict how DMAs touche allocated TX/RX buffers. This change ensures controller stop state before attempting to release allocated TX/RX buffers. Also update MAC statistics which could have been updated during the wait time of MAC stop. While I'm here remove unnecessary controller resets in various location. ste(4) no longer relies on hard controller reset to stop controller and resetting controller also clears all configured settings which makes it hard to implement WOL in near future. Now resetting a controller is performed in ste_init_locked(). r200875: Prefer memory space register mapping over io space. If memory space mapping fails fall back to old io space mapping. While I'm here use PCIR_BAR macro. r200877: Prefer bus_write_{1,2,4}/bus_read_{1,2,4} to bus_space_write_{1,2,4}/bus_space_read_{1,2,4}. Remove unused ste_bhandle and ste_btag in softc. r200884: Reimplement Tx status error handler as recommended by datasheet. If ste(4) encounter TX underrun or excessive collisions the TX MAC of controller is stalled so driver should wake it up again. TX underrun requires increasing TX threshold value to minimize further TX underruns. Previously ste(4) used to reset controller to recover from TX underrun, excessive collision and reclaiming error. However datasheet says only TX underrun requires resetting entire controller. So implement ste_restart_tx() that restarts TX MAC and do not perform full reset except TX underrun case. Now ste(4) uses CSR_READ_2 instead of CSR_READ_1 to read STE_TX_STATUS register. This way ste(4) will also read frame id value and we can write the same value back to STE_TX_FRAMEID register instead of overwriting it to 0. The datasheet was wrong in write back of STE_TX_STATUS so add some comments why we do so. Also always invoke ste_txeoc() after ste_txeof() in ste_poll as without reading TX status register can stall TX MAC. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:15:51.305240Z K 7 svn:log V 2530 MFC r200904-200908,200910-200913 r200904: Don't reinitialize controller if driver is already running. This reduces number of link state UP/DOWN changes. r200905: Reimplement controller reset. Datasheet says full reset takes about 1ms. Since we switched to memory register mapping make sure to flush PCI posted write by reading the register again. While I'm here add additional delays in loop while driver waits the completion of the reset. r200906: Overhaul RX filter programming. o Let RX filter handler program promiscuous/multicast filter as well as broadcasting. o Remove unnecessary register access. o Simplify ioctl handler and have set_rxfilter to handle IFF_PROMISC and IFF_ALLMULTI change instead of directly programming the controller. o Removed unnecessary error variable reinitialization in ioctl handler. o Add IFF_DRV_RUNNING check before programming multicast filter. o Configure maximum allowed frame length before enabling MAC. Datasheet didn't say the exact ordering of programming sequence but it looks more natural to set maximum allowed frame length first prior to enabling controller. r200907: Don't report link status if driver is not running. r200908: Report the correct result of mii_mediachg(). Previously it always used to return success without respect to the result. While I'm here use mii_mediachg() in ste_init_locked which allows driver to use currently configured media. ste_ifmedia_upd() is supposed to be called whenever user changes current media settings. r200910: Implement hardware MAC statistics counter support. The counters could be accessed with dev.ste.0.stats sysctl node. r200911: Remove unused duplicated register definition. It seems the definition was made to access STE_ASICCTL register as 16bits but ste(4) always access the register as 32bits so it was never used before. r200912: Correct STE_COUNTDOWN register offset. The datasheet was wrong. r200913: We don't need to generate DMA complete interrupt for every transmitted frames. So request interrupt for every 16th frames. Due to the limitation of hardware we can't suppress the interrupt as driver should have to check TX status register. The TX status register can store up to 31 TX status so driver can't send more than 31 frames without reading TX status register. With this change controller would not generate TX completion interrupt for every frame, so reclaim transmitted frames in ste_tick(). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:18:55.714036Z K 7 svn:log V 2530 MFC r200904-200908,200910-200913 r200904: Don't reinitialize controller if driver is already running. This reduces number of link state UP/DOWN changes. r200905: Reimplement controller reset. Datasheet says full reset takes about 1ms. Since we switched to memory register mapping make sure to flush PCI posted write by reading the register again. While I'm here add additional delays in loop while driver waits the completion of the reset. r200906: Overhaul RX filter programming. o Let RX filter handler program promiscuous/multicast filter as well as broadcasting. o Remove unnecessary register access. o Simplify ioctl handler and have set_rxfilter to handle IFF_PROMISC and IFF_ALLMULTI change instead of directly programming the controller. o Removed unnecessary error variable reinitialization in ioctl handler. o Add IFF_DRV_RUNNING check before programming multicast filter. o Configure maximum allowed frame length before enabling MAC. Datasheet didn't say the exact ordering of programming sequence but it looks more natural to set maximum allowed frame length first prior to enabling controller. r200907: Don't report link status if driver is not running. r200908: Report the correct result of mii_mediachg(). Previously it always used to return success without respect to the result. While I'm here use mii_mediachg() in ste_init_locked which allows driver to use currently configured media. ste_ifmedia_upd() is supposed to be called whenever user changes current media settings. r200910: Implement hardware MAC statistics counter support. The counters could be accessed with dev.ste.0.stats sysctl node. r200911: Remove unused duplicated register definition. It seems the definition was made to access STE_ASICCTL register as 16bits but ste(4) always access the register as 32bits so it was never used before. r200912: Correct STE_COUNTDOWN register offset. The datasheet was wrong. r200913: We don't need to generate DMA complete interrupt for every transmitted frames. So request interrupt for every 16th frames. Due to the limitation of hardware we can't suppress the interrupt as driver should have to check TX status register. The TX status register can store up to 31 TX status so driver can't send more than 31 frames without reading TX status register. With this change controller would not generate TX completion interrupt for every frame, so reclaim transmitted frames in ste_tick(). END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-01-14T22:21:20.473765Z K 7 svn:log V 37 Fix a typo: accouting -> accounting. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2010-01-14T22:21:43.630182Z K 7 svn:log V 79 Add manpages for ipwfw(4) and iwifw(4), based on iwnfw(4). MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:26:52.471882Z K 7 svn:log V 2100 MFC r200950,200955,200965-200966,201767-201768 r200950: Implement RX interrupt moderation using one-shot timer interrupt. Unlike TX interrupt, ST201 does not provide any mechanism to suppress RX interrupts. ste(4) can generate more than 70k RX interrupts under heavy RX traffics such that these excessive interrupts make system useless to process other useful things. Maybe this was the major reason why polling support code was introduced to ste(4). The STE_COUNTDOWN register provides a programmable counter that will generate an interrupt upon its expiration. We program STE_DMACTL register to use 3.2us clock rate to drive the counter register. Whenever ste(4) serves RX interrupt, the driver rearm the timer to expire after STE_IM_RX_TIMER_DEFAULT time and disables further generation of RX interrupts. This trick seems to work well and ste(4) generates less than 8k RX interrupts even under 64 bytes UDP torture test. Combined with TX interrupts, the total number of interrupts are less than 10k which looks reasonable on heavily loaded controller. The default RX interrupt moderation time is 150us. Users can change the value at any time with dev.ste.%d.int_rx_mod sysctl node. Setting it 0 effectively disables the RX interrupt moderation feature. Now we have both TX/RX interrupt moderation code so remove loop of interrupt handler which resulted in sub-optimal performance as well as more register accesses. r200955: Add suspend/resume support as well as basic WOL. While I'm here simplify SIOCSIFCAP handler. r200965: Update if_iqdrops in case of RX buffer allocation failure. r200966: ether_ifattach sets if_mtu, remove unnecessary code. r201767: Fix EEPROM access code to return data in host byte order. EEPROM on ST201 always returns 16bits data with little endian format so conversion to host order is required. This change fixes inversed ethernet address on sparc64. r201768: Make sure to store dma address of RX buffer in little endian form. This fixes the last bug which keeps ste(4) from working on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:29:29.222877Z K 7 svn:log V 2100 MFC r200950,200955,200965-200966,201767-201768 r200950: Implement RX interrupt moderation using one-shot timer interrupt. Unlike TX interrupt, ST201 does not provide any mechanism to suppress RX interrupts. ste(4) can generate more than 70k RX interrupts under heavy RX traffics such that these excessive interrupts make system useless to process other useful things. Maybe this was the major reason why polling support code was introduced to ste(4). The STE_COUNTDOWN register provides a programmable counter that will generate an interrupt upon its expiration. We program STE_DMACTL register to use 3.2us clock rate to drive the counter register. Whenever ste(4) serves RX interrupt, the driver rearm the timer to expire after STE_IM_RX_TIMER_DEFAULT time and disables further generation of RX interrupts. This trick seems to work well and ste(4) generates less than 8k RX interrupts even under 64 bytes UDP torture test. Combined with TX interrupts, the total number of interrupts are less than 10k which looks reasonable on heavily loaded controller. The default RX interrupt moderation time is 150us. Users can change the value at any time with dev.ste.%d.int_rx_mod sysctl node. Setting it 0 effectively disables the RX interrupt moderation feature. Now we have both TX/RX interrupt moderation code so remove loop of interrupt handler which resulted in sub-optimal performance as well as more register accesses. r200955: Add suspend/resume support as well as basic WOL. While I'm here simplify SIOCSIFCAP handler. r200965: Update if_iqdrops in case of RX buffer allocation failure. r200966: ether_ifattach sets if_mtu, remove unnecessary code. r201767: Fix EEPROM access code to return data in host byte order. EEPROM on ST201 always returns 16bits data with little endian format so conversion to host order is required. This change fixes inversed ethernet address on sparc64. r201768: Make sure to store dma address of RX buffer in little endian form. This fixes the last bug which keeps ste(4) from working on sparc64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:33:46.658257Z K 7 svn:log V 154 MFC r200958: Document newly added loader tunable/sysctl variable dev.ste.%d.int_rx_mod. While I'm here add .Xr vlan as ste(4) supports long frames. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:34:24.028465Z K 7 svn:log V 154 MFC r200958: Document newly added loader tunable/sysctl variable dev.ste.%d.int_rx_mod. While I'm here add .Xr vlan as ste(4) supports long frames. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:36:06.772354Z K 7 svn:log V 71 MFC r201769: Enable ste(4). ste(4) should work on all architectures. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-01-14T22:37:06.990796Z K 7 svn:log V 71 MFC r201769: Enable ste(4). ste(4) should work on all architectures. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-01-14T23:27:23.241192Z K 7 svn:log V 304 In 'make delete-old', use 'exec' to redirect an fd persistently. That is, write 'exec 3<&0' instead of '3<&0'. Due to an sh(1) bug fixed in r199953, the latter also persisted, provided that fd 3 was not open before. With newer sh or fd 3 open, it would not delete orphaned catpages. MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T00:41:46.463225Z K 7 svn:log V 147 Hopefully this time the yes/no options will be more clear, while still maintaining the [default] notation that portmaster users are familiar with. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-01-15T01:19:58.731621Z K 7 svn:log V 81 Also call sem_module_init in sem_close to initialize mutex with some attributes. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T02:18:07.641932Z K 7 svn:log V 64 MFC r201601: Remove more duplicates Minor reformatting on a few END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T02:21:54.043761Z K 7 svn:log V 64 MFC r201601: Remove more duplicates Minor reformatting on a few END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T02:55:19.207472Z K 7 svn:log V 366 MFC r201626: - Move potentially offensive quotes I committed recently to fortunes-o. - Reference date. - Be more clear on context. MFC r201764: For the now-infamous Rumsfeld quote: Change "there're" to "there are" which is consistent with the vast majority of on line references. Remove a spurious trailing " Update the citation text with a suggestion from des. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T02:58:22.633772Z K 7 svn:log V 366 MFC r201626: - Move potentially offensive quotes I committed recently to fortunes-o. - Reference date. - Be more clear on context. MFC r201764: For the now-infamous Rumsfeld quote: Change "there're" to "there are" which is consistent with the vast majority of on line references. Remove a spurious trailing " Update the citation text with a suggestion from des. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:03:02.013645Z K 7 svn:log V 123 MFC r201367, r201370: Virtualize the location of "the configuration directory" instead of hard-coding it to be /etc/namedb END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:04:43.788771Z K 7 svn:log V 77 MFC r201368: Update named_flags comment regarding not using it for -u and -c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:05:46.084628Z K 7 svn:log V 123 MFC r201367, r201370: Virtualize the location of "the configuration directory" instead of hard-coding it to be /etc/namedb END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:06:39.286112Z K 7 svn:log V 77 MFC r201368: Update named_flags comment regarding not using it for -u and -c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:07:42.396856Z K 7 svn:log V 123 MFC r201367, r201370: Virtualize the location of "the configuration directory" instead of hard-coding it to be /etc/namedb END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:10:09.575752Z K 7 svn:log V 77 MFC r201368: Update named_flags comment regarding not using it for -u and -c END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:28:46.943973Z K 7 svn:log V 3696 MFC r200416: Simplify handling of MTREEFILE relative to DESTDIR Make the message about a missing MTREEFILE combined with -U more informative MFC r200425: Over time things that used to be files/directories/links can change to something else. So add code to detect when things don't match and give the user choices about how to fix it. If we're using -P and something in the above check needs to be moved we need to have the directory there for it, so create it at the beginning and delete empty versions of it at the end. The case where something used to be a file or link and now is supposed to be a directory (e.g., /etc/security) is especially dangerous, so make failure to install a necessary directory in $DESTDIR a fatal error. MFC r200700: In the places where find is used that the user may see the results, first pipe it to sort so that order of processing will be deterministic and like things will be grouped together. MFC r200701: Fix an indentation issue, no functional changes MFC r200708: Fix a problem with how mergemaster handles the hard links for /.cshrc and /.profile. The problem is that install(1) will unlink the old file before it installs the new one, which means that in the best case we have to compare the changes for the old file twice. So, change the logic to first test to see if the link exists, then install the file. Then if the link was there and we're using -i, just create the link in /root and be done with it. Otherwise display the message to the user and give them the option. Because we are now sorting things before doing the comparison we can know conclusively that the files in / should be the sources, and the files in /root will be the targets, so adjust the paths accordingly. While I'm here, split a too-long error message into two lines and just return at the end of handling these files instead of setting the variable that says "do nothing" and then returning at the end of the function anyway. MFC r201291: Add some patches contributed by jhb: 1. Don't prompt the user for "-U but no db" error if we're using -a 2. Add an option to delete stale rc.d files automatically if the user has DELETE_STALE_RC_FILES in their rc file. Lack of command line option for this is not an oversight. 3. Add []'s around the terminal $ for the $FreeBSD$ test for -F For one bug raised by jhb I did a more thorough solution: There were a lot of things that "snuck in" between the end of the test for -r and the start of the comparison. One of them is the creation of the mtree db, as pointed out by jhb. Fix this problem more thoroughly by moving the end of the test down to where it should/used to be, right before the comparison. As a result, indent the interloping code to match. MFC r201292: Document the DELETE_STALE_RC_FILES option introduced in r201291. This is an "rc file only" option by design. While I'm here, update the comments in the example rc file to indicate which command line options they relate to, and correct the defaults for a couple of options. MFC r201293: It's not necessary to include both Op and Fl for command line options included in the text, so use only the latter. Clarify that using -U doesn't make sense in combination with -a MFC r201323: If we are using -p it does not make any sense to even create the MTREENEW file since it will never be used. MFC r201765: Update copyright date Update delete_temproot() to include the error message if it fails, and clean up the places where it's called. If there are no files left in temproot when the comparison is done delete it without prompting. This should make "automated" runs of mergemaster without -a a little easier. Document the new behavior in the man page. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:39:03.760925Z K 7 svn:log V 3696 MFC r200416: Simplify handling of MTREEFILE relative to DESTDIR Make the message about a missing MTREEFILE combined with -U more informative MFC r200425: Over time things that used to be files/directories/links can change to something else. So add code to detect when things don't match and give the user choices about how to fix it. If we're using -P and something in the above check needs to be moved we need to have the directory there for it, so create it at the beginning and delete empty versions of it at the end. The case where something used to be a file or link and now is supposed to be a directory (e.g., /etc/security) is especially dangerous, so make failure to install a necessary directory in $DESTDIR a fatal error. MFC r200700: In the places where find is used that the user may see the results, first pipe it to sort so that order of processing will be deterministic and like things will be grouped together. MFC r200701: Fix an indentation issue, no functional changes MFC r200708: Fix a problem with how mergemaster handles the hard links for /.cshrc and /.profile. The problem is that install(1) will unlink the old file before it installs the new one, which means that in the best case we have to compare the changes for the old file twice. So, change the logic to first test to see if the link exists, then install the file. Then if the link was there and we're using -i, just create the link in /root and be done with it. Otherwise display the message to the user and give them the option. Because we are now sorting things before doing the comparison we can know conclusively that the files in / should be the sources, and the files in /root will be the targets, so adjust the paths accordingly. While I'm here, split a too-long error message into two lines and just return at the end of handling these files instead of setting the variable that says "do nothing" and then returning at the end of the function anyway. MFC r201291: Add some patches contributed by jhb: 1. Don't prompt the user for "-U but no db" error if we're using -a 2. Add an option to delete stale rc.d files automatically if the user has DELETE_STALE_RC_FILES in their rc file. Lack of command line option for this is not an oversight. 3. Add []'s around the terminal $ for the $FreeBSD$ test for -F For one bug raised by jhb I did a more thorough solution: There were a lot of things that "snuck in" between the end of the test for -r and the start of the comparison. One of them is the creation of the mtree db, as pointed out by jhb. Fix this problem more thoroughly by moving the end of the test down to where it should/used to be, right before the comparison. As a result, indent the interloping code to match. MFC r201292: Document the DELETE_STALE_RC_FILES option introduced in r201291. This is an "rc file only" option by design. While I'm here, update the comments in the example rc file to indicate which command line options they relate to, and correct the defaults for a couple of options. MFC r201293: It's not necessary to include both Op and Fl for command line options included in the text, so use only the latter. Clarify that using -U doesn't make sense in combination with -a MFC r201323: If we are using -p it does not make any sense to even create the MTREENEW file since it will never be used. MFC r201765: Update copyright date Update delete_temproot() to include the error message if it fails, and clean up the places where it's called. If there are no files left in temproot when the comparison is done delete it without prompting. This should make "automated" runs of mergemaster without -a a little easier. Document the new behavior in the man page. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T03:56:48.485446Z K 7 svn:log V 132 Now that we've officially arrived at FreeBSD 9, remove the IGNORE_MOTD compat shim as advertised. This change should not be MFC'ed. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-01-15T04:09:22.464943Z K 7 svn:log V 72 Oops, deleted one line too many. Add back the null case for IGNORE_MOTD END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-15T07:05:00.179958Z K 7 svn:log V 159 Since all other comparisons involving ngroups_max use "ngroups_max + 1", use ">= ngroups_max+1" instead of the equivalent "> ngroups_max" to reduce confusion. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2010-01-15T07:18:46.227338Z K 7 svn:log V 446 Only allocate the space we need before calling kern_getgroups instead of allocating what ever the user asks for up to "ngroups_max + 1". On systems with large values of kern.ngroups this will be more efficient. The now redundant check that the array is large enough in kern_getgroups() is deliberate to allow this change to be merged to stable/8 without breaking potential third party consumers of the API. Reported by: bde MFC after: 28 days END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-15T11:26:20.793692Z K 7 svn:log V 154 MFC: revision 201339 and 201340 - Add setting machine type support to the loader. - Don't use 15M-16M area on pc98. It's reserved for some devices. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-15T11:28:36.608802Z K 7 svn:log V 154 MFC: revision 201339 and 201340 - Add setting machine type support to the loader. - Don't use 15M-16M area on pc98. It's reserved for some devices. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-15T11:32:52.338227Z K 7 svn:log V 154 MFC: revision 201339 and 201340 - Add setting machine type support to the loader. - Don't use 15M-16M area on pc98. It's reserved for some devices. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-15T12:00:48.118248Z K 7 svn:log V 31 Allow commits to vendor/groff. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-15T12:01:25.041488Z K 7 svn:log V 25 Flatten out vendor tree. END K 10 svn:author V 5 marck K 8 svn:date V 27 2010-01-15T12:02:22.295895Z K 7 svn:log V 119 MFH r201051: To remove a server, one should use double backslash, and half of them are eaten by shell. Fix this. END K 10 svn:author V 5 marck K 8 svn:date V 27 2010-01-15T12:07:00.018941Z K 7 svn:log V 119 MFH r201051: To remove a server, one should use double backslash, and half of them are eaten by shell. Fix this. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-01-15T12:07:30.310569Z K 7 svn:log V 240 MFC: r200944 Revert r183628 as with the current ata(4) ATAPI DMA with AcerLabs M5229 appears to be once again fixed. If this happens to return we probably should disable ATAPI DMA in ataacerlabs(4) instead just like the Linux libATA does. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-15T12:17:29.776332Z K 7 svn:log V 10 Clean up. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2010-01-15T12:27:46.480600Z K 7 svn:log V 231 MFC: revision 201342 Reimplement the boot2 for pc98 completely. It's based on the newest i386's one and has the advantage of: - ELF binary support. - UFS2 filesystem support. - Many FreeBSD slices support on a disk. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2010-01-15T12:39:48.707427Z K 7 svn:log V 91 Do not free the dmamap if it is still busy. Submitted by: Mark Tinguely MFC after: 3 days END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-01-15T12:42:35.937407Z K 7 svn:log V 25 Bootstrap merge history. END