| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
in the loopback test in the probe. The delay was too short for consoles
at speeds lower than about 3200 bps. This shouldn't have caused many
problems, since such low speeds are rare and the probe is forced to
succeed for consoles.
Notes:
svn path=/head/; revision=120468
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120467
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120466
|
| |
|
|
|
|
|
|
|
| |
than a dev_t.
All of the dev_t's passed were bogusly created with makedev()
Notes:
svn path=/head/; revision=120465
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120464
|
| |
|
|
|
|
|
|
| |
jails so code in there can take advantage of hardware assisted
crypto.
Notes:
svn path=/head/; revision=120463
|
| |
|
|
|
|
|
| |
flag set.
Notes:
svn path=/head/; revision=120462
|
| |
|
|
|
|
|
| |
our already cached copy.
Notes:
svn path=/head/; revision=120461
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120460
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120459
|
| |
|
|
|
|
|
|
|
| |
Initialize cn_name
Use cn_unit for internal housekeeping.
Forget about cn_dev.
Notes:
svn path=/head/; revision=120457
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
consdev structure.
If the consdev name is not set and we have a cn_dev, set the name
from there. Try to issue a printf about this, even though it may
not have a place to go.
Modify the sysctl related code to pick up the name from the consdev
instead.
Notes:
svn path=/head/; revision=120456
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the actual use of the cn_dev field is merely to get the name,
and most of the actual initializations are bogusly using makedev()
because the probe/attach has not been completed.
Instead we will migrate console drivers to fill in the name and if
the driver needs it: the unit number, thereby avoiding the bogus
calls to makedev().
Notes:
svn path=/head/; revision=120455
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120454
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120453
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and the Z8530 drivers used the I/O address as a quick and dirty way to
determine which channel they operated on, but formalizing this by
introducing iobase is not a solution. How for example would a driver
know which channel it controls for a multi-channel UART that only has a
single I/O range?
Instead, add an explicit field, called chan, to struct uart_bas that
holds the channel within a device, or 0 otherwise. The chan field is
initialized both by the system device probing (i.e. a system console)
or it is passed down to uart_bus_probe() by any of the bus front-ends.
As such, it impacts all platforms and bus drivers and makes it a rather
large commit.
Remove the use of iobase in uart_cpu_eqres() for pc98. It is expected
that platforms have the capability to compare tag and handle pairs for
equality; as to determine whether two pairs access the same device or
not. The use of iobase for pc98 makes it impossible to formalize this
and turn it into a real newbus function later. This commit reverts
uart_cpu_eqres() for pc98 to an unimplemented function. It has to be
reimplemented using only the tag and handle fields in struct uart_bas.
Rewrite the SAB82532 and Z8530 drivers to use the chan field in struct
uart_bas. Remove the IS_CHANNEL_A and IS_CHANNEL_B macros. We don't
need to abstract anything anymore.
Discussed with: nyan
Tested on: i386, ia64, sparc64
Notes:
svn path=/head/; revision=120452
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120451
|
| |
|
|
|
|
|
| |
update man page to reflect iasl(8) import.
Notes:
svn path=/head/; revision=120450
|
| |
|
|
|
|
|
| |
Allocate the page table directory page as "no object" pages.
Notes:
svn path=/head/; revision=120449
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(fstp stores a mem32 value, fstpl stores a mem64 value)
This fixes ghostscript for 'make release' on amd64. Ghostscript for some
reason thinks it is a good idea to use -fno-builtin, which means it is
vulnerable to bugs in libc that are normally hidden by the builtin gcc
functions. Oops.
Notes:
svn path=/head/; revision=120448
|
| |
|
|
|
|
|
| |
o give proper attribution to Atsushi Onoe
Notes:
svn path=/head/; revision=120447
|
| |
|
|
|
|
|
|
| |
Noticed by: bde
Pointy hat to: bms
Notes:
svn path=/head/; revision=120446
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
aic7xxx_pci.c:
When performing our register test, be careful
to avoid resetting the chip when pausing the
controller. The test reads the HCNTRL register
and then writes it back with the PAUSE bit
explicitly set. If the last write to the controller
before our probe is to reset it, the CHIPRST
bit will still be set, so we must mask it off
before the PAUSE operation. On some chip versions,
we cannot access registers for a few 100us after
a reset, so this inadvertant reset was causing PCI
errors to occur on the read to check for paused
status.
Submitted by: gibbs
Notes:
svn path=/head/; revision=120445
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120443
|
| |
|
|
|
|
|
|
| |
Submitted by: Max Laier <max@love2party.net>
Obtained from: NetBSD (with changes)
Notes:
svn path=/head/; revision=120442
|
| |
|
|
|
|
|
|
|
|
| |
Include documentation of alc's new pmap_extract_and_hold() function.
Reviewed by: hmp
Approved by: jake (mentor)
Notes:
svn path=/head/; revision=120441
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120438
|
| |
|
|
|
|
|
| |
be defined in net/pfil.h
Notes:
svn path=/head/; revision=120437
|
| |
|
|
|
|
|
| |
Reviewed by: deischen
Notes:
svn path=/head/; revision=120436
|
| |
|
|
|
|
|
| |
Obtained from: KAME
Notes:
svn path=/head/; revision=120435
|
| |
|
|
|
|
|
| |
Obtained from: KAME
Notes:
svn path=/head/; revision=120434
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120432
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120431
|
| |
|
|
|
|
|
|
|
| |
e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko
Reviewed by: grog
Notes:
svn path=/head/; revision=120430
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120429
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- Fill in autosense data.
- Add compatibility for RELENG_4.
* scsi_target.c
- Raw device support
- Set correct value in c_descr->offset for CAM_DIR_NONE case.
- Support for CTIO abort.
Notes:
svn path=/head/; revision=120428
|
| |
|
|
|
|
|
|
|
| |
Reimplement pmap_release() such that it uses the page table rather than
the pte object to locate the page table directory pages. (Temporarily,
retain an assertion on the emptiness of the pte object.)
Notes:
svn path=/head/; revision=120427
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120426
|
| |
|
|
|
|
|
|
| |
- Use kmem_alloc_nofault() rather than kmem_alloc_pageable() to allocate
KVA space for the page directory page(s). Submitted by: tegge
Notes:
svn path=/head/; revision=120424
|
| |
|
|
|
|
|
| |
support can clip it to sensible values.
Notes:
svn path=/head/; revision=120423
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
systems where the data/stack/etc limits are too big for a 32 bit process.
Move the 5 or so identical instances of ELF_RTLD_ADDR() into imgact_elf.c.
Supply an ia32_fixlimits function. Export the clip/default values to
sysctl under the compat.ia32 heirarchy.
Have mmap(0, ...) respect the current p->p_limits[RLIMIT_DATA].rlim_max
value rather than the sysctl tweakable variable. This allows mmap to
place mappings at sensible locations when limits have been reduced.
Have the imgact_elf.c ld-elf.so.1 placement algorithm use the same
method as mmap(0, ...) now does.
Note that we cannot remove all references to the sysctl tweakable
maxdsiz etc variables because /etc/login.conf specifies a datasize
of 'unlimited'. And that causes exec etc to fail since it can no
longer find space to mmap things.
Notes:
svn path=/head/; revision=120422
|
| |
|
|
|
|
|
|
|
| |
Instead, use EXCA_MEMREG_WIN_SHIFT which is the amount we shift the
bus address by to write into upper memory (eg above 24MB). Use the
latter in this case.
Notes:
svn path=/head/; revision=120421
|
| |
|
|
|
|
|
|
| |
Noticed by: Mike Hogsett
Reviewed by: ru
Notes:
svn path=/head/; revision=120418
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120413
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120411
|
| |
|
|
|
|
|
| |
Reviewed by: scottl
Notes:
svn path=/head/; revision=120410
|
| |
|
|
|
|
|
| |
Approved by: jhb
Notes:
svn path=/head/; revision=120407
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120406
|
| |
|
|
| |
Notes:
svn path=/head/; revision=120405
|
| |
|
|
|
|
|
|
|
|
|
| |
be gone in FreeBSD 6, so put BURN_BRIDGES around it. The TRB also
felt that if something better comes along sooner, it can be used to
replace this code.
Delayed by: BSDcon and subsequent disk crash.
Notes:
svn path=/head/; revision=120404
|