| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
|
|
|
|
|
|
|
|
|
|
|
|
| |
disabled.
- Change the apm driver to match the acpi driver's behavior by checking to
see if the device is disabled in the identify routine instead of in the
probe routine. This way if the device is disabled it is never created.
Note that a few places (ips(4), Alpha SMP) used "disable" instead of
"disabled" for their hint names, and these hints must be changed to
"disabled". If this is a big problem, resource_disabled() can always be
changed to honor both names.
|
|
|
|
|
| |
it is 0x0. Cardbus-based sio/modem cards can now be ejected without
panic'ing.
|
|
|
|
| |
Found by: FlexeLint
|
|
|
|
|
|
|
| |
PR: kern/36692
Submitted by: Theo van Klaveren <t.vanklaveren@student.utwente.nl>
Approved by: re (murray)
MFC After: 3 days
|
| |
|
|
|
|
|
| |
a 32 bit int which can never be > ULONG_MAX / 8. Its an 'always true'
warning.
|
|
|
|
|
| |
making some local variables static. In a couple of cases, this means
removing an unused variable.
|
|
|
|
|
|
|
| |
Change all in-tree consumers to include <sys/limits.h>
Discussed on: standards@
Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
|
|
|
|
| |
Requested and reviewed by: bde
MFC after: 2 weeks
|
|
|
|
|
| |
Submitted by: bde
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
| |
now unnecessary hack from the previous commit;
- Add support for Interrupt Latch Register (ILR) into puc(4). So far only
ILRs compatible with specifications from Digi International are supported.
Support for other types of ILRs could be easily added later;
- Correct clock frequency for IC Book Labs Dreadnought x16 Lite board;
- Enable ILR detection/usage for IC Book Labs Dreadnought x16 boards.
Sponsored by: IC Book Labs
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
this card is based on 16750 UART, modify sio(4) a bit to ignore 16750-specific
7th bit of MCR when probing card. This allows card to be detected and attached
as 16550A-compatible device. More work needs to be done in order to enable
nice 16750-specific features such as larger fifo buffer and higher speeds.
Sponsored by: IC Book Labs
MFC after: 2 weeks
|
|
|
|
|
|
| |
Tablet PC Acer Travel Mate C100.
Sponsored by: ACER ,Alpha Omega, MYCOM , Synnex
|
|
|
|
| |
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
branches:
Initialize struct cdevsw using C99 sparse initializtion and remove
all initializations to default values.
This patch is automatically generated and has been tested by compiling
LINT with all the fields in struct cdevsw in reverse order on alpha,
sparc64 and i386.
Approved by: re(scottl)
|
|
|
|
| |
Allow people set set flags on pci based SIO ports.
|
| |
|
|
|
|
| |
CTS instead of the DCD pin.
|
|
|
|
|
|
|
|
|
| |
dev_t to the method functions.
The dev_t can still be found at struct consdev *->cn_dev.
Add a void *cn_arg element to struct consdev which the drivers can use
for retrieving their softc.
|
|
|
|
| |
will not have a dev_t.
|
|
|
|
|
|
|
|
|
|
|
| |
Wearing said pointy hat, correct the oversight and hope nobody
notices.
# this should make xircom modems happier to detach once other bugs with
# the cardbus layer are fixed.
Noticed by: scottl
Conical Hat to: imp
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
identify themselves as serial cards that it would be desirable to
attach a different driver than sio to. Since we are claiming all
serial cards, this is not possible. Instead, return -100 to indicate
that we're willing to take the card, but still allow other drivers to
attach.
Pointed out by: Maksim Yevmenkin
|
| |
|
| |
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
|
|
|
|
|
|
|
| |
The advanced stage of computer assisted hardware design and
verification is aptly illustrated by the fact that this is necessary
because only the first ports in a single-chip, dual-port async
PC-Card product lacks this register.
|
| |
|
|
|
|
| |
Approved by: bde
|
| |
|
|
|
|
|
| |
This at least prevents the total hang of the machine when I open a
PCCARD sio device on -current, but it does not solve the problem.
|
|
|
|
| |
Pointy hat to: obrien
|
|
|
|
|
|
|
| |
card.
Submitted by: Oleg Antoshin <oleh@at2000.kiev.ua>
MFC after: 3 days
|
| |
|
|
|
|
|
|
| |
alphas.
Submitted by: Bernd Walter <ticso@cicely5.cicely.de>
|
| |
|
|
|
|
|
|
| |
This facilitates the use in circumstances where you are using a serial
console as well. GDB doesn't support anything higher than 9600 baud (19k2
if you are lucky), but the console does.
|
|
|
|
| |
Submitted by: tmm
|
|
|
|
|
| |
PR: 35813
Submitted by: Chris Knight <chris@aims.com.au>
|
| |
|
|
|
|
|
|
|
| |
most cases NULL is passed, but in some cases such as network driver locks
(which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used.
Tested on: i386, alpha, sparc64
|
|
|
|
|
|
|
|
|
|
|
|
| |
general cleanup of the API. The entire API now consists of two functions
similar to the pre-KSE API. The suser() function takes a thread pointer
as its only argument. The td_ucred member of this thread must be valid
so the only valid thread pointers are curthread and a few kernel threads
such as thread0. The suser_cred() function takes a pointer to a struct
ucred as its first argument and an integer flag as its second argument.
The flag is currently only used for the PRISON_ROOT flag.
Discussed on: smp@
|
|
|
|
|
|
|
|
|
|
|
| |
(65536 * 32 - 1), but MAKEDEV only supports up to (32 * 32 -1). Device
names use the unit number in base 32 for all "digits".
This required fixing an old bug in MAKEDEV:ttyminor(). Its arg was the
global $unit instead of $1.
Reminded by: Valentin K. Ponomarenko <valka@krog.ukrtel.net>
MFC-after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
measured accurately for periodic interrupts provided the interrupts
don't need to be serviced very quickly to keep their period almost
constant. sio output interrupts have this property (interrupt service
can be delayed for up to 1 character time without the period changing).
This is non-optional and undocumented so that it can be added and
removed easily. It has no significant effect unless it is enabled by
hacking on a variable using a debugger. Hardclock and statclock interrupts
would work even better for this, at least on i386's, provided their
interrupt handlers are fast (as they are in -current but not in -stable
or in my version of -current).
|
| |
|