| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Notes:
svn path=/head/; revision=111821
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=111815
|
| |
|
|
|
|
|
| |
Allow people set set flags on pci based SIO ports.
Notes:
svn path=/head/; revision=111620
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111616
|
| |
|
|
|
|
|
| |
CTS instead of the DCD pin.
Notes:
svn path=/head/; revision=111613
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=111194
|
| |
|
|
|
|
|
| |
will not have a dev_t.
Notes:
svn path=/head/; revision=111017
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=111014
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111012
|
| |
|
|
| |
Notes:
svn path=/head/; revision=111002
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110249
|
| |
|
|
| |
Notes:
svn path=/head/; revision=110155
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=108165
|
| |
|
|
| |
Notes:
svn path=/head/; revision=106590
|
| |
|
|
| |
Notes:
svn path=/head/; revision=104933
|
| |
|
|
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
Notes:
svn path=/head/; revision=104094
|
| |
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=104067
|
| |
|
|
| |
Notes:
svn path=/head/; revision=103881
|
| |
|
|
|
|
|
| |
Approved by: bde
Notes:
svn path=/head/; revision=103795
|
| |
|
|
| |
Notes:
svn path=/head/; revision=102892
|
| |
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=102542
|
| |
|
|
|
|
|
| |
Pointy hat to: obrien
Notes:
svn path=/head/; revision=100179
|
| |
|
|
|
|
|
|
|
|
| |
card.
Submitted by: Oleg Antoshin <oleh@at2000.kiev.ua>
MFC after: 3 days
Notes:
svn path=/head/; revision=99739
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99013
|
| |
|
|
|
|
|
|
|
| |
alphas.
Submitted by: Bernd Walter <ticso@cicely5.cicely.de>
Notes:
svn path=/head/; revision=98691
|
| |
|
|
| |
Notes:
svn path=/head/; revision=98619
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=98401
|
| |
|
|
|
|
|
| |
Submitted by: tmm
Notes:
svn path=/head/; revision=98372
|
| |
|
|
|
|
|
|
| |
PR: 35813
Submitted by: Chris Knight <chris@aims.com.au>
Notes:
svn path=/head/; revision=96105
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95523
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=93818
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
Notes:
svn path=/head/; revision=93593
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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
Notes:
svn path=/head/; revision=93470
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
Notes:
svn path=/head/; revision=93466
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93126
|
| |
|
|
|
|
|
|
|
| |
not removing tabs before "__P((", and not outdenting continuation lines
to preserve non-KNF lining up of code with parentheses. Switch to KNF
formatting and/or rewrap the whole prototype in some cases.
Notes:
svn path=/head/; revision=93010
|
| |
|
|
|
|
|
| |
Sponsored by: The Weather Channel
Notes:
svn path=/head/; revision=92822
|
| |
|
|
| |
Notes:
svn path=/head/; revision=92739
|
| |
|
|
|
|
|
|
|
|
|
| |
to put the device into 8 bit mode a second time. This appears to have
no ill effects on other devices, and appears to be necessary for the
xircom modem.
Submitted by: gwk@sgi.com, many others that found his patch in the archives.
Notes:
svn path=/head/; revision=92401
|
| |
|
|
| |
Notes:
svn path=/head/; revision=91875
|
| |
|
|
|
|
|
| |
controller.
Notes:
svn path=/head/; revision=91589
|
| |
|
|
|
|
|
| |
comdefaultrate, comment out the support for machdep.conspeed for now.
Notes:
svn path=/head/; revision=91280
|
| |
|
|
|
|
|
| |
# I'm not sure where to document this.
Notes:
svn path=/head/; revision=91276
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the structure definitions come from NetBSD to make it easier to share card
definitions. The driver only acts as a shim between the pci bus and the
sio driver. Later pci parallel ports could also be supported through this
driver. Support for most single and multiport pci serial cards should be
as simple as adding its definition to pucdata.c
Tested with the following pci cards:
Moxa Industio CP-114, 4 port RS-232,RS-422/485
Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports
Netmos NM9835 PCI-2S-550, 2 port RS-232
Notes:
svn path=/head/; revision=90731
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90010
|
| |
|
|
| |
Notes:
svn path=/head/; revision=90009
|
| |
|
|
|
|
|
|
|
|
| |
standard one of 1.8432MHz. This will be used by the puc (PCI
"universal" communication card) device driver.
Reviewed by: bde
Notes:
svn path=/head/; revision=89986
|
| |
|
|
|
|
|
| |
Pointed out by: imp
Notes:
svn path=/head/; revision=89470
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
previous commit, it should always print due to lack of {} around the
second line in the if statement. The message should likely say
something more like "There's no hardware responding at this IRQ.
Device not present (or disbaled)," but that is too long. We generally
don't give elementary advise in device driver messages anyway. Be
that as it may, the problem with it printing all the time should be
corrected.
Notes:
svn path=/head/; revision=89463
|
| |
|
|
|
|
|
|
|
|
|
| |
a port is either disabled or not responding.
PR: 33963
Submitted by: Kevin Oberman <oberman@es.net>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=89447
|