s3_pci.c (6e551fb6285417f585c419500047004ed47c77f1) s3_pci.c (07159f9c56de91cb7d7bd6b6a795eebfee78133e)
1/*-
2 * Copyright (c) 2000 Alcove - Nicolas Souchu <nsouch@freebsd.org>
3 * All rights reserved.
4 *
5 * Code based on Peter Horton <pdh@colonel-panic.com> patch.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 375 unchanged lines hidden (view full) ---

384
385static int
386s3lfb_blank_display(video_adapter_t *adp, int mode)
387{
388 return (*prevvidsw->blank_display)(adp, mode);
389}
390
391static int
1/*-
2 * Copyright (c) 2000 Alcove - Nicolas Souchu <nsouch@freebsd.org>
3 * All rights reserved.
4 *
5 * Code based on Peter Horton <pdh@colonel-panic.com> patch.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 375 unchanged lines hidden (view full) ---

384
385static int
386s3lfb_blank_display(video_adapter_t *adp, int mode)
387{
388 return (*prevvidsw->blank_display)(adp, mode);
389}
390
391static int
392s3lfb_mmap(video_adapter_t *adp, vm_offset_t offset, int prot)
392s3lfb_mmap(video_adapter_t *adp, vm_offset_t offset, vm_offset_t *paddr,
393 int prot)
393{
394{
394 return (*prevvidsw->mmap)(adp, offset, prot);
395 return (*prevvidsw->mmap)(adp, offset, paddr, prot);
395}
396
397static int
398s3lfb_clear(video_adapter_t *adp)
399{
400 return (*prevvidsw->clear)(adp);
401}
402

--- 165 unchanged lines hidden ---
396}
397
398static int
399s3lfb_clear(video_adapter_t *adp)
400{
401 return (*prevvidsw->clear)(adp);
402}
403

--- 165 unchanged lines hidden ---