ĵ1146407 167 1047 165 973 284 633 124 166 415 117 1659 720 254 265 1144 622 109 147 441 389 151 1953 136 373 246 360 186 111 146 342 139 126 220 795 121 143 164 161 121 210 149 122 173 247 152 127 359 122 254 114 179 136 401 199 176 637 269 215 202 146 139 139 115 181 226 725 441 875 342 716 387 392 381 173 4641 208 2899 382 136 148 123 133 244 140 152 117 117 283 246 487 247 240 192 151 773 172 453 254 120 188 173 150 180 152 151 171 246 542 357 131 236 172 133 236 129 133 115 122 163 123 239 176 192 300 291 147 131 239 175 203 212 393 201 133 239 179 212 210 186 241 385 187 146 114 223 130 653 847 214 261 175 724 162 515 717 143 146 167 247 182 190 198 190 164 330 210 325 505 K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T15:47:37.000000Z K 7 svn:log V 951 - When iterating over the register resources of the children don't use the iteration variable as the RID when adding the respective resource to the child via bus_set_resource(). In case a device has both I/O and memory resources this generates gaps in the newbus resources of the child, e.g. its first memory resource might end up as RID 1. To solve this mimic resource_list_add_next() via resource_list_find() and bus_set_resource(); we can't just use resource_list_add_next() here as this would circumvent the limit checks in isa_set_resource() of the common ISA code. This however is more or less a theoretical problem so far as all known ISA devices on sparc64 soley use I/O space. - Just use bus_generic_rl_release_resource() for isa_release_resource() instead of re-implementing the former. - Improve some comments to better reflect reality, minor clean-up and simplifications, return NULL instead of 0 were appropriate. END K 10 svn:author V 6 jcamou K 8 svn:date V 27 2005-05-19T16:10:31.000000Z K 7 svn:log V 70 MFC: Correct path to package-split.py. Approved by: trhodes (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T18:11:46.000000Z K 7 svn:log V 877 - Artificially using SYS_RES_IOPORT for EBus devices for reasons of compatibility with ISA devices while in fact all known EBus devices actually use memory space turned out to be not a good idea as so far there is only the 'rtc' device known to show up either on an EBus or ISA bus but not on any of the other busses used on sparc64. However there are quite a couple of them that show up on either EBus, FireHose or SBus. In order to save extra code in the respective drivers switch ebus(4) to actually use SYS_RES_MEMORY for the memory resources of its children. At least for transition still accept SYS_RES_IOPORT and silently change it to SYS_RES_MEMORY. [1] - In ebus_probe() use ofw_bus_get_name() instead of re-implementing it via ofw_bus_get_node() and OF_getprop(). - Remove some unused variables. - Use FBSDID. Discussed with: tmm (some time ago) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T18:13:49.000000Z K 7 svn:log V 188 Take advantage of ebus(4) having switched to SYS_RES_MEMORY for the memory resources in ebus.c rev. 1.22 and treat both the EBus and SBus variants alike in this regard. Ok'ed by: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T18:15:37.000000Z K 7 svn:log V 537 - Collapse eeprom_ebus.c and eeprom_sbus.c into eeprom.c and eeprom_ebus_attach() and eeprom_sbus_attach() into eeprom_attach() respectively. Since the introduction of the ofw_bus interface some time ago and now that ebus(4) also uses SYS_RES_MEMORY for the memory resources since ebus.c rev. 1.22 there is no longer a need to have separate front-ends for ebus(4), fhc(4) and sbus(4). - Fail gracefully instead of panicing when the model can't be determined. - Don't leak resources when mk48txx_attach() fails. - Use FBSDID. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-19T18:31:42.000000Z K 7 svn:log V 28 Document taskqueue_drain(). END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-19T21:08:59.000000Z K 7 svn:log V 75 Support the 5714C Submitted by: John Cagle END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-05-19T21:09:44.000000Z K 7 svn:log V 321 Add cases for ENOBUFS and ENETDOWN. We need to make sure that we catch all transient errors. This fixes situations where transient error conditions such as network interfaces losing carrier signals or the system running out of mbufs would result in the permanent removal of forwarding syslog messages. MFC after: 1 week END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-19T21:12:04.000000Z K 7 svn:log V 26 MFC: support for the 5714 END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T21:16:50.000000Z K 7 svn:log V 1562 - Add locking. - Add support for storing the century in MK48TXX_WDAY_CB on MK48Txx with extended registers when the MK48TXX_NO_CENT_ADJUST flag is set (and which is termed somewhat confusing as it actually means don't manually adjust the century in the driver). - Add the MI part of interfacing the watchdog functionality of MK48Txx with extended registers with watchdog(9). This is inspired by the SunOS/Solaris drivers for the 'eeprom' devices also having watchdog support. I actually expected this to work out of the box on Sun Exx00 machines with 'eeprom' devices which have a 'watchdog-enable' property. On terminal count of the the watchdog timer however only the MK48TXX_FLAGS_WDF bit rises but the reset signal and the interrupt respectively (depending on whether the MK48TXX_WDOG_WDS bit of the chip and the MK48TXX_WDOG_ENABLE_WDS flag of the driver respectively is set) goes nowhere. Apparently passing the reset signal on to the WDR line of the CPUs has to be enabled somewhere else but we don't have documentation for the Exx00 specific controllers. I decided to commit this nevertheless so it can be enabled in the eeprom(4) front-end later in e.g. 6.0-STABLE without breaking the API. Besides the Exx00 the watchdog part of the MK48Txx should also work on E250 and E450. Possibly also without extra fiddling on these machines but I haven't found someone willing to give it a try on such a machine so far. - Use uintXX_t instead of u_intXX_t, use __func__ instead of hardcoded function names in error strings. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T21:20:42.000000Z K 7 svn:log V 624 o mc146818(4): - Add locking. - Account for if the MC146818_NO_CENT_ADJUST flag is set we don't need to check wheter year < POSIX_BASE_YEAR. - Add some comments about mapping the day of week from the range the generic clock code uses to the range the chip uses and which I meant to add in the initial version. - Minor clean-up, use __func__ instead of hardcoded function names in error strings. o in the rtc(4) front-end additionally: - Don't leak resources in case mc146818_attach() fails. - Account for ebus(4) defaulting to SYS_RES_MEMORY for the memory resources since ebus.c rev. 1.22. END K 10 svn:author V 3 mux K 8 svn:date V 27 2005-05-19T21:33:48.000000Z K 7 svn:log V 161 Correct a few places where we called warn() when warnx() should have been used. Submitted by: "Liam J. Foy" Obtained from: DragonFlyBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T22:56:00.000000Z K 7 svn:log V 169 Sync with the other files. files and put the keyboard map generation stuff at the beginning of this file as well as add a dependency on dev/kbd/kbd.c for ukbd(4). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-19T23:00:46.000000Z K 7 svn:log V 1047 Recognize the integrated USB controllers of Sun PCIO-2 chips which are used onboard in most of the newer PCI-based sun4u machines (cosmetic change as they were also already probed as generic OHCI without this). Detect whether their intpin register is valid and correct it if necessary, i.e. set the respective IVAR to the right value for allocating the IRQ resource, as some of them come up having it set to 0 (mainly those used in Blade 100 and the first one on AX1105 boards). This fixes attaching affected controllers. Correcting the intpin value might be better off in the PCI code via a quirk table but on the other hand gem(4) and hem(4) also correct it themselves and at least for the USB controller part the intpin register is truely hardwired to 0 and can't be changed. This means that we would have to hook up the quirk information in a lot of places in the PCI code (i.e. whenever the value of the intpin register is read from or written to the pci_devinfo of the respective device) in order to do it the right way. MFC after: 1 month END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-05-19T23:03:02.000000Z K 7 svn:log V 525 Extend `autoboot_delay' handling - is this variable is set to -1 don't allow user to interrupt autoboot process at all. Currently, even when `autoboot_delay' is set to 0, loader(8) still allows autoboot process to be interrupted by pressing any key on the console when the loader reads kernel and modules from the disk. In some cases (i.e. untrusted environment) such behaviour is highly indesirable and user should not be allowed to interfere with the autoboot process at all. Sponsored by: PBXpress Inc. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-20T01:19:02.000000Z K 7 svn:log V 12 Add nve(4). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-20T01:20:23.000000Z K 7 svn:log V 50 Document support for the 5714. MFC after: 3 days END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-20T02:35:43.000000Z K 7 svn:log V 346 In ndis_halt_nic(), invalidate the miniportadapterctx early to try and prevent anything from making calls to the NIC while it's being shut down. This is yet another attempt to stop things like mdnsd from trying to poke at the card while it's not properly initialized and panicking the system. Also, remove unneeded debug message from if_ndis.c. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-05-20T03:18:19.000000Z K 7 svn:log V 294 Fix libstand on amd64. Rev 1.46 (obrien) removed the -I. that the bzip2 support provided, and amd64 depended on. Amd64 has a custom ${.OBJDIR}/machine symlink in it and the -I. picked this up. Without it, the libstand code was being compiled in 32 bit mode, but with 64 bit machine headers. END K 10 svn:author V 3 sam K 8 svn:date V 27 2005-05-20T03:58:53.000000Z K 7 svn:log V 59 guard against bogus address data Submitted by: Bakul Shah END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-20T04:00:50.000000Z K 7 svn:log V 1857 Deal with a few bootstrap issues: We can't call KeFlushQueuedDpcs() during bootstrap (cold == 1), since the flush operation sleeps to wait for completion, and we can't sleep here (clowns will eat us). On an i386 SMP system, if we're loaded/probed/attached during bootstrap, smp_rendezvous() won't run us anywhere except CPU 0 (since the other CPUs aren't launched until later), which means we won't be able to set up the GDTs anywhere except CPU 0. To deal with this case, ctxsw_utow() now checks to see if the TID for the current processor has been properly initialized and sets up the GTD for the current CPU if not. Lastly, in if_ndis.c:ndis_shutdown(), do an ndis_stop() to insure we really halt the NIC and stop interrupts from happening. Note that loading a driver during bootstrap is, unfortunately, kind of a hit or miss sort of proposition. In Windows, the expectation is that by the time a given driver's MiniportInitialize() method is called, the system is already in 'multiuser' state, i.e. it's up and running enough to support all the stuff specified in the NDIS API, which includes the underlying OS-supplied facilities it implicitly depends on, such as having all CPUs running, having the DPC queues initialized, WorkItem threads running, etc. But in UNIX, a lot of that stuff won't work during bootstrap. This causes a problem since we need to call MiniportInitialize() at least once during ndis_attach() in order to find out what kind of NIC we have and learn its station address. What this means is that some cards just plain won't work right if you try to pre-load the driver along with the kernel: they'll only be probed/attach correctly if the driver is kldloaded _after_ the system has reached multiuser. I can't really think of a way around this that would still preserve the ability to use an NDIS device for diskless booting. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-20T04:01:36.000000Z K 7 svn:log V 42 Missed kern_windrv.c in the last checkin. END K 10 svn:author V 4 csjp K 8 svn:date V 27 2005-05-20T04:16:47.000000Z K 7 svn:log V 279 MFC revision 1.622 date: 2005/05/02 02:07:55; author: csjp; state: Exp; lines: +2 -4 Since it is not possible for curthread to be NULL in this context, drop the check+initialization for a straight initialization. Also assert that curthread will never be NULL just to be sure. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-20T04:19:56.000000Z K 7 svn:log V 152 New release notes: libalias as kernel module, ng_nat(4), sed(1) -l, ATA mkIII, chflags(1) -h, kldstat(8) -m, what(1) -q, GNU grep patches from Fedora. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-05-20T05:00:43.000000Z K 7 svn:log V 267 If devclass_get_devices() returns success but a count of 0, free the pointer. If kernel malloc(0) returns a valid pointer, it needs to be freed. If it returns NULL, it's ok to free this also. Submitted by: pjd Reviewed by: imp, dfr Obtained from: Coverity Prevent END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-05-20T05:04:22.000000Z K 7 svn:log V 94 Document that the returned pointer should be freed even if the number of items returned is 0. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2005-05-20T05:13:25.000000Z K 7 svn:log V 17 Add OpenBSD 3.7. END K 10 svn:author V 3 sos K 8 svn:date V 27 2005-05-20T06:23:40.000000Z K 7 svn:log V 54 Print the rigth argv string on error (too much c&p).. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-20T07:16:09.000000Z K 7 svn:log V 245 Calling xl_rxeof() at the end of xl_start_locked() leads to recursion in case of IP fast forwarding. Enqueue a taskqueue(9) task instead of calling xl_rxeof() directly. Reported & tested by: Slava Alpatov Reviewed by: wpaul MFC after: 1 week END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-20T09:51:46.000000Z K 7 svn:log V 47 MFC: add the files and pkgs customize scripts END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-20T09:54:23.000000Z K 7 svn:log V 34 MFC: Add standard admin scripts END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-20T11:04:50.000000Z K 7 svn:log V 127 MFC: Make make.conf overridable (remember absolute path!) Add newfs params for space saving call Customize/files by default END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-20T12:37:16.000000Z K 7 svn:log V 699 Recognize the integrated (though not necessarily enabled) FireWire controllers of Sun PCIO-2 chips which are used onboard in most of the newer PCI-based sun4u machines (cosmetic change as they were also already probed as generic FWOHCI without this). As with gem(4), hme(4) and ohci(4) detect whether their intpin register is valid and correct it if necessary, i.e. set the respective IVAR to the right value for allocating the IRQ resource, as some of them come up having it set to 0 (in fact in all machines I'm currently aware of the FireWire part being enabled). This fixes attaching affected controllers. Apporved by: simokawa Tested by: Michiel Boland MFC after: 1 month END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T12:44:04.000000Z K 7 svn:log V 24 Remove unused variables END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T12:46:34.000000Z K 7 svn:log V 46 Remove unused variables. Whitespace cleaning. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T12:50:47.000000Z K 7 svn:log V 67 Remove unused variables. Shorten the path to a WARNS=6 compliance. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T12:55:38.000000Z K 7 svn:log V 64 Remove unused variable. Shorten the path to WARNS=6 compliance. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T12:57:01.000000Z K 7 svn:log V 24 Remove unused variable. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T13:01:47.000000Z K 7 svn:log V 112 Add FBSDID. Add missing prototypes. Remove unused variables. Give variable an initial value to silent compiler. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T13:04:10.000000Z K 7 svn:log V 52 Remove unused variables. int -> size_t for lenghts. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T13:09:49.000000Z K 7 svn:log V 25 Remove unused variables. END K 10 svn:author V 8 charnier K 8 svn:date V 27 2005-05-20T13:14:18.000000Z K 7 svn:log V 76 Remove unused variables. Remove prototype for function that does not exist. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-20T14:50:30.000000Z K 7 svn:log V 152 Add a test that test whether we can replace the shell to use by make with another shell and set all its parameters (meta and builtins not tested here). END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-20T14:56:55.000000Z K 7 svn:log V 60 ttyname_r() didn't pass correct buffer size to devname_r(). END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-20T14:59:20.000000Z K 7 svn:log V 35 check return value of ttyname_r(). END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-20T15:06:27.000000Z K 7 svn:log V 264 Add a test to ensure that in compat mode when a line contains no shell meta characters it is not passed to the shell, but the command is executed directly (given that the line is not a shell builtin) and that the line with a meta character is passed to the shell. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-20T15:17:08.000000Z K 7 svn:log V 30 use reentrant.h and simplify. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-20T15:25:04.000000Z K 7 svn:log V 159 Add a test to check whether in compat mode make detectes builtins on the command line and really executes the shell instead of directly executing the command. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-20T15:39:20.000000Z K 7 svn:log V 22 reduce strlen() call. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-20T16:23:15.000000Z K 7 svn:log V 84 Fix mismerge in rev 1.226: wait 5 seconds as the comment documents, not .5 seconds. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-20T16:25:08.000000Z K 7 svn:log V 41 Adjust the start_ap delay to match i386. END K 10 svn:author V 3 njl K 8 svn:date V 27 2005-05-20T17:16:24.000000Z K 7 svn:log V 308 Fix LINT build, original breakage was rev 1.23. There are 2 definitions of MCOUNT to have a C version and an asm version with the same name and not have LOCORE ifdefs to distinguish them. provides a C version and provides an assembler version. Discussed with: bde END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-20T21:26:05.000000Z K 7 svn:log V 106 Reduce the number of times that we acquire and release locks in swap_pager_getpages(). MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-20T23:29:55.000000Z K 7 svn:log V 83 Fix yet another cut-and-paste bug. kbd was allocated from M_VKBD not from M_DEVBUF END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-05-21T00:02:12.000000Z K 7 svn:log V 542 For non-profiling kernels, there were two symbols assigned to the same address. One was alltraps_with_regs_pushed, the other was calltrap. When the stack tracer walks up, it looks for magic symbol names to determine how to parse non-standard stack frames, such as a trapframe. It was looking for "calltrap". Which of the two symbols you got depended on things like Phase of moon, etc. If you were unlucky, you got a garbage stack trace for things like 'debug.trace_on_panic', which would completely hide the actual source of the problem. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-05-21T00:22:57.000000Z K 7 svn:log V 173 Quick hack-o-rama to allow the Xorg Radeon driver to start up. It tries to mmap memory outside of the available BARs, so allow the range checks to be relaxed with a sysctl. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-21T00:38:29.000000Z K 7 svn:log V 123 Replace t_force with a t_flag (TF_FORCEDATA). Submitted by: Raja Mukerji. Reviewed by: Mohan, Silby, Andre Opperman. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-05-21T03:27:33.000000Z K 7 svn:log V 106 Unbreak handling of "ip[v]6" protocol and option flag. No more segfaults and not every protocol is IPv6. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-21T07:08:32.000000Z K 7 svn:log V 55 Synchronize program's usage() with manpage's SYNOPSIS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-21T09:55:10.000000Z K 7 svn:log V 48 Sync program's usage() with manpage's SYNOPSIS. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-21T10:14:11.000000Z K 7 svn:log V 48 Sync program's usage() with manpage's SYNOPSIS. END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-21T15:28:42.000000Z K 7 svn:log V 23 NI_WITHSCOPEID cleanup END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2005-05-21T17:22:12.000000Z K 7 svn:log V 85 Fix sentence structure to follow a better logic (zero is disable and one is enable). END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-21T19:38:19.000000Z K 7 svn:log V 128 Correct return values in myopen() and myclose() in Example code. Bug: docs/79318 Thanks to: Derek Tattersall MFC after: 7 days END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2005-05-21T19:45:56.000000Z K 7 svn:log V 627 Start to address the race issue between restoring a file's contents and restoring the metadata. In particular, the metadata-restore functions now all accept a file descriptor and a pathname. If the file descriptor is set and the platform supports the appropriate syscall, restore the metadata through the file descriptor. Otherwise, restore it through the pathname. This is complicated by varying syscall support (FreeBSD has an fchmod(2) but no fchflags(2), for example) and because non-file entries don't have an fd to use in restoring attributes (for example, mknod(2) doesn't return a file handle). MFC after: 14 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:15:14.000000Z K 7 svn:log V 345 For sparc64 conditionalize the compilation of the gfb_cursor() variant which doesn't assume a hardware cursor on __sparc64__ rather than on DEV_CREATOR. If we want to include more than one framebuffer driver in e.g. the GENERIC kernel all drivers have to work the same way. Now that DEV_CREATOR is no longer used remove it from options.sparc64. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:17:01.000000Z K 7 svn:log V 779 - Make sure that the OFW address properties that are going to be decode consist of the expected number of address and size cells (we can't use dynamic arrays here because at the point in the boot process when this code is used malloc() doesn't work, yet). This fixes a Fast Data Access MMU Miss when uart(4) (erroneously) calls OF_decode_addr() to decode the address of PS/2 keyboards. PS/2 keyboards use a different and also undocumented scheme at the first parent node than mapping at 'ranges' properties. It's however not worth implementing that other scheme and actually also fits atkbdc(4) better to just start at the first parent node of PS/2 keyboards which is the 8042 controller (I have atkbdc(4) working that way). - Use FBSDID. MFC after: 1 month END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:19:27.000000Z K 7 svn:log V 246 - MFpowerpc: sys/powerpc/powerpc/nexus.c rev. 1.7 (partial) Use bus_generic_probe() and add a bus_add_child() interface method to allow device drivers to use the identify method to add themselves if need be (e.g. syscons(4)). - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:26:30.000000Z K 7 svn:log V 620 - Sprinkle some KBD_IS_* and KBD_*_DONE macros in sunkbd_configure() as a band-aid allowing to call this function savely multiple times, e.g. during sckbdprobe() and sc_probe_unit(). Otherwise calling it a second time results in a non-working keyboard. This needs a lot of more work to actually do the right thing and work like expected. - Let sunkbd_configure() return the number of the found keyboards, i.e. 1 in case probing succeeds, as it's expected. The return values of the keyboard configure functions however currently aren't checked so this doesn't make a difference at the moment. - Use FBSDID. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:28:15.000000Z K 7 svn:log V 291 Remove superfluous braces and add #ifndef __sparc64__ around the VTB_FRAMEBUFFER specific code. On sparc64 we don't use a buffer of type VTB_FRAMEBUFFER (see syscons.c) and excluding the respective code here allows to compile syscons(4) without isa(4). Requested by: joerg, marcel, yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:29:58.000000Z K 7 svn:log V 296 On sparc64 use 'syscons' rather than 'sc' for SC_DRIVER_NAME so syscons(4) and its pseudo-devices don't get confused (including by other device drivers) with the system controller devices which are also termed 'sc' in the OFW tree (and which we probably want to interface with hwpmc(4) one day). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:32:27.000000Z K 7 svn:log V 285 - Not every architecture defaults to a black background (e.g. sparc64 uses white) so base the color of the border on SC_NORM_ATTR rather than hardcoding BG_BLACK. - Use SC_DRIVER_NAME rather than hardcoding 'sc' in message strings (see also sys/dev/syscons/syscons.h rev. 1.82). END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:34:22.000000Z K 7 svn:log V 78 - Remove duplicate FBSDID. - Start copyright comments with /*- where missing. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:38:26.000000Z K 7 svn:log V 4544 o creator(4): - Use register macros instead of magic values in the code. [1] - Check the return values of OF_getprop() and other stuff that actually can fail. - Let the unimplemented video driver methods return ENODEV rather than 0 so other code isn't tricked into thinking a certain operation was successfull. In case of e.g. the video driver creator_ioctl() this caused vidcontrol(1) to return random garbage information. Remove the TODO macros in the unimplemented video driver methods which did a printf("%s: unimplemented\n", __func__). Under certain circumstances these managed to invoke a printf() when a low-level console device wasn't attached, yet, causing a Fast Data Access MMU Miss. These macros were only really usefull for development anyway. - Set the struct video_adapter and struct video_info va_flags and vi_flags etc. as appropriate. - In creator_configure() don't rely on hitting the node which is the chosen console device first when searching the OFW tree for adapters compatible with this driver. Instead just check whether the chosen console device is a viable target for this driver. Targets that are not the console (including additional cards in multi-head configs) will be attached through creator_upa_attach(). I think this how the code in creator_configure() was actually meant to work. Honour the VIO_PROBE_ONLY flag and don't initialise and register the console device twice when creator_configure() is called a second time during sc_probe_unit(). Let creator_configure() return the number of the found adapters, i.e. 1 in case probing succeeds, as it's expected. The return values of video adapter configure functions however currently aren't checked so this doesn't make a difference at the moment. - In creator_upa_attach() don't rely on probing and attaching the adapter which is the console first, in case there are multiple adpaters and one of them is the console this could lead into using the video adapter unit 0 twice. - Make the check for DACs with inverted cursor control a bit more precise and actually honour that information when turning the cursor on or off. Add a helper function creator_cursor_enable() for this in order to keep code duplication low. [1] - Don't bother with faking a hardware cursor in case a device is the console. Apparently this was meant to start kernel output right after where the firmware left. In general this isn't worth the fuzz and also had no real effect as creator_set_mode() did clear the screen in any case, not just in case a device was not the console. - Implement creator_fill_rect() and use it to actually blank the display in creator_blank_display() when the mode is V_DISPLAY_BLANK, moving blanking the display out of creator_set_mode(). Use it also to implement creator_set_border() so the border can be re-drawn when switching to a VTY from X, exiting X, etc. (which leaves us with a black border most of the time). - Implement the video driver creator_ioctl(), moving the implementation of the IOCTL interface from the fbN CDEV version of creator_ioctl() into the video driver version and use the latter to implement the former. Use fb_commonioctl() to handle most of the FBIO IOCTLs. This gives programs like vidcontrol(1) which use the video driver creator_ioctl() a chance of working. Implement turning off the cursor via the FBIOSCURSOR IOCTL, which Xorg uses to in order to inform the OS that it's taking over the cursor. In creator_putm() check whether the cursor is enabled and (re-)install it if necessary, moving installing the cursor out of creator_init() and into a helper function creator_cursor_install(). This fixes the missing mouse pointer when switching to a VTY from X, exiting X, etc. - Some clean-up (remove unused/useless code, etc.). o sparc64/creator/creator_upa.c / sparc64/sparc64/sc_machdep.c: - Attach syscons(4) as an own pseudo-device on the nexus rather than directly in creator_upa_attach(), similiar to attaching syscons(4) as a pseudo-device on isa(4) on other archs. This makes it a whole lot easier to do the right thing in multi-head configs, especially with different types of graphics adapters. [2] - Set SC_AUTODETECT_KBD by default so USB keyboards work out of the box. [2] Based on/obtained from: Xorg 'ffb' driver [1] Based on/obtained from: FreeBSD/powerpc [2] END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:40:51.000000Z K 7 svn:log V 112 Grab FBTYPE_NOTSUN3 and use it for FBTYPE_PCIMISC. The value matches the one used in NetBSD for FBTYPE_PCIMISC. END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:47:38.000000Z K 7 svn:log V 2802 Add machfb(4), a driver for ATI Mach64 graphics chips intended for use with syscons(4) on sparc64. It's based on the respective NetBSD driver with some additional info (initialisation/hardware cursor) obtained from the Xorg 'ati' driver and some ideas taken from creator(4). ATI Mach64 chips ("ATI Rage") are quite common as low- end graphics chips in PCI-based sun4u machines and are used on-board in e.g. Blade 100 and a couple of OEM products. Most if not all of the Sun PGX add-on cards family (descriptions of the PGX32 are conflicting but most say it's a Rage Pro) are also based on these chips. Depending on the version of the OBP Mach64 cards destined for use in i386 machines also work in sun4u machines. The driver uses pixel mode with hardware acceleration as far as syscons(4) currently permits on sparc64 so text mode is already quite fast. The hardware cursor is used for the mouse pointer; for one because this is a "restriction" induced in syscons(4) on sparc64 by creator(4) and also because of issues with mapping the aperture when used as a low-level early during boot. Due to insufficiencies in the available documentation I didn't manage to get mode switch work properly (sync problems), yet. So for now this driver relies on the OBP having initialised a mode (as does creator(4)). On all of the tested machines is even true when using a serial console (and also not only when the OBP switched to a serial console because no keyboard is present). In general however the states the Mach64 chips are left in by the OBP vary a lot depending on the version of the OBP. This e.g. includes the aperture not being mapped in even when used as the console and the OBP just barfing when asked to map it. The latter is also the reason for the existence of this native driver in FreeBSD rather than taking an OFW frambuffer approach. Xorg is also happy to talk to these chips by mmap'ing them through this driver. For some hardware configs like on the Blade 100 a fix for the Xorg sparc64 MD bus code is however needed (added in version 6.8.2_2 of the xorg-server port). The video driver font loading and saving methods are not implemented, yet, as syscons(4) needs more work in that area to work viable on sparc64. With minor modifications machfb(4) would most likely also work on powerpc, when #ifdef'ing the OFW and possibly implementing mode setting probably also on the other archs. The latter is however not very practible at the moment as it would conflict with vga(4). Tested/developed with: Rage II+ add-on card on AX1105 and AXi board, AXe board (on-board Rage Pro) Additional testing by: marcel (Ultra 5 w/ on-board Rage Pro), scottl (Naturetech GENIALstation 777S w/ on-board Rage Mobility M1), Michiel Boland and Ilmar S. Habibulin (Blade 100 w/ on-board Rage XL) END K 10 svn:author V 6 marius K 8 svn:date V 27 2005-05-21T20:50:45.000000Z K 7 svn:log V 286 - Hook up machfb(4) to the sparc64 build, not enabled in GENERIC by default, yet. - Replace "graphics cards" with "framebuffers" in the description of creator(4) in order to make it uniform with the description of machfb(4) and the latter occur both on-board and as add-on cards. END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-22T00:30:50.000000Z K 7 svn:log V 44 Remove GIANT_REQUIRED from swapout_procs(). END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-05-22T03:16:45.000000Z K 7 svn:log V 54 Add PCI ID for BCM5789. Submitted by: S. Aeschbacher END K 10 svn:author V 5 silby K 8 svn:date V 27 2005-05-22T03:17:49.000000Z K 7 svn:log V 29 MFC: Add PCI ID for BCM5789. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-22T10:27:51.000000Z K 7 svn:log V 36 BCM5789 support. MFC after: 3 days END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-22T15:25:14.000000Z K 7 svn:log V 146 - Add a HARDWARE section based on the previous 'Supported Cards' subsection and the hardware notes. - Xref all snd_* drivers MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-22T16:14:55.000000Z K 7 svn:log V 43 soundcard -> sound card MFC after: 3 days END K 10 svn:author V 8 schweikh K 8 svn:date V 27 2005-05-22T16:22:23.000000Z K 7 svn:log V 55 Style: mostly tabs vs blanks, and semicolon placement. END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-05-22T16:31:32.000000Z K 7 svn:log V 23 MFi386: remove comment END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-05-22T16:32:02.000000Z K 7 svn:log V 23 MFi386: set PMC vector END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-22T17:04:04.000000Z K 7 svn:log V 185 - Autogenerate device listings for sound(4) aka pcm(4) - Rename the Audio Devices section into Sound Devices, this is more in line with out sound and snd_* drivers MFC after: 1 week END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-22T17:12:42.000000Z K 7 svn:log V 148 Sort the sound section by driver name. The exception to this is sound(4), which is the master driver and will hopefully be renamed to snd(4) soon. END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2005-05-22T18:18:13.000000Z K 7 svn:log V 392 Sync everything up with -current, except for the WPA support, which won't work with the 5.x version of net80211. This includes all fixes to date, and support for new cards such as the AirGo MIMO and Ralink RT2500. This also includes the new driver configuration/conversion mechanism. Remember that you should use ndisgen(8) to create new drivers now, and if_ndis.ko will always be pre-built. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-22T18:24:31.000000Z K 7 svn:log V 153 MFCs noted: New ndisulator driver generation procedure, getproto*(3) thread-safe, getserv*(3) thread-safe, kldstat(8) -m, default stack size increases. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-22T18:25:20.000000Z K 7 svn:log V 146 MFC: New ndisulator driver generation procedure, getproto*(3) thread-safe, getserv*(3) thread-safe, kldstat(8) -m, default stack size increases. END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-05-22T18:31:08.000000Z K 7 svn:log V 97 Clear device-specific PCI register 0x41 during attach and on resume. Appoved by: silby (mentor) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-05-22T18:34:20.000000Z K 7 svn:log V 56 Fix WPA (802.11i) support. Approved by: silby (mentor) END K 10 svn:author V 6 damien K 8 svn:date V 27 2005-05-22T18:55:32.000000Z K 7 svn:log V 677 o Clear device-specific PCI register 0x41 (Retry Timeout) during attach and on resume (reported to fix issues with ACPI) o Add monitor mode support o Add WPA (802.11i) support (not tested extensively though!) o Add a device specific sysctl to control the tx antenna (default to antenna diversity) o Fix sensitivity setting o Fix setting of the capinfo field when associating o Temporarly disable 802.11a channels scanning that was causing firmware panics with 2915ABG adapters until I find a better fix. This breaks 802.11a support. o Temporarly switch back to software WEP until I implement hardware encryption for AES and TKIP too. Approved by: silby (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2005-05-22T21:06:07.000000Z K 7 svn:log V 80 Swap in can occur safely without Giant. Release Giant on entry to scheduler(). END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-22T21:52:30.000000Z K 7 svn:log V 360 If we need to hide fsid, kern_statfs()/kern_fstatfs() will do it for us, so do not duplicate the code in cvtstatfs(). Note, that we now need to clear fsid in freebsd4_getfsstat(). This moves all security related checks from functions like cvtstatfs() and will allow to add more security related stuff (like statfs(2), etc. protection for jails) a bit easier. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-22T22:20:46.000000Z K 7 svn:log V 161 This code seems to be dead, but anyway: - Don't leak fsid. - Don't forget about prison_check_mount(). - Don't use additional variable when there is no need to. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-22T22:23:37.000000Z K 7 svn:log V 28 Add missing jail.h include. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-22T22:30:31.000000Z K 7 svn:log V 96 The code is under '#ifdef not_that_way', but anyway: - Add missing prison_check_mount() check. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-22T23:05:27.000000Z K 7 svn:log V 81 Protect fsid in freebsd4_getfsstat() in simlar way as it is done in getfsstat(). END K 10 svn:author V 5 peter K 8 svn:date V 27 2005-05-22T23:28:17.000000Z K 7 svn:log V 56 Fix some of the problems Bruce observed with this code. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-23T02:37:35.000000Z K 7 svn:log V 87 New release notes: gethostby*(3) thread-safe (+MFC), getnetby*(3) thread-safe (+MFC). END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-23T02:39:51.000000Z K 7 svn:log V 59 MFC: gethostby*(3) thread-safe, getnetby*(3) thread-safe. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-23T02:47:21.000000Z K 7 svn:log V 58 Somewhat belatedly, add an errata entry for SA-05:09.htt. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2005-05-23T03:14:56.000000Z K 7 svn:log V 76 Make the liveCD separate ala ia64 - the combined live/install is too large. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-23T03:35:17.000000Z K 7 svn:log V 152 Grrr. Put the SA-05:09.htt item in the security advisories section, not the open issues section. Pointy hat to: bmah Needs to call it a night: bmah END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-05-23T05:45:36.000000Z K 7 svn:log V 445 According to STP2002QFP User's Guide, it seems that driver should program RXMAC to discard frames with SA field matching the stations's MAC address. Experimentation shows that HME receives its own frames when it operates at 10Mbps half-duplex. With this change HME runs at 10Mbps half-duplx should work with IPv6. (No more "DAD detected duplicate IPv6 address".) Reported by: jacques brierre Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2005-05-23T06:27:07.000000Z K 7 svn:log V 260 Make snd_maestro3(4) mpsafe - Let m3_pchan_trigger()/m3_rchan_trigger() acquire lock and call m3_pchan_trigger_locked()/m3_rchan_trigger_locked() respectivly. - Mark interrupt handler INTR_MPSAFE. - Add locks in sound/channel interface. Tested by: nork END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:46:22.000000Z K 7 svn:log V 40 Import of stripped down GNU texinfo 4.8 END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:46:22.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146515, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-23T10:46:23.000000Z K 7 svn:log V 76 This commit was manufactured by cvs2svn to create tag 'texinfo-vendor-v4_8'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:47:04.000000Z K 7 svn:log V 42 Removed files not present in v4.8 import. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:47:04.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146518, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:50:32.000000Z K 7 svn:log V 38 Use stock (FSF) version of this file. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:50:48.000000Z K 7 svn:log V 42 Merge texinfo 4.8 changes onto the trunk. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:52:07.000000Z K 7 svn:log V 24 Update for texinfo 4.8. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T10:55:29.000000Z K 7 svn:log V 31 Update for version 4.8 import. END K 10 svn:author V 2 ru K 8 svn:date V 27 2005-05-23T11:15:16.000000Z K 7 svn:log V 72 Stop redundantly rebuilding texinfo on the next __FreeBSD_version bump. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T11:19:11.000000Z K 7 svn:log V 29 Virgin import of bsnmpd 1.10 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T11:19:11.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146525, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-23T11:19:12.000000Z K 7 svn:log V 80 This commit was manufactured by cvs2svn to create tag 'bsnmp-vendor-BSNMP_1_10'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T11:22:54.000000Z K 7 svn:log V 98 Bump the shared library version number of the modules because of changes in the module interface. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T11:24:39.000000Z K 7 svn:log V 205 The ticks delivered by the SNMP daemon are now 64-bit, so make our local tick variable which is used to reduce the number of updates from kernel structures and to ensure intra-PDU consistency also 64 bit. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-23T11:31:26.000000Z K 7 svn:log V 193 New release notes: - uftdi(4) supports the FTDI FT2232C chip. - bge(4) support for several new chips. (merged) Note merges: - uaudio(4) sync - dc(4) polling - xl(4) polling - ixgb(4) MPSAFE END K 10 svn:author V 6 philip K 8 svn:date V 27 2005-05-23T11:41:14.000000Z K 7 svn:log V 52 Catch up with the bsnmpd daemon's 64bit time ticks. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T12:22:12.000000Z K 7 svn:log V 37 Virgin import of NgATM user part 1.2 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T12:22:12.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146532, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-23T12:22:13.000000Z K 7 svn:log V 79 This commit was manufactured by cvs2svn to create tag 'ngatm-vendor-NGATM_1_2'. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T12:24:46.000000Z K 7 svn:log V 108 This module was wrongly including header from /usr/include. Give it the correct path to the source headers. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2005-05-23T12:25:15.000000Z K 7 svn:log V 114 MFC: New release notes: - uaudio(4) sync - bge(4) support for BCM5714 and 5789 - ixgb(4) MPSAFE - xl(4) polling END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-23T12:25:33.000000Z K 7 svn:log V 300 We need to use 'applyset' command for devfs, 'apply hide' is not enough, because new devfs entries can show up later and one can access such entires from inside named chroot. In rc.d scripts we can use devfs_domount() function with devfsrules_hide_all policy and unhide 'null' and 'random' manually. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-05-23T13:05:07.000000Z K 7 svn:log V 108 Add some debug code to diagnose root-on-mirror problems with recent -current. Reported by: Daniel Eriksson END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T13:08:32.000000Z K 7 svn:log V 39 Virgin import of NgATM kernel part 1.2 END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T13:08:32.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r146539, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2005-05-23T13:08:33.000000Z K 7 svn:log V 83 This commit was manufactured by cvs2svn to create tag 'ngatm-vendor-sys-NGATM_1_2'. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-23T13:27:49.000000Z K 7 svn:log V 115 MFC: Add option -l, to make output line buffered. PR: bin/78692 Submitted by: Eugene Grosbein END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-23T13:27:52.000000Z K 7 svn:log V 115 Make the ArgArray_Init() function visible to the rest of make. It will soon be needed for the .SHELL parsing code. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-23T13:39:20.000000Z K 7 svn:log V 90 Return EINVAL for incorrect hook names. PR: kern/81349 Submitted by: Wojciech A. Koszek END K 10 svn:author V 7 glebius K 8 svn:date V 27 2005-05-23T13:49:49.000000Z K 7 svn:log V 144 Remove local error variable, which leads to hiding error from return value. PR: kern/81371 Submitted by: Wojciech A. Koszek MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2005-05-23T14:12:32.000000Z K 7 svn:log V 292 - do DNS lookup for symbolic names specified for a destination or gateway. - improves error reporting using gai_strerror(3) instead of printing "bad value". - remove "0" for servname argument for getaddrinfo(3). Submitted by: Andreas Kohn MFC after: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-05-23T14:59:33.000000Z K 7 svn:log V 91 MFC: Don't allow user to interrupt autoboot from console when autoboot_delay is set to -1. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-05-23T16:23:28.000000Z K 7 svn:log V 50 Add cdce(4) into the list of ethernet interfaces. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2005-05-23T16:25:11.000000Z K 7 svn:log V 18 MFC: add cdce(4). END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2005-05-23T17:07:16.000000Z K 7 svn:log V 127 Fix semantics of ph_busy_count == -1 to pass instead of block. PR: kern/81128 Submitted by: Joost Bekkers MFC-after: 2 weeks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2005-05-23T17:36:54.000000Z K 7 svn:log V 35 Sync the style of these two files. END K 10 svn:author V 2 ps K 8 svn:date V 27 2005-05-23T19:22:48.000000Z K 7 svn:log V 561 Rewrite of tcp_sack_option(). Kentaro Kurahone (NetBSD) pointed out that if we sort the incoming SACK blocks, we can update the scoreboard in one pass of the scoreboard. The added overhead of sorting upto 4 sack blocks is much lower than traversing (potentially) large scoreboards multiple times. The code was updating the scoreboard with multiple passes over it (once for each sack option). The rewrite fixes that, reducing the complexity of the main loop from O(n^2) to O(n). Submitted by: Mohan Srinivasan, Noritoshi Demizu. Reviewed by: Raja Mukerji. END K 10 svn:author V 4 emax K 8 svn:date V 27 2005-05-23T19:52:54.000000Z K 7 svn:log V 753 MFC to RELENG_5 Fix problem with session termination. bthidd(8) maintains two L2CAP connections to Bluetooth HID device. As soon as Bluetooth HID device is powered off (or goes out of RF range) the stack will terminate both connections. File descriptors for both connections will become active on next select(2) call. Because bthidd(8) processes file descriptors in order, it will detect descriptor for one of the closed connections first and kill the session. However, there is still a second (active) descriptor that used to point to the same session. bthidd(8) used to assert() if it cant find session by file descriptor, which was wrong. While I'm here fix a couple of typos in parser.y Reported by: Eric Anderson anderson AT centtech DOT com END K 10 svn:author V 3 ups K 8 svn:date V 27 2005-05-23T23:01:53.000000Z K 7 svn:log V 121 Use low level constructs borrowed from interrupt threads to wait for work in proc0. Remove the TDP_WAKEPROC0 workaround. END K 10 svn:author V 4 bmah K 8 svn:date V 27 2005-05-24T03:14:46.000000Z K 7 svn:log V 167 Consolidate some release notes items regarding new manual pages and add some entries for recently-added sound manual pages. Submitted by: joel Reviewed by: bmah, hrs END K 10 svn:author V 5 adamw K 8 svn:date V 27 2005-05-24T04:50:07.000000Z K 7 svn:log V 81 Fix a particularly egregious grammar error. Approved by: wpaul MFC after: 1 day END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T07:45:49.000000Z K 7 svn:log V 629 Allow the .SHELL target to specify the list of shell meta characters and the list of shell builtins. Both of these are needed for the compat mode where make directly executes commands if the command line contains neither a shell meta character nor a shell builtin. The list of builtins is not changed, but csh has '@' added as a meta-character. Initialize the default shell by parsing a string as one would specify to the .SHELL target. So we get rid of the CShell clone of struct Shell which just contained const char * where struct Shell had char *. Add a debugging function for dumping a parsed shell description to stdout. END K 10 svn:author V 5 krion K 8 svn:date V 27 2005-05-24T08:23:01.000000Z K 7 svn:log V 68 Put myself on behalf of portmgr as maintainer of pkg_install tools. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2005-05-24T08:26:44.000000Z K 7 svn:log V 417 Add an -I option to pkg_version: -I Use only the index file for determining if a package is out of date. This is much faster than using the version number from a port's Makefile, at the expense of potentially giving an incor- rect result if the index file is out of date. Without this option, the index file is only consulted if "make -V PKGNAME" cannot be used. Approved by: portmgr (krion) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T09:14:46.000000Z K 7 svn:log V 622 Before doing any parsing parse the builtin shell specifications and set the current shell to DEFSHELL. Put all these specifications into a list. Add user specified new shells to this list. If the user just selects one of the already know shells just pick the right one off the list. This let's one do something like: # Full specification of the user's shell. This also selects the shell. .SHELL: name=myshell path=/somewhere/foo echo=loud ... FOO != bar # use myshell here .SHELL: name=sh BAR != baz # use /bin/sh here .SHELL: name=myshell # no need for full spec here. # continue to use the user's special shell. END K 10 svn:author V 3 phk K 8 svn:date V 27 2005-05-24T10:10:38.000000Z K 7 svn:log V 51 Check for NULL pointer return. Spotted by: marcus END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T10:55:00.000000Z K 7 svn:log V 52 Describe the -x option and the .WARN pseudo-target. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T10:59:08.000000Z K 7 svn:log V 73 Describe the meta and builtins attributes for the .SHELL special target. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2005-05-24T12:24:45.000000Z K 7 svn:log V 149 Import of ReiserFS filesystem support (currently limited to read-only on i386). Source code is under the GNU GPL license. Approved by: mux (mentor) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2005-05-24T12:28:21.000000Z K 7 svn:log V 85 Connect the ReiserFS filesystem to the build (i386 only). Approved by: mux (mentor) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2005-05-24T12:30:13.000000Z K 7 svn:log V 93 Connect the ReiserFS filesystem to the modules build (i386 only). Approved by: mux (mentor) END K 10 svn:author V 3 hmp K 8 svn:date V 27 2005-05-24T12:33:29.000000Z K 7 svn:log V 105 Accomodate for parameter name change, 'cnp' to 'data'. Submitted-by: Andrew R. Reiter END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2005-05-24T12:34:45.000000Z K 7 svn:log V 93 Import of mount_reiserfs(8), used to mount a ReiserFS filesystem. Approved by: mux (mentor) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2005-05-24T12:37:18.000000Z K 7 svn:log V 67 Connect mount_reiserfs(8) to the build. Approved by: mux (mentor) END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T13:14:24.000000Z K 7 svn:log V 235 Another shell attribute 'unsetenv' that will cause to unsetenv("ENV") before executing the shell. Until now this was done when the default shell was the ksh. This failed if the default shell was sh or csh and the user switched to ksh. END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T13:19:40.000000Z K 7 svn:log V 115 Use the name of the default shell instead of a numeric index to select the default shell. Idea from: DragonFlyBSD END K 10 svn:author V 5 harti K 8 svn:date V 27 2005-05-24T15:30:03.000000Z K 7 svn:log V 230 Factor out all the .SHELL parsing related stuff into its own file and rename the function to be consistent with the naming scheme in the rest of make. No functional changes. Obtained from: DragonFlyBSD (idea and most of shell.h) END K 10 svn:author V 5 imura K 8 svn:date V 27 2005-05-24T15:38:08.000000Z K 7 svn:log V 410 Fix kiconv on the 64bit plathomes. - Correct idxp pointer to point the properly address of the each array of the kiconv character conversion tables, so that character conversion work properly when file systems are mounted with kiconv options. - The definition of ICONV_CSMAXDATALEN was also bogus because it was defined as if all machines were 32bit computers. Tested on: amd64 MFC after: 1 month END