| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
computer 'suspended', although the slot was powered off. There was a
race where the slow could be powered off *after* it was assigned a
new driver when the computer was 'resumed'.
Noticed by: Brian Somers <brian@Awfulhak.org>
Notes:
svn path=/head/; revision=39631
|
|
|
|
|
|
|
|
|
| |
My laptop (a CTX Cybernote) needs this. It claims to have a
PC-Card VLSI 82C146 (5 mem & 2 I/O windows)
Notes:
svn path=/head/; revision=38953
|
|
|
|
|
|
|
|
| |
o update skel.c to lots of stuff that has happened since the last time
it was updated.
Notes:
svn path=/head/; revision=38552
|
|
|
|
|
|
|
| |
integers. Don't forget to cast to (void *) as well.
Notes:
svn path=/head/; revision=38354
|
|
|
|
|
|
|
|
|
| |
`void *' arg. Fixed or hid most of the resulting type mismatches.
Handlers can now be updated locally (except for reworking their
global declarations in isa_device.h).
Notes:
svn path=/head/; revision=37050
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
Notes:
svn path=/head/; revision=36735
|
|
|
|
| |
Notes:
svn path=/head/; revision=35748
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
was really removed, or simply 'faked' by a suspend/resume. Keep track
of both current and previous state, and send that information to the
userland programs.
[
XXX - This breaks binary compatability with older pccardd programs, but
they don't work reliably. :(
]
Notes:
svn path=/head/; revision=35345
|
|
|
|
|
|
|
|
|
| |
the patch I just submitted.
Noticed by: phk
Notes:
svn path=/head/; revision=35109
|
|
|
|
|
|
|
|
|
|
|
| |
correctly unregister the interrupt from the system.
[ My fix is much simpler than the one provided in the PR ]
PR: 6249
Notes:
svn path=/head/; revision=35101
|
|
|
|
| |
Notes:
svn path=/head/; revision=33822
|
|
|
|
|
|
|
|
|
|
|
| |
This introduce an xxxFS_BOOT for each of the rootable filesystems.
(Presently not required, but encouraged to allow a smooth move of option *FS
to opt_dontuse.h later.)
LFS is temporarily disabled, and will be re-enabled tomorrow.
Notes:
svn path=/head/; revision=32726
|
|
|
|
| |
Notes:
svn path=/head/; revision=32186
|
|
|
|
|
|
|
|
|
| |
the card.h that config builds.
[ Repository renaming done in the background to save the card.h history ]
Notes:
svn path=/head/; revision=31289
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(update_intr_masks might not need to be done in 3.X, but the new generic
interrupt code is incomplete w/regard to support for the PCCARD code, so
to avoid any potential problems use it. It can't hurt).
- Correctly register pcic_imask with the system interrupt code.
- Call update_intr_masks() so that pcic_imask modifications that occur
when card interrupts are registered get updated in the system
interrupt code.
Notes:
svn path=/head/; revision=31179
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
removed. Add a new state 'suspend' so we 'fake' insertion events at
resume time for the cards that have been suspended.
[
The code still works if you remove the card during suspend, switch the
card during suspend, or combinations of both.
]
Reviewed by: frf@xocolatl.com
Notes:
svn path=/head/; revision=30815
|
|
|
|
|
|
|
|
|
|
|
| |
use a Linker Set. Note, if a driver is loaded as an LKM if will have
to use the function call, but since none of the existing drivers
are loadable, this made things cleaner and boot messages nicer.
Obtained from: PAO-970616
Notes:
svn path=/head/; revision=30747
|
|
|
|
|
|
|
|
|
|
| |
around with different noises for the different events and not have it
affect other files.
Inspired by: PAO
Notes:
svn path=/head/; revision=30723
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Kill individual drivers 'suspend' routines, since there's no simple/safe
way to suspend/resume a card w/out going through the complete probe
at initialization time.
* Default to using the apm_pccard_resume sysctl code, which basically
pretends the card was removed, and then re-inserted. Suspend/resume
is now 'emulated' with a fake insert/removal. (Hence we no longer
need the driver-specific suspend routines.)
Notes:
svn path=/head/; revision=30721
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
follow.
* Rename/reorder all of the pccard structures, change many of the member
names to be descriptive, and follow more closely other 'bus' drivers
naming schemes.
* Rename a bunch of parameter and local variable names to be more
consistant in the code.
* Renamed the PCCARD 'crd' device to be the 'card' device
* KNF and make the code consistant where it was obvious.
* ifdef'd out some unused code
Notes:
svn path=/head/; revision=30720
|
|
|
|
|
|
|
| |
created in the new slot controller structure.
Notes:
svn path=/head/; revision=30717
|
|
|
|
|
|
|
|
|
|
|
| |
own definition of ISA_HOLE_START. We shouldn't need to include
bus/processor specific code in here, but it is required. At least by
doing it this way it becomes more obvious where the bogusness is.
Obtained from: email with bde
Notes:
svn path=/head/; revision=30690
|
|
|
|
|
|
|
|
|
|
|
|
| |
but it has too much baggage).
- create a new routine 'unregister_device_interrupt', which is now used
instead of having two routines with the same code snippet.
- Minor cleanups and commenting.
[ No functional changes, just moving things around ]
Notes:
svn path=/head/; revision=30679
|
|
|
|
|
|
|
| |
shouldn't make any difference, but did on a couple of test systems.
Notes:
svn path=/head/; revision=30675
|
|
|
|
| |
Notes:
svn path=/head/; revision=30664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
slots. Otherwise, we try to suspend drivers who have been disabled
already.
[
The only reason the drivers are still on the list is because of race
conditions where the card is removed while the driver is in use. We
leave the drivers on the slot list (leaving all of their structures in
place in case a process is using it) but set it's state to empty so that
further uses by the pccard code know not to expect active cards.
]
Notes:
svn path=/head/; revision=30660
|
|
|
|
|
|
|
|
|
|
| |
from the 'lower' interrupts to the 'higher' interrupts.) We need to
find a way to set the interrupt for the controller in the config file.
Determined by: handy@sag.space.lockheed.com
Notes:
svn path=/head/; revision=30659
|
|
|
|
|
|
|
| |
modified, and was expected to have the initialized value.
Notes:
svn path=/head/; revision=30652
|
|
|
|
|
|
|
|
|
|
| |
sysctl option 'fakes' like a card was removed and inserted when the
machine is brought up again from a suspend. It is disabled by default,
and the old code is used.
Obtained from: PAO
Notes:
svn path=/head/; revision=30157
|
|
|
|
| |
Notes:
svn path=/head/; revision=30152
|
|
|
|
|
|
|
|
|
|
| |
instead of the first available, like Win95 does. This appears to help
on some machines, and avoids potential problems with built-in serial
ports which tend to live at IRQ 3, which is usually picked with the
old method.
Notes:
svn path=/head/; revision=30141
|
|
|
|
| |
Notes:
svn path=/head/; revision=29681
|
|
|
|
| |
Notes:
svn path=/head/; revision=29368
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(pt. unused) for TI PCI1130.
2. pccard.c: PCIC_RESUME_RESET is now (also) a sysctl. (Never make it
a #ifdef if it can be made a sysctl!)
3. pcic.c: make getb() and putb() proper member functions of struct
pcic_slot. Add a couple of missing casts.
Notes:
svn path=/head/; revision=25040
|
|
|
|
|
|
|
|
|
|
|
| |
being used without ever being initialized. From examining
the rest of the routine, it looks like this is a typo,
and it really should have been "1" instead of "i".
Submitted by: mpp
Notes:
svn path=/head/; revision=22570
|
|
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=21668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Assuming that the intr_mask[] was updated by changing the maskptrs (the
existing update_intr_masks() function will not work) this code was
written so the PCIC controller insertion/removal events will not
interrupt the card IRQ handler events.
Some possible scenarios:
+ Card is removed during IRQ handler:
- PCIC card handler is allowed to interrupt
- card removal event is called, removing the driver and data structures
* card interrupt handler continues w/out driver, data structures, and hardware
OR (the code just committed)
* card IRQ handler has no hardware to read/write to, but has code and
data to run on (XXX- Assume it completes and doesn't spin forever)
- PCIC card handler unloads the card driver
The current situation at least leaves the card interrupt handlers the
drivers and data structures to work with although the hardware can't be
guaranteed.
Reviewed by: bde
Notes:
svn path=/head/; revision=21543
|
|
|
|
| |
Notes:
svn path=/head/; revision=21542
|
|
|
|
|
|
|
|
|
| |
- Cleaned up VLSI-PCIC work-around code
Submitted by: nate & the Nomads
Notes:
svn path=/head/; revision=21411
|
|
|
|
|
|
|
| |
have imported.
Notes:
svn path=/head/; revision=18106
|
|
|
|
|
|
|
|
|
| |
autoconf.c by merging icu.h. Fix a couple of typos.
Submitted by: The FreeBSD(98) Development Team.
Notes:
svn path=/head/; revision=18095
|
|
|
|
| |
Notes:
svn path=/head/; revision=18084
|
|
|
|
|
|
|
|
| |
some declarations are moved from <machine/cpufunc.h> to better
places.
Notes:
svn path=/head/; revision=16733
|
|
|
|
| |
Notes:
svn path=/head/; revision=16364
|
|
|
|
|
|
|
|
|
|
|
| |
All new code is "#ifdef PC98"ed so this should make no difference to
PC/AT (and its clones) users.
Ok'd by: core
Submitted by: FreeBSD(98) development team
Notes:
svn path=/head/; revision=16363
|
|
|
|
|
|
|
| |
style more consistant with KNF and the Nomad release.
Notes:
svn path=/head/; revision=16131
|
|
|
|
|
|
|
|
|
|
|
|
| |
in place device drivers can now register power-down/power-up routines so
that we can use common routines to power-up/power-down cards for
insert/removals, suspend/resume, etc..
Reviewed by: phk
Submitted by: the 'Nomads'
Notes:
svn path=/head/; revision=15360
|
|
|
|
| |
Notes:
svn path=/head/; revision=15119
|
|
|
|
|
|
|
|
|
|
|
| |
#include <i386/include/clock.h> to get sysbeep() prototype
pcic.c:
add appropriate #ifdef around a prototype to quiet GCC because
fn decl. is also #ifdef'd.
Notes:
svn path=/head/; revision=15067
|
|
|
|
| |
Notes:
svn path=/head/; revision=14174
|