summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Instead of having to know which timezone was picked last time, youedwin2009-10-202-16/+80
| | | | | | | now can run "tzsetup -r" which will reinstall the last choice. This data is recorded in /var/db/zoneinfo. MFC after: 1 week
* Use callout_init_mtx on FreeBSD versions recent enough. This closeskan2009-10-204-21/+40
| | | | | | | | | | | the race where interrupt thread can complete the request for which timeout has fired and while mpt_timeout has blocked on mpt_lock. Do a best effort to keep 4.x ang Giant-locked configurartions compiling still. Reported by: ups Reviewed by: scottl
* Fix a bug in composing PERR frames introduced by latest draft update.rpaulo2009-10-191-1/+2
| | | | MFC after: 3 days
* Remove a redundant option ROM check, which was never meant to be committed.jkim2009-10-191-3/+2
|
* Add opt_gdb.h which is now needed by ucom.thompsa2009-10-191-1/+1
|
* Add support for newer WinChipHead CH341 chips, previously in the uch341 driver.thompsa2009-10-192-116/+58
| | | | Submitted by: HPS
* Remove the newly added uch341 driver, it will be merged into uchcom instead.thompsa2009-10-194-570/+3
| | | | | Suggested by: takawata Submitted by: HPS
* Make the usage of the default zoneinfo file to install clearer.edwin2009-10-191-5/+6
| | | | MFC after: 1 week
* When tzsetup is run as non-root and the "CMOS clock question onedwin2009-10-191-1/+3
| | | | | | | UTC" is answered as No, it would abort without properly ending the dialog session. MFC after: 1 week
* Fix a copy-and-pasto in the previous commit.jkim2009-10-191-1/+1
|
* Rewrite x86bios and update its dependent drivers.jkim2009-10-1913-708/+944
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Do not map entire real mode memory (1MB). Instead, we map IVT/BDA and ROM area separately. Most notably, ROM area is mapped as device memory (uncacheable) as it should be. User memory is dynamically allocated and free'ed with contigmalloc(9) and contigfree(9). Remove now redundant and potentially dangerous x86bios_alloc.c. If this emulator ever grows to support non-PC hardware, we may implement it with rman(9) later. - Move all host-specific initializations from x86emu_util.c to x86bios.c and remove now unnecessary x86emu_util.c. Currently, non-PC hardware is not supported. We may use bus_space(9) later when the KPI is fixed. - Replace all bzero() calls for emulated registers with more obviously named x86bios_init_regs(). This function also initializes DS and SS properly. - Add x86bios_get_intr(). This function checks if the interrupt vector is available for the platform. It is not necessary for PC-compatible hardware but it may be needed later. ;-) - Do not try turning off monitor if DPMS does not support the state. - Allocate stable memory for VESA OEM strings instead of just holding pointers to them. They may or may not be accessible always. Fix a memory leak of video mode table while I am here. - Add (experimental) BIOS POST call for vesa(4). This function calls VGA BIOS POST code from the current VGA option ROM. Some video controllers cannot save and restore the state properly even if it is claimed to be supported. Usually the symptom is blank display after resuming from suspend state. If the video mode does not match the previous mode after restoring, we try BIOS POST and force the known good initial state. Some magic was taken from NetBSD (and it was taken from vbetool, I believe.) - Add a loader tunable for vgapci(4) to give a hint to dpms(4) and vesa(4) to identify who owns the VESA BIOS. This is very useful for multi-display adapter setup. By default, the POST video controller is automatically probed and the tunable "hw.pci.default_vgapci_unit" is set to corresponding vgapci unit number. You may override it from loader but it is very unlikely to be necessary. Unfortunately only AGP/PCI/PCI-E controllers can be matched because ISA controller does not have necessary device IDs. - Fix a long standing bug in state save/restore function. The state buffer pointer should be ES:BX, not ES:DI according to VBE 3.0. If it ever worked, that's because BX was always zero. :-) - Clean up register initializations more clearer per VBE 3.0. - Fix a lot of style issues with vesa(4).
* Move mxge(4)'s NIC watchdog reset handler fromgallatin2009-10-192-22/+66
| | | | a callout to a taskqueue
* Implement the missing support for updating the mesh conf number ofrpaulo2009-10-194-1/+31
| | | | | | neighbors via ieee80211_beacon_notify(). MFC after: 3 days
* Merge ACPICA 20091013.jkim2009-10-1923-488/+1107
|\
| * Import ACPICA 20091013.jkim2009-10-1325-534/+1238
| |
* | Switch the default WARNS level for sbin/ to 6.ru2009-10-1951-39/+25
| | | | | | | | Submitted by: Ulrich Spörlein
* | Clean up markup (mainly).ru2009-10-191-77/+149
| |
* | Clean up comments, white space, and style in pfil.c (especially new VNETrwatson2009-10-191-30/+28
| | | | | | | | | | | | bits). MFC after: 3 days (not VNET bits)
* | Powercrypt and NetSec seem to be defunct (webpages point to link farmsbrueffer2009-10-191-7/+1
| | | | | | | | | | | | | | | | | | and a google search yields no alternative). Remove the links but keep the entries around for reference. PR: 139756 Submitted by: Patrick Oonk <patrick@pine.nl> MFC after: 3 days
* | Properly re-create "-s size" argument to newfs(8).ru2009-10-191-1/+1
| |
* | HWMP fixes, namely:rpaulo2009-10-191-31/+32
| | | | | | | | | | | | | | | | * fix the processing of RANN frames * the originator and target addresses were swapped and while it worked fine, it was not spec compliant. MFC after: 3 days
* | Partially revert the change to the gettytab made in r198214.ed2009-10-191-1/+1
| | | | | | | | | | | | | | | | | | By misinterpreting some data, I thought that getty wouldn't apply any baud rate to the syscons devices, but it uses the default entry instead. This means that the baud rate is set to 1200. This isn't too bad, except when using canonical mode. Make it use 9600 baud by default. MFC after: 1 week
* | Update copyright.des2009-10-191-1/+1
| |
* | Remove redundant $FreeBSD$.des2009-10-191-2/+0
| |
* | Properly set the low watermarks when reducing the baud rate.ed2009-10-192-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Now that buffers are deallocated lazily, we should not use tty*q_getsize() to obtain the buffer size to calculate the low watermarks. Doing this may cause the watermark to be placed outside the typical buffer size. This caused some regressions after my previous commit to the TTY code, which allows pseudo-devices to resize the buffers as well. Reported by: yongari, dougb MFC after: 1 week
* | Remove unused pfil_flags field in packet_filter_hook.rwatson2009-10-181-1/+0
| | | | | | | | MFC after: 3 days
* | Sort function prototypes in pfil.h, clean up white space, and betterrwatson2009-10-181-6/+6
| | | | | | | | | | | | align fields for printing. MFC after: 3 days
* | Don't forget to increment the man page date.ed2009-10-181-1/+1
| | | | | | | | Reported by: bz
* | Fix qouting in a comment, to make it look more consistented2009-10-181-1/+1
| | | | | | | | | | Submitted by: Jille Timmermans <jille quis cx> MFC after: 1 week
* | Fix a typo in the jail(8) manpage.ed2009-10-181-1/+1
| | | | | | | | | | Submitted by: Jille Timmermans <jille quis cx> MFC after: 1 week
* | Allow the buffer size to be configured for pseudo-like TTY devices.ed2009-10-182-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Devices that don't implement param() (which means they don't support hardware parameters such as flow control, baud rate) hardcode the baud rate to TTYDEF_SPEED. This means the buffer size cannot be configured, which is a little inconvenient when using canonical mode with big lines of input, etc. Make it adjustable, but do clamp it between B50 and B115200 to prevent awkward buffer sizes. Remove the baud rate assignment from /etc/gettytab. Trust the kernel to fill in a proper value. Reported by: Mikolaj Golub <to my trociny gmail com> MFC after: 1 month
* | Make lock devices work properly.ed2009-10-181-0/+28
| | | | | | | | | | | | | | | | | | | | It turned out I did add the code to use the init state devices to set the termios structure when opening the device, but it seems I totally forgot to add the bits required to force the actual locking of flags through the lock state devices. Reported by: ru MFC after: 1 week (to be discussed)
* | Don't assume that physical addresses are identity mapped. This allowsnwhitehorn2009-10-181-1/+8
| | | | | | | | | | the second processor on G5 systems to start. Note that SMP is still non-functional on these systems because of IPI delivery problems.
* | Work around a quirk with the G5 Xserve, which has a fake GMAC controllernwhitehorn2009-10-181-0/+10
| | | | | | | | | | | | with an all-zero MAC address. In this case, don't attach. Discussed with: marius
* | o OpenBSD 4.6 added.maxim2009-10-181-1/+2
| |
* | Fix KASSERT string to include the real module name.rpaulo2009-10-181-1/+1
| |
* | Change the load base to below 2GB so PIE binaries work including whenmarius2009-10-182-2/+2
| | | | | | | | | | | | | | | | | | compiled to use the Medium/Low code model, which we currently default to for the userland. GNU/Linux has moved their default to Medium/Middle some time ago, which probably explains why the current GNU ld(1) uses a base in the range between 32 and 44 bits instead. Submitted by: kib
* | If ET_DYN binary has non-zero base address for some reason, honour itkib2009-10-181-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and do not relocate the binary to ET_DYN_LOAD_ADDR. This allows for the binary author to influence address map of the process. In particular, when the binary is actually an interpeter, this allows to have almost usual process address map. Communicate the relocation bias of the mapping for interpeter-less ET_DYN binary, that is interperter itself, in AT_BASE aux entry. This way, rtld is able to find its dynamic structure and relocate itself. Note that mapbase in the rtld is still wrong and requires further fixing. Reported and tested by: rwatson Discussed with: kan MFC after: 3 days
* | Remove spurious call to priv_check(PRIV_VM_SWAP_NOQUOTA).kib2009-10-181-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | Call priv_check(PRIV_VM_SWAP_NORLIMIT) only when per-uid limit is actually exceed. Both changes aim at calling priv_check(9) only for the cases when privilege is actually exercised by the process. Reported and tested by: rwatson Reviewed by: alc MFC after: 3 days
* | Reset UPTODATE gnodes after remaking makefiles when makefjoe2009-10-181-15/+21
| | | | | | | | | | is not going to be restarted: such nodes could be marked UPTODATE without doing rebuild due to remakingMakefiles being TRUE.
* | Line-wrap pfil.c so that it prints more nicely.rwatson2009-10-181-6/+10
| | | | | | | | MFC after: 3 days
* | Exit with non-zero error code in case of errorsfjoe2009-10-181-0/+2
| | | | | | | | when make is run with -k and not parallel (compat) make is run.
* | Rewrap ip_input() comment so that it prints more nicely.rwatson2009-10-181-3/+3
| | | | | | | | MFC after: 3 days
* | adds devices supportted by urtw(4) and bumps date.weongyo2009-10-181-1/+7
| |
* | overhauls urtw(4) for supporting RTL8187B devices properly that thereweongyo2009-10-183-371/+658
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | was major changes to initialize RF chipset and set H/W registers and removed a lot of magic numbers on code. Details are as follows: - uses the endpoint 0x89 to get TX status information which used to get TX complete or retry numbers or get a beacon interrupt. It's only valuable for RTL8187B. - removes urtw_write[8|16|32]_i functions that it's useless now. - uses ic->ic_updateslot to set SLOT, SIFS, DIES, EIFS, CW_VAL registers that doesn't set these whenever the channel is changed. - code for initializing RF chipset for RTL8187B changed a lot that there was many problems on TX transfers so it doesn't work properly even if just for a ping/pong. Now it becomes more stable than before that TX throughputs using netperf(1) were about 15 ~ 17Mbps/s though sometimes it encounters packet losses. - removes a lot of magic numbers that in the previous all of representing RX and TX descriptors were consisted of magic numbers and structures. It'd be more readable rather than before. - calculates TX duration more accurately for urtw(4) devices. - style(9)
* | Remove a circular dependency on routingdougb2009-10-172-2/+2
| | | | | | | | | | Submitted by: Mykola Dzham <freebsd@levsha.org.ua> Approved by: hrs
* | Check error of dlfunc(3).ume2009-10-171-0/+11
| | | | | | | | MFC after: 3 days
* | Print backspaces after echoing an EOF.ed2009-10-171-3/+9
| | | | | | | | | | | | | | | | | | | | Applications like shells expect EOF to give no graphical output, while our implementation prints ^D by default (tunable with stty echoctl). Make the new implementation behave like the old TTY code. Print two backspaces afterwards. Reported by: koitsu MFC after: 1 month
* | Add myself.neel2009-10-171-0/+2
| | | | | | | | Approved by: imp (mentor)
* | - If lstat()/stat() fails with an error other than ENOENT, don't ignorejh2009-10-161-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the error and assume that the file doesn't exist. Touch could return success with -c option even if the file existed and time was not set. - If the first utimes_f() call fails with -A option, give up and don't continue trying to set times to current time. [1] - Set exit status to 1 when setting of timestamps fails for a directory or symbolic link even though lstat()/stat() would succeed. - Don't print bogus error message when rw() succeeds. PR: bin/112213 Submitted by: jilles [1] Reviewed by: jilles Approved by: trasz (mentor)
OpenPOWER on IntegriCloud