| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
not define.
Obtained From: NetBSD (rev 1.18; sjg)
Notes:
svn path=/head/; revision=119818
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove extraneous .Pp in SYNOPSIS
* Remove hard sentence break
* Add the AUTHORS section
Notes:
svn path=/head/; revision=119817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of what uart(4) is and/or is not see the initial commit log of one
of the files in sys/dev/uart (or see share/man/man4/uart.4).
Note that currently pc98 shares the MD file with i386. This needs
to change when pc98 support is fleshed-out to properly support the
various UARTs. A good example is sparc64 in this respect.
We build uart(4) as a module on all platforms. This may break
the ppc port. That depends on whether they do actually build
modules.
To use uart(4) on alpha, one must use the NO_SIO option.
Notes:
svn path=/head/; revision=119816
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It improves on sio(4) in the following areas:
o Fully newbusified to allow for memory mapped I/O. This is a must
for ia64 and sparc64,
o Machine dependent code to take full advantage of machine and firm-
ware specific ways to define serial consoles and/or debug ports.
o Hardware abstraction layer to allow the driver to be used with
various UARTs, such as the well-known ns8250 family of UARTs, the
Siemens sab82532 or the Zilog Z8530. This is especially important
for pc98 and sparc64 where it's common to have different UARTs,
o The notion of system devices to unkludge low-level consoles and
remote gdb ports and provides the mechanics necessary to support
the keyboard on sparc64 (which is UART based).
o The notion of a kernel interface so that a UART can be tied to
something other than the well-known TTY interface. This is needed
on sparc64 to present the user with a device and ioctl handling
suitable for a keyboard, but also allows us to cleanly hide an
UART when used as a debug port.
Following is a list of features and bugs/flaws specific to the ns8250
family of UARTs as compared to their support in sio(4):
o The uart(4) driver determines the FIFO size and automaticly takes
advantages of larger FIFOs and/or additional features. Note that
since I don't have sufficient access to 16[679]5x UARTs, hardware
flow control has not been enabled. This is almost trivial to do,
provided one can test. The downside of this is that broken UARTs
are more likely to not work correctly with uart(4). The need for
tunables or knobs may be large enough to warrant their creation.
o The uart(4) driver does not share the same bumpy history as sio(4)
and will therefore not provide the necessary hooks, tweaks, quirks
or work-arounds to deal with once common hardware. To that extend,
uart(4) supports a subset of the UARTs that sio(4) supports. The
question before us is whether the subset is sufficient for current
hardware.
o There is no support for multiport UARTs in uart(4). The decision
behind this is that uart(4) deals with one EIA RS232-C interface.
Packaging of multiple interfaces in a single chip or on a single
expansion board is beyond the scope of uart(4) and is now mostly
left for puc(4) to deal with. Lack of hardware made it impossible
to actually implement such a dependency other than is present for
the dual channel SAB82532 and Z8350 SCCs.
The current list of missing features is:
o No configuration capabilities. A set of tunables and sysctls is
being worked out. There are likely not going to be any or much
compile-time knobs. Such configuration does not fit well with
current hardware.
o No support for the PPS API. This is partly dependent on the
ability to configure uart(4) and partly dependent on having
sufficient information to implement it properly.
As usual, the manpage is present but lacks the attention the
software has gotten.
Notes:
svn path=/head/; revision=119815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Introduce PUC_PORT_TYPE_UART so that we can attach to uart(4),
o Introduce port sub-types (eg PUC_PORT_UART_NS8250, PUC_PORT_UART_Z8530)
to handle different hardware and determine resource sizes.
o Introduce two new IVARs: PUC_IVAR_SUBTYPE and PUC_IVAR_REGSHFT. Both
are used by uart(4) to get sufficient information to talk to the HW.
o Introduce PUC_FLAGS_ALTRES to tell puc(4) to try memory mapped I/O
if I/O port space cannot be allocated, or vice versa.
o Have ports of type PUC_PORT_TYPE_COM attach to uart(1) if attaching
to sio(4) fails (due to not having the sio driver).
o Put struct puc_device_description in struct puc_softc instead of
having a pointer to a device description in the softc. This allows
us to create device descriptions on the fly without having to use
malloc() or otherwise have them staticly defined.
o Move puc_find_description() from puc.c to puc_pci.c as it's specific
to PCI.
o Add EBUS and SBUS frontends for use on sparc64. Note that the P in
puc stands for PCI, so we kinda mess things up here. It's too soon
to worry about it though. We'll know what to do about it in time.
NOTE: This commit changes the behaviour of puc(4) to not quieten the
device probe and attach for child devices. The uart(4) driver provides
additional device description that is valuable to have.
Notes:
svn path=/head/; revision=119814
|
|
|
|
|
|
|
| |
Submitted by: Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
Notes:
svn path=/head/; revision=119813
|
|
|
|
|
|
|
| |
Submitted by: Tor Egge <Tor.Egge@cvsup.no.freebsd.org>
Notes:
svn path=/head/; revision=119812
|
|
|
|
|
|
|
| |
unnecessary white space from pipe_destroy_write_buffer().
Notes:
svn path=/head/; revision=119811
|
|
|
|
| |
Notes:
svn path=/head/; revision=119810
|
|
|
|
|
|
|
| |
Found by: Juergen Buchmueller <pullmoll@stop1984.com>
Notes:
svn path=/head/; revision=119809
|
|
|
|
|
|
|
|
| |
PR: docs/56426
Submitted by: FUJISHIMA Satsuki <sf@FreeBSD.ORG>
Notes:
svn path=/head/; revision=119808
|
|
|
|
|
|
|
| |
2.1, ISC DHCP client 3.0.1rc12.
Notes:
svn path=/head/; revision=119806
|
|
|
|
| |
Notes:
svn path=/head/; revision=119805
|
|
|
|
|
|
|
|
| |
PR: 55558
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Notes:
svn path=/head/; revision=119803
|
|
|
|
| |
Notes:
svn path=/head/; revision=119802
|
|
|
|
|
|
|
|
| |
PR: 55605
Submitted by: Bob Bishop <rb@gid.co.uk>
Notes:
svn path=/head/; revision=119801
|
|
|
|
|
|
|
|
| |
manpage catchup updates. The nearby axe(4) and rue(4) lists appear to
be in sync with the manpages so trim those too.
Notes:
svn path=/head/; revision=119800
|
|
|
|
|
|
|
| |
Submitted by: Stefan Farfeleder
Notes:
svn path=/head/; revision=119799
|
|
|
|
| |
Notes:
svn path=/head/; revision=119798
|
|
|
|
| |
Notes:
svn path=/head/; revision=119797
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we actually use. Originally, the code reserved 0x8000 to 0x80ff inclusive
which on my hardware conflicts with the acpi timer. This broke the amdpm
driver since it was actually given ports 0x800c to 0x810b (which should
not have happened, IMHO).
This also allows us to considerably simplify the handling of the nForce
smb driver, removing the need for a separate nfpm driver. With this, SMB
accesses appear to work on my Tyan Tiger MP board. Your mileage may vary.
In particular, the nForce changes have not been tested.
Notes:
svn path=/head/; revision=119796
|
|
|
|
| |
Notes:
svn path=/head/; revision=119795
|
|
|
|
|
|
|
|
|
|
|
| |
Removed three spurious tabs on lines by themselves.
PR: bin/56492
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
MFC after: 6 weeks
Notes:
svn path=/head/; revision=119794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we can switch to 64M-sized identity mappings and not having to map the
first 64M. This is especially important because the first 1M contains
the VGA frame buffer and is otherwise a legacy memory range. Best to
make as little assumptions about it as possible. Switching to 64M-sized
mappings is important to avoid creating overlapping translations, which
have the side-effect of triggering machine checks. This is currently
what's preventing us to boot on an Intel Tiger 4.
Note that since we currently use 256M-sized identity mappings, we
would reduce the size of the mappings and consequently increase the
TLB pressure. The performance implications of this are minimal if
measurable at all because identify mappings are not our primary
means for memory management.
Also note that there's no guarantee that physical memory exists at
64M. Then again, we didn't had the guarantee when we were loading at
5M. We'll deal with this when it's a problem.
Discussed with: arun@
Notes:
svn path=/head/; revision=119793
|
|
|
|
|
|
|
|
|
|
|
| |
Special thanks to Pavlin Radoslavov <pavlin@icir.org> for testing and
fixing numerous problems.
Sponsored by: FreeBSD Foundation
Reviewed by: Pavlin Radoslavov <pavlin@icir.org>
Notes:
svn path=/head/; revision=119792
|
|
|
|
| |
Notes:
svn path=/head/; revision=119791
|
|
|
|
|
|
|
| |
pthread_rwlock_timedrwlock.
Notes:
svn path=/head/; revision=119790
|
|
|
|
|
|
|
|
|
| |
making it useful for dispatching swi tasks from fast interrupt handlers.
Sponsered by: FreeBSD Foundation
Notes:
svn path=/head/; revision=119789
|
|
|
|
|
|
|
|
|
| |
and/or INTR_FAST. This belongs elsehwere and perhaps under bootverbose;
I'm committing it for now as it's uesful to know which drivers have
been converted and which have not.
Notes:
svn path=/head/; revision=119788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we return to kernel or userland. This triggered a panic in a KSE
application when TDF_USTATCLOCK was set in the case userland was
interrupted, but we never called ast() on our way out. As such,
we called ast() at some other time. Unfortunately, TDF_USTATCLOCK
handling assumes running in the interrupt thread. This was not
the case anymore.
To avoid making the same mistake later, interrupt() now returns
to its caller whether we interrupted userland or not. This avoids
that we have to duplicate the check in assembly, where it's bound
to fall off the scope. Now we simply check the return value and
call ast() if appropriate.
Run into this: davidxu
Notes:
svn path=/head/; revision=119787
|
|
|
|
|
|
|
| |
Sponsored by: FreeBSD Foundation
Notes:
svn path=/head/; revision=119786
|
|
|
|
|
|
|
| |
Sponsored by: FreeBSD Foundation
Notes:
svn path=/head/; revision=119785
|
|
|
|
|
|
|
|
|
| |
o add netbsd logic to convert rssi to device-independent values
Obtained from: NetBSD (rssi conversion code)
Notes:
svn path=/head/; revision=119784
|
|
|
|
|
|
|
| |
we no longer need the debugging code to dump packets.
Notes:
svn path=/head/; revision=119783
|
|
|
|
|
|
|
|
|
|
|
| |
type belongs in net/bpf.h but we keep it here for the moment.
P:
Submittep by:
Obtained from: David Young <dyoung@pobox.com>
Notes:
svn path=/head/; revision=119782
|
|
|
|
| |
Notes:
svn path=/head/; revision=119781
|
|
|
|
|
|
|
|
|
|
|
| |
to protect the vlan state in each ifnet (e.g. vlan count). The latter is
probably better handled through an ifnet-centric means but since changes
are infrequent shouldn't matter for now.
Sponsored by: FreeBSD Foundation
Notes:
svn path=/head/; revision=119780
|
|
|
|
|
|
|
|
| |
the right size. I'm planning on *possibly* stealing the two 'spare'
variables on either side for botched alignment correction.
Notes:
svn path=/head/; revision=119779
|
|
|
|
|
|
|
|
| |
jumping to .cerror. This means .cerror has to be present in the
same module with its consumers, or bad things will happen.
Notes:
svn path=/head/; revision=119777
|
|
|
|
|
|
|
|
|
| |
by ldef.h, rather than relying on GCC-specific pollution from <ctype.h>.
Noticed by: Stefan Farfeleder
Notes:
svn path=/head/; revision=119776
|
|
|
|
|
|
|
|
|
|
|
|
| |
no peer address information is desired.
PR: 56044
Submitted by: Felix Opatz <felix@zotteljedi.de> and
Bernd Luevelsmeyer <bdluevel@heitec.net>
MFC after: 1 month
Notes:
svn path=/head/; revision=119775
|
|
|
|
|
|
|
|
|
| |
PR: 55925
Submitted by: Michael L. Squires <mikes@siralan.org>
MFC after: 1 month
Notes:
svn path=/head/; revision=119774
|
|
|
|
| |
Notes:
svn path=/head/; revision=119773
|
|
|
|
|
|
|
| |
did.
Notes:
svn path=/head/; revision=119772
|
|
|
|
|
|
|
|
|
| |
PR: 55645
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
MFC after: 1 month
Notes:
svn path=/head/; revision=119771
|
|
|
|
|
|
|
|
|
| |
PR: 55643
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
MFC after: 1 month
Notes:
svn path=/head/; revision=119770
|
|
|
|
|
|
|
|
| |
PR: 55641
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Notes:
svn path=/head/; revision=119769
|
|
|
|
|
|
|
|
| |
PR: 55562
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Notes:
svn path=/head/; revision=119768
|
|
|
|
|
|
|
|
| |
PR: docs/56488
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>
Notes:
svn path=/head/; revision=119767
|
|
|
|
| |
Notes:
svn path=/head/; revision=119766
|