#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
201223 |
|
29-Dec-2009 |
rnoland |
Update d_mmap() to accept vm_ooffset_t and vm_memattr_t.
This replaces d_mmap() with the d_mmap2() implementation and also changes the type of offset to vm_ooffset_t.
Purge d_mmap2().
All driver modules will need to be rebuilt since D_VERSION is also bumped.
Reviewed by: jhb@ MFC after: Not in this lifetime...
|
#
183397 |
|
27-Sep-2008 |
ed |
Replace all calls to minor() with dev2unit().
After I removed all the unit2minor()/minor2unit() calls from the kernel yesterday, I realised calling minor() everywhere is quite confusing. Character devices now only have the ability to store a unit number, not a minor number. Remove the confusion by using dev2unit() everywhere.
This commit could also be considered as a bug fix. A lot of drivers call minor(), while they should actually be calling dev2unit(). In -CURRENT this isn't a problem, but it turns out we never had any problem reports related to that issue in the past. I suspect not many people connect more than 256 pieces of the same hardware.
Reviewed by: kib
|
#
174985 |
|
29-Dec-2007 |
wkoszek |
Replace explicit calls to video methods with their respective variants implemented with macros. This patch improves code readability. Reasoning behind vidd_* is a sort of "video discipline".
List of macros is supposed to be complete--all methods of video_switch ought to have their respective macros from now on.
Functionally, this code should be no-op. My intention is to leave current behaviour of touched code as is.
No objections: rwatson Silence on: freebsd-current@ Approved by: cognet
|
#
153165 |
|
06-Dec-2005 |
ru |
Fix -Wundef warnings from compiling GENERIC and LINT kernels of all architectures.
|
#
150127 |
|
14-Sep-2005 |
nyan |
Remove EPSON PC-386 note A/W/AE/WR support.
|
#
146049 |
|
10-May-2005 |
nyan |
Change a directory layout for pc98. - Move MD files into <arch>/<arch>. - Move bus dependent files into <arch>/<bus>. Rename some files to more suitable names.
Repo-copied by: peter Discussed with: imp
|
#
142716 |
|
27-Feb-2005 |
phk |
Use dynamic major number allocation.
|
#
139946 |
|
09-Jan-2005 |
imp |
In my last commit, I'd assumed that LINE30 was always defined. It turns out that LINE30_ROW was always defined, not LINE30. I confused this for LINE30 and did the unifdef -DLINE30 using that mistaken belief. This corrects that problem.
Submitted by: nyan-san
|
#
139916 |
|
08-Jan-2005 |
imp |
LINE30 is always defined now, so unifdef -DLINE30 for clarity.
|
#
139825 |
|
07-Jan-2005 |
imp |
/* -> /*- for license, minor formatting changes
|
#
130585 |
|
16-Jun-2004 |
phk |
Do the dreaded s/dev_t/struct cdev */ Bump __FreeBSD_version accordingly.
|
#
130431 |
|
13-Jun-2004 |
imp |
Include vm/vm_param.h to pull in KERNBASE now. This should fix the pc98 tinderbox breakage.
|
#
130174 |
|
07-Jun-2004 |
phk |
Add missing <sys/module.h> includes.
|
#
126080 |
|
21-Feb-2004 |
phk |
Device megapatch 4/6:
Introduce d_version field in struct cdevsw, this must always be initialized to D_VERSION.
Flip sense of D_NOGIANT flag to D_NEEDGIANT, this involves removing four D_NOGIANT flags and adding 145 D_NEEDGIANT flags.
|
#
120472 |
|
26-Sep-2003 |
phk |
Typo in last commit: missing ')'
|
#
120465 |
|
26-Sep-2003 |
phk |
Change fb_attach() and fb_detach() to take a integer unit number rather than a dev_t.
All of the dev_t's passed were bogusly created with makedev()
|
#
117832 |
|
21-Jul-2003 |
nyan |
Supported the gdc_clear function.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
#
112569 |
|
24-Mar-2003 |
jake |
- Add vm_paddr_t, a physical address type. This is required for systems where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long.
Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms.
Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change)
|
#
111815 |
|
03-Mar-2003 |
phk |
Gigacommit to improve device-driver source compatibility between 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)
|
#
111481 |
|
25-Feb-2003 |
mux |
Convert one more d_mmap_t consumer I missed in my previous commit.
|
#
111462 |
|
25-Feb-2003 |
mux |
Cleanup of the d_mmap_t interface.
- Get rid of the useless atop() / pmap_phys_address() detour. The device mmap handlers must now give back the physical address without atop()'ing it. - Don't borrow the physical address of the mapping in the returned int. Now we properly pass a vm_offset_t * and expect it to be filled by the mmap handler when the mapping was successful. The mmap handler must now return 0 when successful, any other value is considered as an error. Previously, returning -1 was the only way to fail. This change thus accidentally fixes some devices which were bogusly returning errno constants which would have been considered as addresses by the device pager. - Garbage collect the poorly named pmap_phys_address() now that it's no longer used. - Convert all the d_mmap_t consumers to the new API.
I'm still not sure wheter we need a __FreeBSD_version bump for this, since and we didn't guarantee API/ABI stability until 5.1-RELEASE.
Discussed with: alc, phk, jake Reviewed by: peter Compile-tested on: LINT (i386), GENERIC (alpha and sparc64) Runtime-tested on: i386
|
#
111311 |
|
23-Feb-2003 |
nyan |
Fix compile error with FB_INSTALL_CDEV option.
|
#
102412 |
|
25-Aug-2002 |
charnier |
Replace various spelling with FALLTHROUGH which is lint()able
|
#
85346 |
|
23-Oct-2001 |
amorita |
Fix compile error of the case using `LINE30' option.
Reviewed by: nyan MFC after: 3 days
|
#
83547 |
|
16-Sep-2001 |
nyan |
Allocate i/o and memory resources using gdc driver.
|
#
74810 |
|
26-Mar-2001 |
phk |
Send the remains (such as I have located) of "block major numbers" to the bit-bucket.
|
#
67788 |
|
28-Oct-2000 |
nyan |
Restore GDC mode to initial mode instead of 24KHz.
Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
|
#
67164 |
|
15-Oct-2000 |
phk |
Remove unneeded #include <machine/clock.h>
|
#
67142 |
|
15-Oct-2000 |
nyan |
Fixed warnings.
|
#
64394 |
|
08-Aug-2000 |
nyan |
Changed default cursor shape to non-blink mode.
Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
|
#
64392 |
|
08-Aug-2000 |
nyan |
Fixed PC-9821 NOTE supports with LINE30 mode.
Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
|
#
63011 |
|
12-Jul-2000 |
nyan |
Backed out a part of previous commit. The function name conflicts.
Pointed out by: haro@tk.kubota.co.jp (Munehiro Matsuda)
|
#
62952 |
|
11-Jul-2000 |
nyan |
Merge from the following changes.
sys/conf/files.i386 1.321 sys/dev/syscons/syscons.c 1.343 sys/i386/isa/spkr.c 1.46 sys/isa/fd.c 1.183 and 1.185 sys/isa/syscons_isa.c 1.14 sys/isa/vga_isa.c 1.18
|
#
59689 |
|
27-Apr-2000 |
nyan |
Supported EGC 640x400, PEGC 640x400 and PEGC 640x480 graphics modes.
Submitted by: Chiharu Shibata <chi@bd.mbn.or.jp> and Tomokazu HARADA <tkhara@osk4.3web.ne.jp>
|
#
58780 |
|
29-Mar-2000 |
nyan |
- Supported display suspended mode. - Switch on/off not only text screen but also graphic screen.
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
#
58779 |
|
29-Mar-2000 |
nyan |
Merge from the following changes.
File Revision sys/conf/files.i386 1.303 and 1.304 sys/dev/kbd/atkbd.c 1.23 sys/dev/syscons/scterm-sc.c 1.2 sys/dev/syscons/scvgarndr.c 1.5 sys/dev/syscons/scvtb.c 1.5 sys/dev/syscons/syscons.c 1.335 sys/isa/syscons_isa.c 1.11 sys/isa/vga_isa.c 1.17
|
#
55391 |
|
04-Jan-2000 |
nyan |
- Fixed warnings. - Removed unnecessary include files.
|
#
54358 |
|
09-Dec-1999 |
kato |
Sync with sys/dev/fb/vga.c rev 1.5.
Submitted by: yokota
|
#
51658 |
|
25-Sep-1999 |
phk |
Remove five now unused fields from struct cdevsw. They should never have been there in the first place. A GENERIC kernel shrinks almost 1k.
Add a slightly different safetybelt under nostop for tty drivers.
Add some missing FreeBSD tags
|
#
51276 |
|
14-Sep-1999 |
nyan |
Gdc and pckbd driver don't support pnp mode.
|
#
51056 |
|
07-Sep-1999 |
kato |
Change isa_get/set_flags() to device_get/set_flags().
Submitted by: dfr
|
#
50477 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
48514 |
|
03-Jul-1999 |
kato |
Moved LCD controle routine for certain models of EPSON laptops into suitable place.
Submitted by: yokota
|
#
48187 |
|
24-Jun-1999 |
kato |
PC98 part of the second phase of syscons reorganization.
Submitted by: yokota
|
#
47625 |
|
30-May-1999 |
phk |
This commit should be a extensive NO-OP:
Reformat and initialize correctly all "struct cdevsw".
Initialize the d_maj and d_bmaj fields.
The d_reset field was not removed, although it is never used.
I used a program to do most of this, so all the files now use the same consistent format. Please keep it that way.
Vinum and i4b not modified, patches emailed to respective authors.
|
#
46760 |
|
09-May-1999 |
kato |
Removed DRIVER_TYPE_TTY field.
|
#
45783 |
|
18-Apr-1999 |
kato |
Sync with follwing files:
Path Revision i386/conf/GENERIC 1.162 i386/conf/Makefile.i386 1.146 i386/conf/files.i386 1.236 i386/conf/options.i386 1.111 i386/i386/machdep.c 1.329 i386/i386/userconfig.c 1.134 i386/isa/fd.c 1.135 i386/isa/if_ed.c 1.151 i386/isa/isa_dam.c 1.1 i386/isa/npx.c 1.67 isa/sio.c 1.224 dev/syscons/syscons.c 1.300 i386/isa/wd.c 1.194 isa/vga_isa.c 1.5 isa/atkbd_isa.c 1.3 isa/syscons_isa.c 1.2
Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>
|
#
44421 |
|
02-Mar-1999 |
kato |
Fix for LINE30 option. This option was not tested under new console driver.
Submitted by: Takahashi Yoshihiro <nyan@dd.catv.ne.jp>
|
#
43709 |
|
06-Feb-1999 |
kato |
Sync with syscons for i386.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
#
43338 |
|
28-Jan-1999 |
kato |
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static and local variables, goto labels, and functions declared but not defined.
|
#
42805 |
|
18-Jan-1999 |
kato |
Added copyright.
Pointed out by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|
#
42803 |
|
18-Jan-1999 |
kato |
Don't forget to initialize va_mode.
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> Forgotten by: kato
|
#
42795 |
|
18-Jan-1999 |
kato |
Switched to new syscons driver.
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp> and Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
|